- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 322 for getNames (0.04 sec)
-
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(set.size() > 0, is(true)); assertThat(set.contains(DummyTest.class.getName()), is(true)); assertThat(set.contains(TraverserUtilTest.class.getName()), is(true)); assertThat(set.contains(TestCase.class.getName()), is(not(true))); } /** * @throws Exception */ @Test public void testFromClass_JarFile() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
checkThreadPoolName(thread3, 1); assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-'))) .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-'))); } private static void checkThreadPoolName(Thread thread, int threadId) { assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$"); } public void testNameFormatWithPercentS_custom() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
checkThreadPoolName(thread3, 1); assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-'))) .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-'))); } private static void checkThreadPoolName(Thread thread, int threadId) { assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$"); } public void testNameFormatWithPercentS_custom() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
when(mockNetbiosName.getName()).thenReturn(upperCase); assertEquals(upperCase, mockNetbiosName.getName()); when(mockNetbiosName.getName()).thenReturn(lowerCase); assertEquals(lowerCase, mockNetbiosName.getName()); when(mockNetbiosName.getName()).thenReturn(mixedCase); assertEquals(mixedCase, mockNetbiosName.getName()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); } else if (message.isEmpty()) { // Throwable.toString prints class + ": " (with space) even for empty string assertEquals(SMBProtocolDowngradeException.class.getName() + ": ", ex.toString()); } else { assertEquals(SMBProtocolDowngradeException.class.getName() + ": " + message, ex.toString()); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
String oldName = Thread.currentThread().getName(); Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable = new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { assertEquals(Thread.currentThread().getName(), newName.get()); return null; } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
assertEquals(longName, param.getName()); assertNotNull(param.getValues()); assertEquals(1, param.getValues().length); assertEquals(longValue, param.getValues()[0]); } public void test_getName() { // Test getName method explicitly String name = "getName"; String[] values = { "test" };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName()); for (Method method : AbstractFutureTest.class.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) { suite.addTest( TestSuite.createTest(AbstractFutureFallbackAtomicHelperTest.class, method.getName())); } } return suite; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
Method[] methods = SystemMonitorTarget.class.getDeclaredMethods(); for (Method method : methods) { if (method.getName().startsWith("append") && !method.getName().equals("append")) { assertTrue("Private append methods should be private: " + method.getName(), java.lang.reflect.Modifier.isPrivate(method.getModifiers())); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
return res.getName().startsWith("keep"); }); ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), filter); // Returns only accepted resources assertTrue(it.hasNext()); assertEquals("keep1/", it.next().getName()); assertTrue(it.hasNext()); assertEquals("keep2/", it.next().getName()); assertFalse(it.hasNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)