- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,648 for new2 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt"); int dstIndex = 2; // When int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex); // Then assertEquals(2, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Test with all zeros byte[] zeroFileId = new byte[16]; Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalArgumentException("Cause exception"); FessSystemException exception = new FessSystemException(cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } request.setFileId(fileId); // Verify by writing to buffer and checking the fileId position byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
} // Test execute with exception in booster public void test_execute_withException() { TestScoreBooster booster1 = new TestScoreBooster(100L); ExceptionScoreBooster booster2 = new ExceptionScoreBooster(); TestScoreBooster booster3 = new TestScoreBooster(300L); scoreUpdater.addScoreBooster(booster1); scoreUpdater.addScoreBooster(booster2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
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)