- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 324 for Correct (0.07 sec)
-
src/test/java/jcifs/internal/SMBSigningDigestTest.java
// Assert verify(signingDigest).sign(largeData, offset, 10, request, response); } // Verify method was called correct number of times verify(signingDigest, times(offsets.length)).sign(any(byte[].class), anyInt(), anyInt(), any(CommonServerMessageBlock.class), any(CommonServerMessageBlock.class)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
@ValueSource(ints = { -1, 0, 13, 15, 99 }) @DisplayName("seq ctor: invalid msgType values throw") void sequenceConstructor_invalidMsgType_throws(int badType) throws Exception { // Arrange: correct version, wrong msg type ASN1EncodableVector v = new ASN1EncodableVector(); v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
handlers.put("http", httpHandler); handlers.put("https", httpsHandler); } @Test void testGetDefaultPort() { // This test verifies that the handler returns the correct default HTTP port. assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP."); } @TestRegistered: 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/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertNull(context.getSalt()); } } @Nested @DisplayName("Context Type Tests") class ContextTypeTests { @Test @DisplayName("Should return correct context type") void testGetContextType() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
config = new PropertyConfiguration(new Properties()); } /** * Test constructor initialization with valid configuration */ @Test @DisplayName("Test constructor initializes with correct command") public void testConstructorWithValidConfig() { // When smbComTreeDisconnect = new SmbComTreeDisconnect(config); // Then assertNotNull(smbComTreeDisconnect);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); // Verify no data was written assertArrayEquals(new byte[100], dst); } @Test @DisplayName("Test writeParametersWireFormat writes correct data") void testWriteParametersWireFormat() throws Exception { netShareEnum = new NetShareEnum(realConfig); byte[] dst = new byte[256]; int dstIndex = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should generate correct string representation") void testToString() throws Exception { // Set up notification with known values byte oplockLevel = 0x02; byte[] fileId = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Future<?> possiblyIgnoredError = executor.submit(task); } awaitUnchecked(barrier); assertThat(future.isDone()).isTrue(); // inspect state and ensure it is correct! // asserts that all get calling threads received the same value Object result = Iterables.getOnlyElement(finalResults); if (result == CancellationException.class) { assertTrue(future.isCancelled());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should create correct context types") void testCreateContext() { // Test encryption context NegotiateContextResponse enc = Smb2NegotiateResponse.createContext(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0)