- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,619 for _new (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
} public void test_nestedCause() { // Test with nested exceptions RuntimeException rootCause = new RuntimeException("Root cause"); ParseException parseException = new ParseException("Parse error"); parseException.initCause(rootCause); QueryParseException queryParseException = new QueryParseException(parseException); assertEquals(parseException, queryParseException.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
TestAuthenticationChain chain = new TestAuthenticationChain(); chain.updateThrowsException = false; chain.update(null); assertEquals(1, chain.updateCalls.size()); assertNull(chain.updateCalls.get(0)); } // Test update with multiple calls public void test_update_multipleCalls() { TestAuthenticationChain chain = new TestAuthenticationChain();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
// Test custom properties public void xtest_customProperties() { // Create custom FessEnv with custom properties FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() { protected Properties prepareProperties() { Properties props = new Properties(); props.setProperty(FessEnv.lasta_di_SMART_DEPLOY_MODE, "cool"); props.setProperty(FessEnv.DEVELOPMENT_HERE, "false");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
} public void test_toSlackMessage_withLongContent() { MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser(); StringBuilder longSubject = new StringBuilder(); StringBuilder longContent = new StringBuilder(); for (int i = 0; i < 100; i++) { longSubject.append("Subject Line ").append(i).append(" ");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", ""); assertEquals("", auth1.getPassword()); assertNotNull(auth1.getPasswordAsCharArray()); assertEquals(0, auth1.getPasswordAsCharArray().length); // Test with empty char[] password NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testuser", new char[0]); assertEquals("", auth2.getPassword());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Setup final String message = "Test SSO error message"; final Exception cause = new RuntimeException("Test cause"); final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY); // Execute final SsoMessageException exception = new SsoMessageException(messageCode, message, cause); // Verify assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Given Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); byte[] buffer = new byte[1024]; // Encode to set headerStart req.encode(buffer, 0); // Then byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE); // Verify path is written correctly at body + 8 byte[] actualPath = new byte[pathBytes.length];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Write completely empty file try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { // Write nothing } // Create a new CharMappingFile instance to ensure clean state CharMappingFile emptyMappingFile = new CharMappingFile("empty_test", testFile.getAbsolutePath(), new Date()); emptyMappingFile.manager(dictionaryManager);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); // Write only 10 bytes instead of 16 baos.write(new byte[10]); byte[] data = baos.toByteArray(); // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test OK status ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result(); assertNotNull(okResult); // Test BAD_REQUEST status ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result(); assertNotNull(badRequestResult); // Test UNAUTHORIZED status
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)