- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,141 for assertTrue (0.04 sec)
-
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
} ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString()); assertNotNull(exception); assertTrue(exception.getMessage().startsWith("Not Found: http://example.com/")); assertTrue(exception.getMessage().contains("Parent: http://example.com/")); assertNull(exception.getCause()); } public void test_constructor_withUnicodeCharacters() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test serialVersionUID exists ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization"); // The exception should be serializable since it extends RuntimeExceptionRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testToString() { // Test the toString method String result = response.toString(); assertNotNull(result); assertTrue(result.contains("Trans2SetFileInformationResponse")); assertTrue(result.contains("[")); assertTrue(result.contains("]")); } @Test @DisplayName("Test inherited properties from SmbComTransactionResponse") void testInheritedProperties() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
File i18nFile = getTestFile("i18n.txt"); assertTrue(Files.equal(i18nFile, temp)); } public void testTouch() throws IOException { File temp = createTempFile(); assertTrue(temp.exists()); assertTrue(temp.delete()); assertFalse(temp.exists()); Files.touch(temp); assertTrue(temp.exists()); Files.touch(temp); assertTrue(temp.exists()); assertThrows(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
}; NullPointerException npe1 = assertThrows(NullPointerException.class, () -> filter.accept(null, "x")); assertTrue(npe1.getMessage().contains("non-null")); NullPointerException npe2 = assertThrows(NullPointerException.class, () -> filter.accept(mockDir, null)); assertTrue(npe2.getMessage().contains("non-null")); verifyNoInteractions(mockDir); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
channelInfo.setState(ChannelState.ESTABLISHED); assertEquals(ChannelState.ESTABLISHED, channelInfo.getState()); assertTrue(channelInfo.isHealthy()); channelInfo.setState(ChannelState.ACTIVE); assertTrue(channelInfo.isHealthy()); channelInfo.setState(ChannelState.FAILED); assertFalse(channelInfo.isHealthy()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
@Override public String toString() { assertTrue(Thread.holdsLock(mutex)); return delegate.toString(); } @Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return delegate.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return delegate.hashCode(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// When PropertyConfiguration testConfig = new PropertyConfiguration(minimalProps); // Then // Hostname may be null when not provided assertTrue(testConfig.getConnTimeout() > 0); assertTrue(testConfig.getSoTimeout() > 0); assertNotNull(testConfig.getMinimumVersion()); assertNotNull(testConfig.getMaximumVersion()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
@Test public void testCanCacheEnumeration() { // Should return true when read caching is enabled assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0)