Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 510 for TestId (0.09 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNestedCause() {
            // Test constructor with nested exceptions
            Throwable rootCause = new IllegalStateException("Root cause");
            Throwable intermediateCause = new RuntimeException("Intermediate cause", rootCause);
            String message = "Top level error";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                                return
                            }
                            val outputPrefix = if (file.startsWith("/META-INF/versions")) {
                                // Java 9 multi-release JAR entry, we must keep it nested in the output
                                file.subpath(0, 3).toString()
                            } else {
                                ""
                            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/index.md

    It is also built to work as a future reference so you can come back and see exactly what you need.
    
    ## Run the code { #run-the-code }
    
    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    该数据类会被自动转换为 Pydantic 的数据类。
    
    这样,它的模式会显示在 API 文档界面中:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## 在嵌套数据结构中使用数据类 { #dataclasses-in-nested-data-structures }
    
    你也可以把 `dataclasses` 与其它类型注解组合在一起,创建嵌套数据结构。
    
    在某些情况下,你可能仍然需要使用 Pydantic 的 `dataclasses` 版本。例如,如果自动生成的 API 文档出现错误。
    
    在这种情况下,你可以直接把标准的 `dataclasses` 替换为 `pydantic.dataclasses`,它是一个可直接替换的实现:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertNotNull(exception.getCause().getStackTrace());
            assertTrue(exception.getCause().getStackTrace().length > 0);
        }
    
        @Test
        public void test_multiLevelCause() {
            // Test with nested exceptions
            Throwable rootCause = new IllegalStateException("Root problem");
            Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
      protected final void ignoreClasses(Predicate<? super Class<?>> condition) {
        this.classFilter = and(this.classFilter, not(condition));
      }
    
      private static AssertionError sanityError(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. schema/index_test.go

    	// Composite Index: Flattened structure.
    	Data0A string `gorm:"index:,composite:comp_id0"`
    	Data0B string `gorm:"index:,composite:comp_id0"`
    
    	// Composite Index: Nested structure.
    	Data1A string `gorm:"index:,composite:comp_id1"`
    	CompIdxLevel1C
    
    	// Composite Index: Unique and priority.
    	Data2A string `gorm:"index:,unique,composite:comp_id2,priority:2"`
    	CompIdxLevel2C
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. internal/crypto/metadata.go

    // information - e.g. the SSE-C key - from the metadata map.
    // It has the same semantics as RemoveSensitiveHeaders.
    func RemoveSensitiveEntries(metadata map[string]string) { // The functions is tested in TestRemoveSensitiveHeaders for compatibility reasons
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey)
    	delete(metadata, xhttp.AmzServerSideEncryptionCopyCustomerKey)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 17:40:33 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

        }
    
        // Tests for atomic file operations (TOCTOU fix)
    
        @Test
        public void test_createDirectories_nestedPath() throws Exception {
            // Test that Files.createDirectories works correctly for nested paths
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path nestedPath = tempDir.resolve("level1").resolve("level2").resolve("level3");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. gorm.go

    	// DisableForeignKeyConstraintWhenMigrating
    	DisableForeignKeyConstraintWhenMigrating bool
    	// IgnoreRelationshipsWhenMigrating
    	IgnoreRelationshipsWhenMigrating bool
    	// DisableNestedTransaction disable nested transaction
    	DisableNestedTransaction bool
    	// AllowGlobalUpdate allow global update
    	AllowGlobalUpdate bool
    	// QueryFields executes the SQL query with all fields of the table
    	QueryFields bool
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top