- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 793 for correcta (0.1 seconds)
-
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
// Verify that the super constructor was called with the correct arguments // Note: Mockito cannot directly verify super constructor calls. // We assume if the object is created, the super constructor was called. // We can verify the state of the object after construction. // Verify ptype and flags are set correctly assertEquals(0, policy.getPtype(), "ptype should be 0");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
class GetterTests { @Test @DisplayName("getPtype should return correct packet type") void testGetPtype() { message.ptype = DcerpcConstants.RPC_PT_REQUEST; assertEquals(DcerpcConstants.RPC_PT_REQUEST, message.getPtype()); } @Test @DisplayName("getFlags should return correct flags") void testGetFlags() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseState Tests") class Smb2LeaseStateTest { @Test @DisplayName("Should define correct lease state constants") void testLeaseStateConstants() { assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE); assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Then assertEquals(mid, request.getMid(), "MID should be set correctly"); assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly"); assertEquals(credits, request.getCredit(), "Credits should be set correctly"); assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue); assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value."); // Test case 3: Zero value
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should create request with correct command type and path") void testConstructorSetsCorrectCommandAndPath() throws Exception { // Given & When String path = "\\\\testserver\\testshare"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); // Then - verify command is set correctly using reflectionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
t.Logf("But expected read quorum error, not object-not-found error") } }) t.Run("if-match with correct ETag and read quorum failure", func(t *testing.T) { // Test Case 3: if-match with CORRECT ETag but read quorum failure // Even with the correct ETag, we shouldn't proceed if we can't verify it. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: existingETag,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
void shouldImplementFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsSizeInformation.class)); } @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass()); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0)