- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,145 for best (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
} // Test for LsarClose @Test void testLsarCloseConstructorAndGetOpnum() { rpc.policy_handle mockHandle = mock(rpc.policy_handle.class); lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle); assertEquals(mockHandle, lsarClose.handle); assertEquals(0x00, lsarClose.getOpnum()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
} } // Test exception for empty PAC @Test void testConstructorEmptyPac() { byte[] emptyToken = new byte[0]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> { new KerberosPacAuthData(emptyToken, keys); }); assertTrue(e.getMessage().contains("PAC")); } // Test exception for short PAC @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
class SizeCalculationTests { @Test @DisplayName("Should calculate size for null hash algorithms and salt") void testSizeWithNullHashAlgosAndSalt() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty arrays")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
public static final String SEC_CH_DPR = "Sec-CH-DPR"; /** * The HTTP <a href="https://w3c.github.io/webappsec-fetch-metadata/">{@code Sec-Fetch-Dest}</a> * header field name. * * @since 27.1 */ public static final String SEC_FETCH_DEST = "Sec-Fetch-Dest"; /** * The HTTP <a href="https://w3c.github.io/webappsec-fetch-metadata/">{@code Sec-Fetch-Mode}</a> * header field name. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 27 20:37:16 GMT 2025 - 35.4K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
package org.apache.maven.lifecycle.test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 657 bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; class ConnectionTimeoutExceptionTest { @Test void testNoArgsConstructor() { // Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0)