Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 905 for properly (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertSame(firstCall, secondCall);
            assertEquals(type, firstCall);
        }
    
        @Test
        public void test_inheritanceFromFessSystemException() {
            // Test that InvalidAccessTokenException is properly inherited from FessSystemException
            String type = "SessionToken";
            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that the cause is properly set and retrievable
            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertNotNull(crawlerEngineClient);
        }
    
        // Test inheritance
        @Test
        public void test_inheritance() {
            // Test that CrawlerEngineClient is properly inherited
            assertTrue(crawlerEngineClient instanceof org.codelibs.fess.crawler.client.FesenClient);
        }
    
        // Test multiple instances
        @Test
        public void test_multipleInstances() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals(0, closeMethod.getParameterCount());
                    assertEquals(void.class, closeMethod.getReturnType());
                }, "close() method should be properly defined");
            }
    
            @Test
            @DisplayName("Should allow close method to be called multiple times")
            void shouldAllowMultipleCloseCallsOnMock() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

            // that the option is properly configured by checking if it parses
            String[] pluginsArgs = {"apply", "--plugins"};
            CommonsCliUpgradeOptions pluginsOptions = CommonsCliUpgradeOptions.parse(pluginsArgs);
    
            assertTrue(pluginsOptions.plugins().isPresent(), "Plugins option should be properly configured");
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertEquals("Resource not found: non/existent/resource.json", e.getMessage());
                // Test passes - exception was thrown as expected
            }
        }
    
        /**
         * Test that resource content is properly read using readAllBytes.
         * Verifies that the new implementation correctly reads entire resource content.
         */
        @Test
        public void testResourceReading_readAllBytesCorrectness() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            });
        }
    
        @Test
        void testInheritedFields() throws Exception {
            // Verify inherited fields are properly set
            assertEquals(0x10, msrpcShareGetInfo.getOpnum());
    
            // Test that the info field is properly initialized
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(rootCause, topException.getCause().getCause());
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
            SsoProcessException exception1 = new SsoProcessException("Test");
            SsoProcessException exception2 = new SsoProcessException("Test");
    
            // Both instances should be of the same class
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test that the exception can be thrown and caught properly
            ServletException originalException = new ServletException("Throw test");
    
            try {
                throw new ServletRuntimeException(originalException);
            } catch (ServletRuntimeException caught) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
            buf.enc_ndr_small(5); // RPC version
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top