- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 550 for correctos (0.28 seconds)
-
src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java
return ".sql=text/x-sql"; } }); mimeTypeHelper.init(); // Filename with path should still have extension extracted correctly try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) { assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "/path/to/script.sql")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 12.1K bytes - Click Count (0) -
tests/serializer_test.go
product.Name = "Product 1 (Updated)" if err := DB.Save(&product).Error; err != nil { t.Fatalf("failed to save product with nil any field, got error %v", err) } // Verify the record was saved correctly var result ProductWithAny if err := DB.First(&result, product.ID).Error; err != nil { t.Fatalf("failed to query product, got error %v", err) } if result.Name != "Product 1 (Updated)" {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/event/target/webhook.go
// accepted HTTP status codes. return nil } else if resp.StatusCode == http.StatusForbidden { return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", target.args.Endpoint, resp.Status) } return fmt.Errorf("%s returned '%s', please check your endpoint configuration", target.args.Endpoint, resp.Status) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
} String readString(final byte[] src, final int srcIndex, int len) { String str = null; try { if (useUnicode) { // should Unicode alignment be corrected for here? str = new String(src, srcIndex, len, UNI_ENCODING); } else { /* On NT without Unicode the fileNameLengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
// Prepare encoded data for "TEST " (with trailing spaces) byte[] src = new byte[100]; src[0] = 0x20; // Encode "TEST" correctly // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45) src[1] = 'F'; src[2] = 'E'; // T // E=0x45: upper nibble 0x4->E(0x45), lower nibble 0x5->F(0x46) src[3] = 'E';
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
} @Test void testEmptyArgsDefaultBehavior() throws ParseException { // Test that empty args (except for goal) work correctly String[] args = {"apply"}; CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args); // None of the optional flags should be presentCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Execute with second engine Object result2 = scriptExecutor.execute("type2", "script for engine2"); assertEquals("engine2:processed: script for engine2", result2); // Verify correct engine was called each time assertEquals("script for engine1", engine1.getLastScript()); assertEquals("script for engine2", engine2.getLastScript()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should return correct cipher ID") void testGetCipherId() { // When int cipherId = encryptionContext.getCipherId(); // Then assertEquals(1, cipherId, "Should return the cipher ID set in constructor"); } @Test @DisplayName("Should return correct dialect version") void testGetDialect() { // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
fail("getSearchEngineHttpAddress method should exist"); } } @Test public void test_systemProperty_independence() { // Test that method correctly reads from system properties each time String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); try { // Set initial value
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
// Should write as 0xFFFF (65535 in unsigned) assertEquals(0xFFFF, SMBUtil.readInt2(dst, 0)); } @Test @DisplayName("Test configuration mock is used correctly") void testConfigurationUsage() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION); // Verify that the configuration was passed to parent constructorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)