Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 3,662 for Void (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testConcurrentAutoIncrementStep() throws Exception {
        int incrementByNanos = 3;
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
         * Test constructor with a malformed token (not ASN.1).
         */
        @Test
        void testConstructorWithMalformedToken() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_getArtifactFromFileName1() {
            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.DATA_STORE, "fess-ds-atlassian-13.2.0.jar");
            assertEquals("fess-ds-atlassian", artifact.getName());
            assertEquals("13.2.0", artifact.getVersion());
        }
    
        public void test_getArtifactFromFileName2() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                .createTestSuite());
    
        return suite;
      }
    
      // Creation tests
    
      public void testEmptyBuilder() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder().build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testSingletonBuilder() {
        ImmutableSortedMap<String, Integer> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals("(4..8)", range.toString());
        reserializeAndAssert(range);
      }
    
      public void testOpen_invalid() {
        assertThrows(IllegalArgumentException.class, () -> Range.open(4, 3));
        assertThrows(IllegalArgumentException.class, () -> Range.open(3, 3));
      }
    
      public void testClosed() {
        Range<Integer> range = Range.closed(5, 7);
        checkContains(range);
        assertTrue(range.hasLowerBound());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            }
          }
        }
    
        public void testRemove() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        private long testSessionId;
    
        @BeforeEach
        void setUp() {
            transformHeader = new Smb2TransformHeader();
            testNonce = new byte[16];
            new SecureRandom().nextBytes(testNonce);
            testSessionId = 0x123456789ABCDEF0L;
        }
    
        @Test
        @DisplayName("Should create transform header with correct size")
        void testTransformHeaderSize() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingTest.java

    @NullUnmarked
    public class HashingTest extends TestCase {
      public void testMd5() {
        HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.md5());
        HashTestUtils.checkNoFunnels(Hashing.md5());
        HashTestUtils.assertInvariants(Hashing.md5());
        assertEquals("Hashing.md5()", Hashing.md5().toString());
      }
    
      public void testSha1() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            tempDir.deleteOnExit();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up temporary files
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(File dir) {
            File[] files = dir.listFiles();
            if (files != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static final String TEST_PIPE_NAME = "\\PIPE\\testpipe";
        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top