Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 510 for TestId (0.05 seconds)

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

                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter");
            RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNestedCause() {
            // Test with nested exception causes
            Exception rootCause = new IllegalArgumentException("Root cause");
            Exception middleCause = new IllegalStateException("Middle cause", rootCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            // don't skip collection tests since checkedQueue() is not tested by TestsForListsInJavaUtil
            .suppressing(suppressForCheckedQueue())
            .createTestSuite();
      }
    
      public Test testsForArrayDeque() {
        return QueueTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertNotNull(responseString);
            assertTrue(responseString.length() > 0);
        }
    
        /**
         * Tests the toString method of the nested SmbInfoAllocation class.
         */
        @Test
        void testSmbInfoAllocationToString() {
            Trans2QueryFSInformationResponse response =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid argument");
            Exception middleCause = new RuntimeException("Runtime error", innerCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            assertEquals(InetAddress.getByName("127.0.0.1"), encData.getUserAddresses().get(0));
            assertNotNull(encData.getUserAuthorizations());
            // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case
            assertTrue(encData.getUserAuthorizations().isEmpty());
        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SidResolver.java

         * are not listed in a user's group membership (e.g. as represented by the
         * tokenGroups constructed attribute retrieved via LDAP).
         *
         * Domain groups nested inside a local group are currently not expanded. In
         * this case the key (SID) type will be SID_TYPE_DOM_GRP rather than
         * SID_TYPE_USER.
         *
         * @param tc
         *            The context to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/dataclasses.md

    該 dataclass 會自動轉換為 Pydantic 的 dataclass。
    
    如此一來,其結構描述(schema)會顯示在 API 文件介面中:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## 巢狀資料結構中的 Dataclasses { #dataclasses-in-nested-data-structures }
    
    你也可以將 `dataclasses` 與其他型別註記結合,建立巢狀的資料結構。
    
    在某些情況下,你可能仍需要使用 Pydantic 版本的 `dataclasses`。例如,當自動產生的 API 文件出現錯誤時。
    
    這種情況下,你可以把標準的 `dataclasses` 直接換成 `pydantic.dataclasses`,它是可直接替換(drop-in replacement)的:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            assertEquals(-1, ((QueryRescorerBuilder) result).windowSize().intValue());
        }
    
        @Test
        public void test_evaluate_withComplexParams() {
            // Test with complex parameter map including nested structures
            final String testModelName = "complex_model";
            final int testWindowSize = 200;
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top