- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,141 for assertTrue (0.06 sec)
-
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
// Verify inheritance chain assertTrue(queryParseException instanceof QueryParseException); assertTrue(queryParseException instanceof FessSystemException); assertTrue(queryParseException instanceof RuntimeException); assertTrue(queryParseException instanceof Exception); assertTrue(queryParseException instanceof Throwable); }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/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Should not throw any exception int bytesRead = response.readBytesWireFormat(validBuffer, 0); assertTrue(bytesRead > 0); assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2 assertTrue(response.getMaxTransactSize() > 0); assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java
assertTrue(valve.isShowReport()); assertTrue(valve.isShowServerInfo()); valve.setShowReport(true); valve.setShowServerInfo(false); assertTrue(valve.isShowReport()); assertFalse(valve.isShowServerInfo()); valve.setShowReport(false); valve.setShowServerInfo(true); assertFalse(valve.isShowReport()); assertTrue(valve.isShowServerInfo());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertNotNull(result); assertTrue(result.contains("FileNotifyInformation")); assertTrue(result.contains("nextEntry=")); assertTrue(result.contains("action=")); assertTrue(result.contains("file=" + fileName)); // Hexdump.toHexString produces 4-character padded uppercase hex String expectedHex = String.format("%04X", action); assertTrue(result.contains("0x" + expectedHex)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// When String result = smbComRename.toString(); // Then assertNotNull(result); assertTrue(result.contains("SmbComRename")); assertTrue(result.contains("searchAttributes=0x")); assertTrue(result.contains("oldFileName=" + oldFileName)); assertTrue(result.contains("newFileName=" + newFileName)); } /** * Test with null configuration */ @TestRegistered: 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/util/ResourceManagerTest.java
assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup(); assertTrue(cleaned >= 2); assertTrue(resource1.isClosed()); assertTrue(resource2.isClosed()); } @Test @DisplayName("Test leak detection for unclosed resources") @Timeout(value = 5, unit = TimeUnit.SECONDS)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
String result = testMessage.toString(); assertTrue(result.contains("command=SMB2_CREATE")); assertTrue(result.contains("status=0")); assertTrue(result.contains("flags=0x1234")); assertTrue(result.contains("mid=12345")); assertTrue(result.contains("wordCount=0")); assertTrue(result.contains("byteCount=0")); } } @NestedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertTrue(result.contains("filename=" + TEST_FILENAME)); assertTrue(result.contains(Hexdump.toHexString(TEST_INFO_LEVEL, 3))); } @Test void testToStringWithDifferentPaths() { // Test with various path formats String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
// Test that exception is instance of RuntimeException DictionaryExpiredException exception = new DictionaryExpiredException(); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0)