Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 4,151 for text (0.13 sec)

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

            }
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly set
            PluginException exception = new PluginException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            }
        }
    
        public void test_register() {
            // Test that register method properly registers the command with QueryProcessor
            BoostQueryCommand newCommand = new BoostQueryCommand();
            newCommand.register();
    
            // Create a test BoostQuery to verify registration
            Term term = new Term("test", "register");
            TermQuery termQuery = new TermQuery(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    
    class PunycodeTest {
      /** https://datatracker.ietf.org/doc/html/rfc3492#section-7.1 */
      @Test fun rfc3492Samples() {
        // (A) Arabic (Egyptian)
        testEncodeDecode(
          unicode = "ليهمابتكلموشعربي؟",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlExceptionTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.Test;
    
    /**
     * Test class for CurlException.
     * Tests exception creation, message handling, and cause propagation.
     */
    public class CurlExceptionTest {
    
        @Test
        public void testConstructorWithMessage() {
            String message = "Test error message";
            CurlException exception = new CurlException(message);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DfsResolverTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        // Test for isTrustedDomain method
        @Test
        void testIsTrustedDomain_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        @Test
        void testIsTrustedDomain_NoUserDomain() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      }
    
      @Test
      fun portImplicitlyStarts() {
        assertThat(server.port).isGreaterThan(0)
      }
    
      @Test
      fun hostnameImplicitlyStarts() {
        assertThat(server.hostName).isNotNull()
      }
    
      @Test
      fun toProxyAddressImplicitlyStarts() {
        assertThat(server.toProxyAddress()).isNotNull()
      }
    
      @Test
      fun differentInstancesGetDifferentPorts() {
        val other = MockWebServer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			if test.fault == MissingUploadID {
    				uploadID = "upload1"
    			}
    			// constructing a v4 signed HTTP request.
    			reqV4, err = newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, test.objectName, uploadID, test.partNumber),
    				int64(len(test.content)), bytes.NewReader([]byte(test.content)), test.accessKey, test.secretKey, nil)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. 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)
Back to top