Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 4,822 for Void (0.18 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    @GwtIncompatible
    @J2ktIncompatible
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertThat(getChecked(immediateFuture("foo"), TwoArgConstructorException.class))
            .isEqualTo("foo");
      }
    
      public void testGetCheckedUntimed_interrupted() {
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    @GwtIncompatible
    @J2ktIncompatible
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertThat(getChecked(immediateFuture("foo"), TwoArgConstructorException.class))
            .isEqualTo("foo");
      }
    
      public void testGetCheckedUntimed_interrupted() {
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java

        }
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectDiscoveryStarted(event);
        }
    
        @Override
        public void sessionStarted(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.sessionStarted(event);
        }
    
        @Override
        public void sessionEnded(ExecutionEvent event) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        getDone(allAsList(results));
      }
    
      public void testAvoidsStackOverflow_manyCancelled() throws Exception {
        SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
        ListenableFuture<@Nullable Void> unused =
            serializer.submitAsync(() -> settableFuture, directExecutor());
        for (int i = 0; i < 50_000; i++) {
          serializer.submit(Callables.<Void>returning(null), directExecutor()).cancel(true);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (int x : NEGATIVE_INTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
        assertThrows(IllegalArgumentException.class, () -> IntMath.ceilingPowerOfTwo(0));
      }
    
      public void testFloorPowerOfTwoZero() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/net/MediaTypeTest.java

                  }
                });
      }
    
      public void testCreate_invalidType() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.create("te><t", "plaintext"));
      }
    
      public void testCreate_invalidSubtype() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.create("text", "pl@intext"));
      }
    
      public void testCreate_wildcardTypeDeclaredSubtype() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        private AuthenticationManager authenticationManager;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
            AuthenticationManager manager = new AuthenticationManager();
            assertNotNull(manager);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
        assertEquals(Double.doubleToRawLongBits(x), Double.doubleToRawLongBits(y));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

    @ExtendWith(MockitoExtension.class)
    public class SmbTreeHandleInternalTest {
    
        @Mock
        private SmbTreeHandleInternal handle;
    
        @Test
        @DisplayName("release(): verifies it is invoked exactly once")
        void release_invokedOnce() throws Exception {
            // Arrange: no setup needed; we verify interaction only
    
            // Act: call release
            handle.release();
    
            // Assert: verify one invocation and no more
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top