- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 615 for verifyCn (0.04 sec)
-
src/test/java/jcifs/smb/DfsReferralTest.java
DfsReferralData mockData = mock(DfsReferralData.class); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that getData() returns the same mock data object assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor."); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals(24, SMBUtil.SMB_HEADER.length); // Verify SMB header signature assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]); assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]); assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]); // Verify remaining bytes are zeros for (int i = 4; i < 24; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one assertEquals(expectedUserName, actualUserName, "getRemoteUser should return the principal's name."); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
} /** * Test method for {@link jcifs.pac.PacSidAttributes#PacSidAttributes(jcifs.smb.SID, int)}. */ @Test void testConstructor() { // Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
public void testAllFieldsArePublic() { // Get all declared fields Field[] fields = ServerData.class.getDeclaredFields(); // Verify we have the expected number of fields assertEquals(19, fields.length); // Verify all fields are public for (Field field : fields) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
@Override protected Iterator<T> newTargetIterator() { // make copy from master to verify later targetList = Lists.newArrayList(master); Iterator<T> iterator = targetList.iterator(); return peekingIterator(iterator); } @Override protected void verify(List<T> elements) { // verify same objects were removed from reference and target assertEquals(elements, targetList); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
// If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testSpliteratorNotImmutable_collectionAllowsRemove() { // If remove is supported, verify that IMMUTABLE is not reported.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* @param length * The length of the data to verify * @param extraPad * extra padding to include in signature * @param msg * The message to verify * @return whether verification was unsuccessful */ boolean verify(byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** * Simple base class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.security.SecureRandom; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0)