- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,214 for correct (0.05 sec)
-
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
"Should throw exception for ACE count > 4096"); } @Test @DisplayName("Test getType returns correct value") void testGetType() throws SMBProtocolDecodingException { // Prepare buffer with specific type value testBuffer[0] = 0x01; // revision testBuffer[1] = 0x00; // padding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("No error should happen when find embedded pointer type, but got %v", err) } if hnPost.Title != "embedded_pointer_type" { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author != nil { t.Errorf("Expected to get back a nil Author but got: %v", hnPost.Author) } now := time.Now().Round(time.Second) NewPost := HNPost{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should define getCapacity method") void shouldDefineGetCapacityMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getCapacity")); assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacCredentialType.java
if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /** * Validates whether the credential type data is correct. * @return true if the credential type is valid, false otherwise */ public boolean isCredentialTypeCorrect() { return this.credentialType != null && this.credentialType.length < MINIMAL_BUFFER_SIZE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertNull(context.getCiphers()); } } @Nested @DisplayName("Context Type Tests") class ContextTypeTests { @Test @DisplayName("Should return correct context type") void testGetContextType() { EncryptionNegotiateContext context = new EncryptionNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Mock DfsReferralData referral; // Reflection-based API checks ensure the interface contract is as expected @Test @DisplayName("Type hierarchy and method signatures are correct") void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterface
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } // Verify chain is properly linked ServerMessageBlock2 current = messages[0]; for (int i = 1; i < messages.length; i++) { current = current.getNext(); assertEquals(messages[i], current); } } @Test @DisplayName("Should handle zero-length error data")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
.github/CONTRIBUTING.md
- Get working code on a personal branch with tests before you submit a PR. - OkHttp is a small and light dependency. Don't introduce new dependencies or major new functionality. - OkHttp targets the intersection of RFC correct *and* widely implemented. Incorrect implementations that are very widely implemented e.g. a bug in Apache, Nginx, Google, Firefox should also be handled. Before your code can be accepted into the project you must also sign the
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Mar 17 04:16:26 UTC 2019 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertTrue(nbtAddress.isPermanent(mockContext)); assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext)); } @Test void testUnwrap() { // Test unwrap method for correct type casting mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0)