Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,907 for xtest (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    
    /**
     * Basic unit tests for {@link SmbConstants}.  The interface only
     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
     * request for an interaction test.  The mock represents a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token)
    		}
    		if startAfter != testCase.startAfter {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. okhttp-osgi-tests/build.gradle.kts

      testImplementation(libs.junit)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.assertk)
    
      testImplementation(libs.aqute.resolve)
    }
    
    normalization {
      runtimeClasspath {
        /*
           - The below two ignored files are generated during test execution
           by the test: okhttp/src/test/java/okhttp3/osgi/OsgiTest.java
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private static final String TEST_FILENAME = "test/file.txt";
        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testCustomFailureDetection() throws CIFSException {
            // Create a fresh circuit breaker for this test to avoid state pollution
            SmbCircuitBreaker customCb = new SmbCircuitBreaker("custom-test", 3, 2, 1000, 3);
    
            try {
                // Test that without custom predicate, all failures count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test process with available generator
        public void test_process_availableGenerator() throws IOException {
            // Skip this test as it requires container components
            // The process method needs actual ThumbnailQueueBhv and other components
            assertTrue(true);
        }
    
        // Test process with unavailable generator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        }
    
        // Test destroyContainer private static method via reflection
        public void test_destroyContainer() throws Exception {
            // Test destroyContainer method - skip this test as it conflicts with container management
            // The test framework manages the container lifecycle
            assertTrue(true);
        }
    
        // Test process method with different options
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            // Test with null
            result = crawlJob.webConfigIds(null);
            assertNull(crawlJob.webConfigIds);
            assertSame(crawlJob, result);
    
            // Test with empty array
            result = crawlJob.webConfigIds(new String[0]);
            assertEquals(0, crawlJob.webConfigIds.length);
            assertSame(crawlJob, result);
        }
    
        // Test fileConfigIds setter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top