- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 2,760 for Rtest (0.1 sec)
-
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
@Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testWrapMethodIsCalled() throws DcerpcException { // Test that the wrap method can be called without throwing an exception dcerpcSecurityProvider.wrap(mockNdrBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertFalse(Arrays.equals(signingKey, signingKey311), "Should be different from SMB 3.1.1 key"); } @Test @DisplayName("Should derive keys with specific test vectors") void testDeriveKeys_TestVectors() { // Given - Use known test vector (simplified for demonstration) byte[] testSessionKey = new byte[16]; Arrays.fill(testSessionKey, (byte) 0xAA);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)") void testParseAcceptsNonZeroOuterTag() throws Exception { // Note: The current implementation does not validate the outer APPLICATION tag number // This test documents the actual behavior - any tag number is accepted byte[] token =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("toString contains key identifiers") void testToString() { SmbSessionImpl session = newSession(); String s = session.toString(); assertTrue(s.contains("targetHost=server.example")); assertTrue(s.contains("targetDomain=EXAMPLE")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
pom.xml
<version>2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>1.21.3</version> <scope>test</scope> </dependency> <dependency>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
import org.junit.jupiter.api.Test; import jcifs.dcerpc.rpc; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Integration tests for lsarpc classes using real NdrBuffer implementations */ class lsarpcIntegrationTest { @Test void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException { // Create a domain info with test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Try to get a Subject, but handle the case where JAAS may not be configured Subject first = orig.getSubject(); // In test environments, getSubject() may return null if JAAS is not configured // This is acceptable behavior - the test should focus on the cloning logic // Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} @Test @DisplayName("Should handle null protocol ID") void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Security-focused test cases for SmbSessionImpl to verify race condition fixes. */ public class SmbSessionImplSecurityTest { private CIFSContext mockContext;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_details.jsp
<div class="row"> <div class="col-md-12"> <div class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>"> <div class="card-header">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 10.7K bytes - Viewed (0)