- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 215 for preserved (0.07 seconds)
-
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
assertEquals("single", result[0]); // Single quoted value - quotes preserved value = "\"single quoted\""; result = KuromojiCSVUtil.parse(value); assertEquals(1, result.length); assertEquals("\"single quoted\"", result[0]); // Single empty value - quotes preserved value = "\"\""; result = KuromojiCSVUtil.parse(value);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
// Execute final InvalidQueryException exception = new InvalidQueryException(messageCode, message, middleCause); // Verify cause chain is preserved assertEquals(middleCause, exception.getCause()); assertEquals(rootCause, exception.getCause().getCause()); } @Test public void test_emptyMessage() { // SetupCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
return parent.child(name).orElse(null); } /** * Serializes a domtrip Document to XML string with preserved formatting. * * @param document the domtrip Document * @return the XML string with preserved formatting * */ public static String toXml(Document document) { Editor editor = new Editor(document); return editor.toXml();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } @Test public void test_stackTrace() { // Test that stack trace is properly preserved String message = "GSA error with stack trace"; Throwable cause = new NullPointerException("NPE occurred"); GsaConfigException exception = new GsaConfigException(message, cause);
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) -
scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md
```Python # Some Python code ``` ### Triple backticks inside quadruple backticks { #triple-backticks-inside-quadruple-backticks } Comments inside nested code block will NOT be preserved. ```` Here is a code block with quadruple backticks that contains triple backticks inside: ```python # This is a sample Python code block def hello_world(): print("Hello, world!") # Print greetingCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 7.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
upgradeGoal.testExecuteWithTargetModel(context, "4.0.0"); assertTrue(Files.exists(existingFile), "Existing file should be preserved"); assertEquals("existing content", Files.readString(existingFile), "Existing content should be preserved"); } @Test @DisplayName("should create .mvn directory for custom model versions")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
architecture/standards/0009-use-american-english.md
* **Consistency with dependencies**: Gradle's ecosystem and dependencies predominantly use American English ### Exceptions Some legitimate exceptions exist where British English or other variants must be preserved: * **Third-party APIs and libraries**: When integrating with external APIs that use different spelling conventions
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTraceWithCause() { // Test that stack trace is properly preserved with cause String innerMessage = "Inner exception"; String outerMessage = "Outer exception"; RuntimeException innerException = new RuntimeException(innerMessage);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
// Verify that the cause is correctly set assertNotNull(runtimeException); assertEquals(servletException, runtimeException.getCause()); // Verify that the message is preserved from the cause assertTrue(runtimeException.getMessage().contains(ServletException.class.getName())); assertTrue(runtimeException.getMessage().contains(errorMessage)); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
tests/test_response_dependency.py
When a dependency returns a new Response object (e.g., JSONResponse) instead of modifying the injected one, the returned response should be used and any modifications to it in the endpoint should be preserved. """ app = FastAPI() def default_response() -> Response: response = JSONResponse(content={"status": "ok"}) response.headers["X-Custom"] = "initial" return responseCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0)