- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for testUser (0.15 sec)
-
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
return OptionalThing.of(new FessUserBean(new TestUser(name, permissions))); } static class TestUser implements FessUser { private static final long serialVersionUID = 1L; private String name; private String[] permissions; TestUser(String name, String[] permissions) { this.name = name;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
server.start(); return server; } public void test_doGet_root_dir() throws FtpException { FtpServer server = null; try { String username = "testuser"; String password = "testpass"; server = startFtpServer(FTP_PORT, username, password); Map<String, Object> params = new HashMap<String, Object>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
public void test_matches() throws Exception { FtpAuthentication auth = new FtpAuthentication(); auth.setServer("hostname"); auth.setPort(21); auth.setUsername("testuser"); auth.setPassword("testpass"); assertTrue(auth.matches("ftp://hostname:21/test/aaa.html")); assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
} public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE); tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none // The reason that we skip this method is discussed in a comment on the method. tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
@Require @NotTesterAnnotation class Tester {} assertThat(getTesterAnnotations(Tester.class)) .containsExactly(Tester.class.getAnnotation(Require.class)); } public void testGetTesterAnnotations_method() throws Exception { class Tester { @Require @NotTesterAnnotation public void test() {} } Method method = Tester.class.getMethod("test");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
super.verify(elements); } } public void testVerifyGetsCalled() { TesterThatCountsCalls tester = new TesterThatCountsCalls(); tester.test(); assertEquals( "Should have verified once per stimulus executed", tester.numCallsToVerify, tester.numCallsToNewTargetIterator * STEPS); } public void testVerifyCanThrowAssertionThatFailsTest() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} return requirements; } /** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
tests/test_params_repr.py
from dirty_equals import IsOneOf from fastapi.params import Body, Cookie, Depends, Header, Param, Path, Query test_data: List[Any] = ["teststr", None, ..., 1, []] def get_user(): return {} # pragma: no cover def test_param_repr_str(): assert repr(Param("teststr")) == "Param(teststr)" def test_param_repr_none(): assert repr(Param(None)) == "Param(None)" def test_param_repr_ellipsis():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testNullEqualityGroup() { EqualsTester tester = new EqualsTester(); assertThrows(NullPointerException.class, () -> tester.addEqualityGroup((Object[]) null)); } public void testNullObjectInEqualityGroup() { EqualsTester tester = new EqualsTester(); NullPointerException e = assertThrows(NullPointerException.class, () -> tester.addEqualityGroup(1, null, 3));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
public class SettableFutureTest extends TestCase { private SettableFuture<String> future; private ListenableFutureTester tester; @Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0)