- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 610 for assertTrue (0.04 sec)
-
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertTrue(isPowerOfTwo(SecurityInfo.DACL_SECURITY_INFO)); assertTrue(isPowerOfTwo(SecurityInfo.SACL_SECURITY_INFO)); assertTrue(isPowerOfTwo(SecurityInfo.LABEL_SECURITY_INFO)); assertTrue(isPowerOfTwo(SecurityInfo.ATTRIBUTE_SECURITY_INFO)); assertTrue(isPowerOfTwo(SecurityInfo.SCOPE_SECURITY_INFO)); assertTrue(isPowerOfTwo(SecurityInfo.BACKUP_SECURITY_INFO)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
ldapChain.update(user); assertEquals(user, testLdapManager.insertedUser); assertTrue(testLdapManager.insertCalled); } public void test_update_withNullUser() { // Test update with null user ldapChain.update(null); assertNull(testLdapManager.insertedUser); assertTrue(testLdapManager.insertCalled); } public void test_delete() { // Test delete methodRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K 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/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/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/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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
assertTrue(auth.matches("ftp://hostname:21/test/aaa.html")); assertTrue(auth.matches("ftp://hostname/test/aaa.html")); assertTrue(auth.matches("ftp://hostname:21/test")); assertTrue(auth.matches("ftp://hostname/test")); assertTrue(auth.matches("ftp://hostname:21")); assertTrue(auth.matches("ftp://hostname")); assertTrue(auth.matches("ftp://hostname:21/"));Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
// When & Then assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true"); assertFalse(negotiationRequest.isSigningEnforced(), "Second call should return false"); assertTrue(negotiationRequest.isSigningEnforced(), "Third call should return true");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
Instant second = MonotonicClock.now(); Thread.sleep(10); // Small delay Instant third = MonotonicClock.now(); assertTrue(first.isBefore(second), "Time should progress forward between measurements"); assertTrue(second.isBefore(third), "Time should progress forward between measurements"); } @Test @DisplayName("MonotonicClock elapsed time should increase")
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
String infoString = info.toString(); assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc"); assertTrue(infoString.contains("free=500"), "toString should contain free"); assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc"); assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)