Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 3,275 for Test (0.04 sec)

  1. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            super.setUp();
            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        public void test_constructor() {
            AuthenticationManager manager = new AuthenticationManager();
            assertNotNull(manager);
        }
    
        // Test insert with no chains
        public void test_insert_noChains() {
            User user = createTestUser("testuser");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        @BeforeEach
        void setUp() {
            // Initialize test file IDs
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
    
            emptyFileId = new byte[16];
            Arrays.fill(emptyFileId, (byte) 0);
    
            unspecifiedFileId = Smb2Constants.UNSPECIFIED_FILEID;
    
            testOutputBuffer = new byte[1024];
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
        // Test each documented HTTP/1.1 code, plus the first unused value in each range.
        // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    
        // We can't test 100 because it's not really a response.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacTest.java

            }
        }
    
        @Test
        void testEmptyPac() {
            // Test that PAC with size <= 8 is rejected
            byte[] emptyData = new byte[8];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys));
            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryParseExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with ParseException cause
            ParseException parseException = new ParseException("Test parse error");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertNotNull(queryParseException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertTrue(c2.compareTo(c1) > 0, "expected " + v2 + " > " + v1);
        }
    
        @Test
        void testVersionsQualifier() {
            checkVersionsOrder(VERSIONS_QUALIFIER);
        }
    
        @Test
        void testVersionsNumber() {
            checkVersionsOrder(VERSIONS_NUMBER);
        }
    
        @Test
        void testVersionsEqual() {
            newComparable("1.0-alpha");
            checkVersionsEqual("1", "1");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            StorageException exception = new StorageException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/DfsReferralDataTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for DfsReferralData interface functionality
     */
    @DisplayName("DfsReferralData Interface Tests")
    class DfsReferralDataTest extends BaseTest {
    
        @Mock
        private DfsReferralData mockReferralData;
    
        @Test
        @DisplayName("Should define interface methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        assertThat(client.pingIntervalMillis).isEqualTo(0)
        assertThat(client.webSocketCloseTimeout).isEqualTo(60_000)
      }
    
      @Test fun webSocketDefaults() {
        val client = clientTestRule.newClient()
        assertThat(client.minWebSocketMessageToCompress).isEqualTo(1024)
      }
    
      @Test fun timeoutValidRange() {
        val builder = OkHttpClient.Builder()
        try {
          builder.callTimeout(Duration.ofNanos(1))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly set
            DictionaryException exception = new DictionaryException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top