- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,100 for correctly (0.08 seconds)
-
src/test/java/jcifs/SmbTreeHandleTest.java
// Verify that close() was called on the mock verify(smbTreeHandle).close(); } /** * Test for close() method throwing CIFSException. * Verifies that the method correctly throws a CIFSException when configured to do so. * @throws CIFSException */ @Test void testClose_throwsCIFSException() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Derived.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.NullUnmarked; /** Simple derived class to verify that we handle generics correctly. */ @GwtCompatible @NullUnmarked class Derived extends Base { public Derived(String s) { super(s); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Then assertNotNull(response); assertTrue(response instanceof Smb2NegotiateResponse); } @Test @DisplayName("Should calculate size correctly without contexts") void testSizeWithoutContexts() { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302); request = new Smb2NegotiateRequest(mockConfig, 0); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy
* limitations under the License. */ package gradlebuild.buildutils.tasks import spock.lang.Specification class PreparePatchReleaseTest extends Specification { def "patch version is correctly bumped"() { expect: ReleasedVersionsHelperKt.bumpPatchVersion(input) == expected where: input | expected "9.4.0" | "9.4.1" "9.4.1" | "9.4.2"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
*/ class NtlmChallengeTest { @Nested @DisplayName("Constructor and Field Tests") class ConstructorTests { @Test @DisplayName("Constructor sets fields correctly") void testConstructorSetsFields() { byte[] challenge = new byte[] { 1, 2, 3 }; UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(challenge, dc);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
@DisplayName("Should handle getNextResponse correctly") void testGetNextResponse() { // When CommonServerMessageBlockResponse nextResponse = response.getNextResponse(); // Then - should return null as no next response is set assertEquals(null, nextResponse); } @Test @DisplayName("Should handle prepare method correctly") void testPrepareMethod() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
key.encode(buffer, 2); for (int i = 0; i < 16; i++) { assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]); assertEquals((byte) 0x00, buffer[offset + 1]); // Verify FID is written correctly (little-endian) int writtenFid = SMBUtil.readInt2(buffer, offset + 2); assertEquals(TEST_FID, writtenFid); } @Test @DisplayName("writeSetupWireFormat should handle buffer boundary")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0)