- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,141 for assertTrue (0.06 sec)
-
src/test/java/jcifs/netbios/NbtAddressTest.java
assertTrue(nbtAddress.isGroupAddress(mockContext)); assertEquals(NbtAddress.B_NODE, nbtAddress.getNodeType(mockContext)); assertTrue(nbtAddress.isBeingDeleted(mockContext)); assertTrue(nbtAddress.isInConflict(mockContext)); assertFalse(nbtAddress.isActive(mockContext)); assertTrue(nbtAddress.isPermanent(mockContext));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
int decoded = resp.decode(buf, headerStart); assertTrue(decoded > 0, "Decode should return positive length"); assertEquals(NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, resp.getStatus()); assertArrayEquals(blob, resp.getBlob(), "Security blob should match"); assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode"); assertTrue(resp.isLoggedInAsGuest(), "Guest/anonymous should be detected");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertNull(exception.getCause(), "Default constructor should have null cause"); assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException"); assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException"); } @Test @DisplayName("Message constructor should create exception with specified message")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
String actualString = response.toString(); assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["), "The string representation should start with the class name."); assertTrue(actualString.endsWith("]"), "The string representation should end with a bracket."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
assertEquals("Return type should be String", String.class, method.getReturnType()); // Check that it's static assertTrue("Method should be static", java.lang.reflect.Modifier.isStatic(method.getModifiers())); // Check that it's public assertTrue("Method should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers())); // Check parameter count
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; 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 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
NegotiateContextResponse encContext = new EncryptionNegotiateContext(); // Assert assertTrue(preauthContext instanceof NegotiateContextResponse); assertTrue(encContext instanceof NegotiateContextResponse); assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, preauthContext.getContextType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
protected void finalize() { future.cancel(false); } }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.awaitDone(future); assertTrue(future.isDone()); assertTrue(future.isCancelled()); } public void testAwaitClear() { WeakReference<Object> ref = new WeakReference<>(new Object()); GcFinalization.awaitClear(ref); assertNull(ref.get()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import java.security.SecureRandom; import java.util.Arrays;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)