- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 352 for assertNull (0.34 sec)
-
src/test/java/jcifs/internal/SmbNegotiationTest.java
SmbNegotiation negotiationAllNull = new SmbNegotiation(null, null, null, null); assertNull(negotiationAllNull.getRequest()); assertNull(negotiationAllNull.getResponse()); assertNull(negotiationAllNull.getRequestRaw()); assertNull(negotiationAllNull.getResponseRaw()); } @Test @DisplayName("getRequest should return the same request instance")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
// Verify parent groupId and version were removed (since child doesn't have explicit ones) assertNull(parentElement.child("groupId").orElse(null)); assertNull(parentElement.child("version").orElse(null)); // artifactId should also be removed since parent POM is in pomMap assertNull(parentElement.child("artifactId").orElse(null)); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(); // Assert assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception { VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testDefaultConstructor() { TransportException exception = new TransportException(); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getRootCause()); assertTrue(exception instanceof IOException); } @Test @DisplayName("Should create exception with message")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertNotNull(context); assertNull(context.getSessionId()); assertEquals(0, context.getActiveThreadCount().intValue()); assertEquals(0L, context.getAccessCount()); assertEquals(CrawlerStatus.INITIALIZING, context.getStatus()); assertNull(context.getUrlFilter()); assertNull(context.getRuleManager()); assertNull(context.getIntervalController());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
@Test public void testNullPasswordHandling() { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null); assertNull(authenticator.getPassword(), "getPassword should return null for null password"); assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password"); // secureWipePassword should not throw exceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
} @Test @DisplayName("Default state is null for both fields") void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertFalse(testBlock.isResponseAsync()); assertNull(testBlock.getNext()); assertFalse(testBlock.allowChain(mock(CommonServerMessageBlockRequest.class))); assertNull(testBlock.split()); assertNull(testBlock.createCancel()); assertNull(testBlock.getNextResponse()); assertFalse(testBlock.isCancel());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0)