Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 3,662 for Void (0.02 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      @GwtIncompatible // java.util.BitSet
      private void doTestSetBits(CharMatcher matcher) {
        BitSet bitset = new BitSet();
        matcher.setBits(bitset);
        for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) {
          assertEquals(matcher.matches((char) i), bitset.get(i));
        }
      }
    
      public void testEmpty() throws Exception {
        doTestEmpty(CharMatcher.any());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrancy_noDeadlock() {
        lockA.lock();
        lockB.lock();
        lockA.lock(); // Should not assert on lockB -> reentrant(lockA)
      }
    
      public void testExplicitOrdering_noViolations() {
        lock1.lock();
        lock3.lock();
        lock3.unlock();
        lock2.lock();
        lock3.lock();
      }
    
      public void testExplicitOrdering_violations() {
        lock3.lock();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrancy_noDeadlock() {
        lockA.lock();
        lockB.lock();
        lockA.lock(); // Should not assert on lockB -> reentrant(lockA)
      }
    
      public void testExplicitOrdering_noViolations() {
        lock1.lock();
        lock3.lock();
        lock3.unlock();
        lock2.lock();
        lock3.lock();
      }
    
      public void testExplicitOrdering_violations() {
        lock3.lock();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testHashCode() {
        assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode());
        assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode());
      }
    
      public void testTrueFirst() {
        assertThat(Booleans.trueFirst().compare(true, true)).isEqualTo(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
        bus.post(EVENT);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbSessionTest.java

            @DisplayName("Should implement AutoCloseable interface")
            void shouldImplementAutoCloseable() {
                assertTrue(AutoCloseable.class.isAssignableFrom(SmbSession.class), "SmbSession should implement AutoCloseable interface");
            }
    
            @Test
            @DisplayName("Should define close method that overrides AutoCloseable")
            void shouldDefineCloseMethod() throws Exception {
                assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
        private byte[] preauthIntegrity;
    
        @BeforeEach
        void setUp() {
            // Initialize test keys
            sessionKey = new byte[16]; // 128-bit session key
            preauthIntegrity = new byte[64]; // Preauth integrity hash
            new SecureRandom().nextBytes(sessionKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsScheduledJob.java

            return available;
        }
    
        public void setAvailable(Boolean value) {
            registerModifiedProperty("available");
            this.available = value;
        }
    
        public Boolean getCrawler() {
            checkSpecifiedProperty("crawler");
            return crawler;
        }
    
        public void setCrawler(Boolean value) {
            registerModifiedProperty("crawler");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/https/HandlerTest.java

    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
            void testDefaultConstructor() {
                // When
                Handler testHandler = new Handler();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        assertTrue(in.closed());
      }
    
      public void testCloseQuietly_readerWithEatenException() throws IOException {
        TestReader in = new TestReader(TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseNull() throws IOException {
        Closeables.close(null, true);
        Closeables.close(null, false);
      }
    
      public void testCloseQuietlyNull_inputStream() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top