- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for assertNotEquals (0.25 sec)
-
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
ServerMessageBlock smb3 = new TestServerMessageBlock(); smb3.mid = 200; assertEquals(smb1, smb2); assertNotEquals(smb1, smb3); assertEquals(smb1.hashCode(), smb2.hashCode()); assertNotEquals(smb1.hashCode(), smb3.hashCode()); assertNotEquals(smb1, new Object()); } @Test void testToString() { smb.command = ServerMessageBlock.SMB_COM_ECHO;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Test non-equal trees (different share) assertNotEquals(tree1, tree3); // Test non-equal trees (different service) assertNotEquals(tree1, tree4); // Test with different object type assertNotEquals(tree1, new Object()); // Test with null assertNotEquals(tree1, null); } @Test void testToString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
SID sid2 = new SID(adminSidBytes, 0); SID sid3 = new SID("S-1-1-0"); // Everyone assertEquals(sid1, sid1); assertEquals(sid1, sid2); assertNotEquals(sid1, sid3); assertNotEquals(sid1, null); assertNotEquals(sid1, new Object()); } /** * Test the hashCode method. * * @throws SmbException if the SID string is invalid */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@Test @DisplayName("Should not be equal to null") void testNotEqualToNull() { assertNotEquals(data1, null); } @Test @DisplayName("Should not be equal to different type") void testNotEqualToDifferentType() { assertNotEquals(data1, "string"); } @Test @DisplayName("Should not be equal with different server")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@DisplayName("Should have distinct constant values") void testConstantUniqueness() { assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO); assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_FULL_SIZE_INFO); assertNotEquals(FileSystemInformation.FS_SIZE_INFO, FileSystemInformation.FS_FULL_SIZE_INFO); } } @NestedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
SID b = new SID("S-1-5-21-1-2-3-5"); assertEquals(a1, a2); assertEquals(a1.hashCode(), a2.hashCode()); assertNotEquals(a1, b); assertNotEquals(a1.hashCode(), b.hashCode()); assertNotEquals(a1, new Object()); } @Test @DisplayName("getRid throws for domain SIDs") void testGetRidForDomainThrows() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
package jcifs.netbios; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; 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.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
package jcifs.internal.smb1.trans2; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; 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 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)