Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 3,016 for jest (0.07 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

    import org.bouncycastle.asn1.DLSequence;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link ASN1Util} class.
     */
    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            super.tearDown();
        }
    
        // Test provider initialization
        public void test_providerInitialization() {
            assertNotNull(cookieResourceProvider);
        }
    
        // Test default path
        public void test_provideDefaultPath() {
            String defaultPath = cookieResourceProvider.provideDefaultPath();
            assertEquals("/test/path", defaultPath);
        }
    
        // Test default expire
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

    package org.apache.maven.building;
    
    import org.apache.maven.building.Problem.Severity;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    class DefaultProblemTest {
    
        @Test
        void testGetSeverity() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            }
        }
    
        // Test constructor
        public void test_constructor() {
            CorsHandler handler = new CorsHandler() {
                @Override
                public void process(String origin, ServletRequest request, ServletResponse response) {
                    // Test implementation
                }
            };
            assertNotNull(handler);
        }
    
        // Test process method with null origin
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Mixed content array
            assertEquals(84L, MemoryUtil.sizeOf(new Object[] { "test", 123, null }));
    
            // Nested arrays
            assertEquals(120L, MemoryUtil.sizeOf(new Object[] { new String[] { "test" }, new String[] { "test" } }));
        }
    
        public void test_sizeOf_collectionVariations() {
            // Empty collection
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            }
        }
    
        @Test
        void testConstructorWithUnrecognizedField() throws IOException, GeneralSecurityException {
            // Test with an unrecognized field in the ticket
            // Note: In the actual implementation, field 99 would come after mandatory fields,
            // so decryption happens first. We test with a mocked successful decryption.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

    /**
     * Test class for CrawlerSystemException.
     * Tests all constructors and exception functionality including message, cause, suppression, and stack trace.
     */
    public class CrawlerSystemExceptionTest extends PlainTestCase {
    
        /**
         * Test constructor with message only
         */
        public void test_constructor_withMessage() {
            String message = "Test error message";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

            assertTrue(ctx.isPreferredMech(oid));
        }
    
        @Test
        @DisplayName("isSupported returns false for null/unknown OIDs")
        void isSupported_unknownOrNull() {
            assertFalse(ctx.isSupported(null));
            assertFalse(ctx.isPreferredMech(null));
            assertFalse(ctx.isSupported(new ASN1ObjectIdentifier("1.3.6.1.4.1.99999")));
        }
    
        @Test
        @DisplayName("getSupportedMechs returns expected array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top