- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 4,121 for Void (1.12 sec)
-
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
* * @author Eric Chang */ public class TestingExecutorsTest extends TestCase { private volatile boolean taskDone; public void testNoOpScheduledExecutor() throws InterruptedException { taskDone = false; Runnable task = new Runnable() { @Override public void run() { taskDone = true; } }; ScheduledFuture<?> future =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ public class TimestampConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
@Override public void execute(Runnable command) {} }; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* #monitor}. */ private void dispatchListenerEvents() { if (!monitor.isOccupiedByCurrentThread()) { listeners.dispatch(); } } private void enqueueStartingEvent() { listeners.enqueue(STARTING_EVENT); } private void enqueueRunningEvent() { listeners.enqueue(RUNNING_EVENT); } private void enqueueStoppingEvent(State from) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} public void testEmpty_tailSet() { SortedSet<String> set = of(); assertSame(set, set.tailSet("f")); } public void testEmpty_subSet() { SortedSet<String> set = of(); assertSame(set, set.subSet("c", "f")); } public void testEmpty_first() { SortedSet<String> set = of(); assertThrows(NoSuchElementException.class, () -> set.first()); } public void testEmpty_last() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
Duration.ofMinutes(1) // cleanup interval ); } @AfterEach public void tearDown() { if (rateLimiter != null) { rateLimiter.close(); } } @Test public void testNormalAuthentication() throws Exception { // Normal authentication should be allowed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
public class netdfsTest { private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { mockNdrBuffer = mock(NdrBuffer.class); } @Test void testGetSyntax() { assertEquals("4fc742e0-4a10-11cf-8273-00aa004ae673:3.0", netdfs.getSyntax()); } @Test void testDfsInfo1_EncodeDecode() throws NdrException { netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Override public void setCommand(int command) { this.command = command; } @Override public void setUid(int uid) { // Implementation } @Override public void setExtendedSecurity(boolean extendedSecurity) { // ImplementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0)