Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 3,275 for Test (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        public void test_stackTracePopulated() {
            // Test that stack trace is properly populated
            InvalidAccessTokenException exception = new InvalidAccessTokenException("JWT", "Invalid signature");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            StackTraceElement firstElement = stackTrace[0];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      private fun trailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            super.tearDown();
        }
    
        // Test creator initialization
        public void test_creatorInitialization() {
            assertNotNull(creator);
        }
    
        // Test with different mail configurations
        public void test_mailConfiguration() {
            FessConfig config = ComponentUtil.getFessConfig();
    
            assertEquals("Test Admin", config.getMailFromName());
            assertEquals("test@example.com", config.getMailFromAddress());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        private MsrpcQueryInformationPolicy queryPolicy;
    
        @BeforeEach
        void setUp() {
            // Setup is done through individual test methods
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            short level = 3;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
        }
    
        @Test
        void testConstructor_zeroValue() {
            // Test with zero value
            NdrSmall ndrSmall = new NdrSmall(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Test class for srvsvc.java classes
     */
    class srvsvcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

        public void test_Options_toString() {
            // Test Options toString method
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class UnicodeStringTest {
    
        @Test
        void testConstructorWithZterm() {
            // Test with zterm = true
            UnicodeString unicodeStringTrue = new UnicodeString(true);
            assertTrue(unicodeStringTrue.zterm, "zterm should be true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top