Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 1,040 for verifyCn (0.1 seconds)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.propertiesPath = propFile.getAbsolutePath();
    
            // Verify the properties path is set
            assertEquals(propFile.getAbsolutePath(), options.propertiesPath);
            assertTrue(new File(options.propertiesPath).exists());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          Map<Integer, Integer> model = new HashMap<>();
          putModel(model, range, 1);
          RangeMap<Integer, Integer> test = TreeRangeMap.create();
          test.put(range, 1);
          verify(model, test);
        }
      }
    
      public void testAllRangePairs() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            Map<Integer, Integer> model = new HashMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/NetbiosAddressTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.netbios.NbtAddress;
    
    /**
     * Tests for NetbiosAddress interface and NbtAddress implementation.
     * This test focuses on verifying constants and basic functionality.
     */
    @ExtendWith(MockitoExtension.class)
    class NetbiosAddressTest {
    
        @Test
        void testConstantValues() {
            // Test that constants are properly defined
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, SECONDS));
      }
    
      public void testExecute_idempotent() {
        AtomicInteger runCalled = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                    }
    
                    startLatch.countDown(); // Start all threads simultaneously
                    assertTrue("Concurrent registration timed out", endLatch.await(10, TimeUnit.SECONDS));
    
                    // Verify all searchers were registered (1 initial + numThreads * searchersPerThread)
                    assertEquals(numThreads * searchersPerThread, registeredCount.get());
    
                } finally {
                    executor.shutdown();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertNotNull(result);
    
            // Verify the result contains expected components
            assertTrue(result.startsWith("SmbComDelete["));
            assertTrue(result.contains("searchAttributes=0x"));
            assertTrue(result.contains("fileName=" + TEST_FILE_NAME));
    
            // Get private searchAttributes field to verify the hex value
            int searchAttributes = getSearchAttributes(smbComDelete);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                if (is == null) {
                    throw new IllegalStateException("The super POM " + resource + " was not found"
                            + ", please verify the integrity of your Maven installation");
                }
    
                try {
                    Map<String, Object> options = new HashMap<>();
                    options.put("xml:4.0.0", "xml:4.0.0");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            SmbComClose close = new SmbComClose(1, 12345L);
            assertEquals(SMB_COM_CLOSE, close.command, "command should be SMB_COM_CLOSE after construction");
        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
         * encoded as four 0xFF bytes by {@code writeUTime}.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        @BeforeEach
        void setUp() {
            buffer = new byte[1024]; // Initialize with a reasonable size
            ndrBuffer = new NdrBuffer(buffer, 0);
        }
    
        @Test
        void testConstructor() {
            // Verify initial state
            assertEquals(0, ndrBuffer.start);
            assertEquals(0, ndrBuffer.index);
            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("Connection Pool Performance: %d ops in %.2f ms (%.2f ms avg per thread)%n", successCount.get(), overallTimeMs,
                    avgThreadTimeMs);
    
            // Verify performance improvements
            assertTrue(exceptions.isEmpty(), "No exceptions should occur during concurrent access");
            assertEquals(threadCount * operationsPerThread, successCount.get());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top