- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,617 for new (0.02 sec)
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException original = new DictionaryExpiredException(); // Serialize ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(original); oos.close(); // Deserialize ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
public void test_insert_multipleChains() { User user = createTestUser("testuser"); TestAuthenticationChain chain1 = new TestAuthenticationChain(); TestAuthenticationChain chain2 = new TestAuthenticationChain(); TestAuthenticationChain chain3 = new TestAuthenticationChain(); authenticationManager.addChain(chain1); authenticationManager.addChain(chain2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[256]; int bytesWritten = response.writeBytesWireFormat(buffer, 0); assertEquals(0, bytesWritten); } @Test void testToString() { // Test toString method response = new SmbComQueryInformationResponse(mockConfig, 0L); // Set test values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
// Test basic process execution TestWebApiManager manager = new TestWebApiManager("/api"); TestHttpServletRequest request = new TestHttpServletRequest(); request.setRequestURI("/api/test"); TestHttpServletResponse response = new TestHttpServletResponse(); TestFilterChain chain = new TestFilterChain(); manager.process(request, response, chain);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
void testConstructor() { // Test with normal path request = new Smb2CreateRequest(mockConfig, "test\\file.txt"); assertNotNull(request); assertEquals("\\test\\file.txt", request.getPath()); // Test with leading backslash request = new Smb2CreateRequest(mockConfig, "\\test\\file2.txt"); assertEquals("\\test\\file2.txt", request.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Host is empty -> triggers master browser path URL anyUrlWithEmptyHost = new URL("file:/"); when(locator.getURL()).thenReturn(anyUrlWithEmptyHost); // Simulate failure to find master browser (UnknownHost wrapped in CIFSException) when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
readings[0] = l.toArray(new String[l.size()]); if (items == null) { items = new ArrayList<>(text.length() * fields.length / field.length()); } final String[] langs = lang == null ? new String[] {} : new String[] { lang }; items.add(new SuggestItem(words, readings, new String[] { field }, 1L, 0, -1, tags, roles, langs,
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
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)