- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 4,822 for Void (0.03 seconds)
-
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} @Override protected final void setUp() throws Exception { boolean fair = new Random().nextBoolean(); monitor = new Monitor(fair); tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1")); tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2")); } @Override protected final void tearDown() { tearDownStack.runTearDown(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
suite.addTestSuite(ResourcesTest.class); return suite; } public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
// Test case for the constructor of SmbTreeImpl @Test void testSmbTreeImplConstructor() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertNotNull(tree); assertEquals("SHARE", tree.getShare()); assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
public class CrawlingInfoHelperTest extends UnitFessTestCase { private CrawlingInfoHelper crawlingInfoHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); crawlingInfoHelper = new CrawlingInfoHelper(); } @Test public void test_generateId() { final Map<String, Object> dataMap = new HashMap<String, Object>(); dataMap.put("url", "http://example.com/");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
@SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Shorts.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(Shorts.class); } public void testStringConverter_convert() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
public class ExecutionListBenchmark { private static final int NUM_THREADS = 10; // make a param? // simple interface to wrap our two implementations. interface ExecutionListWrapper { void add(Runnable runnable, Executor executor); void execute(); /** Returns the underlying implementation, useful for the Footprint benchmark. */ Object getImpl(); } enum Impl { NEW { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
} @Override public void stopNow() { } @Override public void reschedule(final String cronExp, final org.lastaflute.job.subsidiary.VaryingCronOpCall opLambda) { } @Override public void unschedule() { } @Override public void disappear() { } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
@Before public void setUp() { testConverter = new TestReadingConverter(); converter = testConverter; } @Test public void testGetMaxReadingNum() { // Test default max reading num assertEquals(10, converter.getMaxReadingNum()); } @Test public void testInitNormal() throws IOException { // Test normal initializationCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} // Creation tests public void testEmptyBuilder() { ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build(); assertEquals(Collections.<String, Integer>emptyMap(), map); assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); assertThat(map).isSameInstanceAs(ImmutableBiMap.of()); } public void testSingletonBuilder() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
.createTestSuite()); suite.addTestSuite(ImmutableListMultimapTest.class); return suite; } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1)); } public void testBuilderWithExpectedKeysZero() { ImmutableListMultimap.Builder<String, String> builder =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0)