- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,040 for verifyCn (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
TestLocking t = new TestLocking(); // Set custom values t.numThreads = 5; t.numIter = 10; t.delay = 250L; t.url = "smb://custom/path/file.txt"; // Verify values are set assertEquals(5, t.numThreads, "numThreads should be configurable"); assertEquals(10, t.numIter, "numIter should be configurable"); assertEquals(250L, t.delay, "delay should be configurable");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
} @Test @DisplayName("Constructor should initialize TransWaitNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); // Verify parent class is properly initialized assertTrue(response instanceof SmbComTransactionResponse); } @Test @DisplayName("writeSetupWireFormat should return 0") void testWriteSetupWireFormat() {Created: 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/ServerMessageBlock2Test.java
import static org.mockito.ArgumentMatchers.eq; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(), "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and // the fields set by the constructor being correct. }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
// Test that exception is serializable String message = "Serialization test"; LdapOperationException exception = new LdapOperationException(message); // Verify the exception can be created (serialVersionUID is present) assertNotNull(exception); } @Test public void test_stackTrace() { // Test that stack trace is properly capturedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
@Test public void test_getStatus_returnsCorrectValue() { // Since we cannot easily create a real ClusterHealthResponse without a running cluster, // we'll test the class behavior through unit tests that verify the logic // The actual integration with ClusterHealthResponse is tested in integration tests // Test that the constructor and getters work with proper setupCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} private static final long serialVersionUID = 0; } /* * 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();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Simple derived class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class DerivedComparable extends BaseComparable { public DerivedComparable(String s) { super(s); }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/ntlmssp/NtlmFlagsTest.java
package jcifs.ntlmssp; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Test class for NtlmFlags, verifying the values of all defined constants. */ public class NtlmFlagsTest { @Test void testNtlmNegotiateUnicode() { assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K 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); }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)