Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 157 for Complex (0.05 sec)

  1. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            manager.process(request, response, chain);
    
            assertEquals(201, response.getStatus());
            assertEquals("application/json", response.getHeader("Content-Type"));
            assertEquals("Complex response", response.getWrittenContent());
            assertTrue(chain.wasDoFilterCalled());
        }
    
        // Test implementation classes
    
        private static class TestWebApiManager implements WebApiManager {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Verify overwrite
                assertEquals(concreteImplementation, cacheMap.get(key));
                assertNotEquals(oldEntry, cacheMap.get(key));
            }
        }
    
        @Nested
        @DisplayName("Complex Scenarios Tests")
        class ComplexScenariosTests {
    
            @Test
            @DisplayName("Should handle multiple fixup operations")
            void testMultipleFixupOperations() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
            keys.put(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, kdcKey);
    
            // Mock Pac construction to bypass complex validation
            try (MockedConstruction<Pac> pacMock = Mockito.mockConstruction(Pac.class, (mock, context) -> {
                // Setup mock behavior
                PacLogonInfo mockLogonInfo = Mockito.mock(PacLogonInfo.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldHandleResponseMapOperations() {
                assertEquals(0, transport.getResponseMapSize());
                // Response map is accessible through protected field for testing
                // but we avoid complex interactions here for performance
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                    protected SmbResource adapt(FileEntry e) {
                        return resource;
                    }
                };
            });
        }
    
        @Test
        @DisplayName("Complex scenario with multiple filter conditions")
        void complexFilterScenario() throws Exception {
            // Setup: three entries with different filter results
            FileEntry entry1 = mock(FileEntry.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                assertTrue(e instanceof InvalidQueryException || e instanceof NullPointerException);
            }
        }
    
        public void test_execute_withComplexBooleanQuery() {
            // Test executing BoostQuery with a complex BooleanQuery containing multiple clauses
            BooleanQuery.Builder boolBuilder = new BooleanQuery.Builder();
            boolBuilder.add(new TermQuery(new Term("title", "fess")), BooleanClause.Occur.MUST);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
        }
    
        public void test_exceptionInComplexScenario() {
            // Test exception in a more complex scenario
            InvalidAccessTokenException exception = null;
            String expectedType = "Bearer";
            String expectedMessage = "Token has expired";
    
            // Simulate a token validation scenario
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertNotSame(loginException.getMessageCode(), logoutException.getMessageCode());
        }
    
        public void test_complexMessageCode() {
            // Setup - test with a complex message code that has parameters
            final String errorDetail = "Authentication failed";
            final VaMessenger<FessMessages> complexMessageCode =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertTrue("Component integration test should be fast", true);
        }
    
        public void test_basic_functionality() {
            // Basic functionality test without complex operations
            try {
                List<String> emptyIds = new ArrayList<>();
                dataIndexHelper.crawl("basic-test", emptyIds);
                assertTrue("Basic functionality should be fast", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *       MoreExecutors.listeningDecorator}.
     *   <li>If you manually call {@link java.util.concurrent.FutureTask#set} or a similar method,
     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top