- Sort Score
- Result 10 results
- Languages All
Results 1151 - 1160 of 2,907 for 2test (0.02 sec)
- 
				
				okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.ktimport org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ValueSource @Flaky // STDOUT logging enabled for test @Timeout(30) @Tag("Slow") open class ConnectionListenerTest { @RegisterExtensionRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.javatry { // Test null vs null assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null))); // Test null vs empty assertFalse(auth1.equals(auth2)); // Test null vs password assertFalse(auth1.equals(auth3)); // Test empty vs password assertFalse(auth2.equals(auth3));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbTreeInternalTest.java@Test @DisplayName("connectLogon invokes underlying implementation") void connectLogon_invocation_isForwarded() throws Exception { // Act tree.connectLogon(context); // Assert - verify interaction with dependency verify(tree, times(1)).connectLogon(context); verify(tree, never()).close(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)
- 
				
				container-tests/src/test/java/okhttp3/containers/BasicProxyTest.ktimport okhttp3.containers.BasicMockServerTest.Companion.MOCKSERVER_IMAGE import okhttp3.containers.BasicMockServerTest.Companion.trustMockServer import okio.buffer import okio.source import org.junit.jupiter.api.Test import org.mockserver.client.MockServerClient import org.mockserver.configuration.Configuration import org.mockserver.logging.MockServerLogger import org.mockserver.model.HttpRequest.request Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.2K bytes - Viewed (1)
- 
				
				src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java} @Test @DisplayName("Should work with null server name") void shouldHandleNullServerName() { // When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(null, testAccess, mockPolicyHandle); // Then assertNotNull(msrpcSamrConnect2, "Should handle null server name"); } @Test @DisplayName("Should work with different access masks")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.javaimport org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory; import org.apache.maven.settings.Mirror; import org.codehaus.plexus.testing.PlexusTest; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbFileOutputStreamTest.javaimport static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.SmbConstants; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.javaString dir2 = "/test/dir2"; // Setup mock files for this test when(mockFile1.getName()).thenReturn("document.txt"); when(mockFile1.length()).thenReturn(2048L); when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0)
- 
				
				cmd/data-scanner_test.gowant: lifecycle.DelMarkerDeleteAllVersionsAction, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestEvalAction-%d", i), func(t *testing.T) { gotEvent := evalActionFromLifecycle(t.Context(), test.ilm, *test.retention, nil, test.obj) if gotEvent.Action != test.want { t.Fatalf("Expected %v but got %v", test.want, gotEvent.Action) } }) }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0)
- 
				
				src/bufio/scan_test.gofunc TestScanByte(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanBytes) var i int for i = 0; s.Scan(); i++ { if b := s.Bytes(); len(b) != 1 || b[0] != test[i] { t.Errorf("#%d: %d: expected %q got %q", n, i, test, b) } } if i != len(test) { t.Errorf("#%d: termination expected at %d; got %d", n, len(test), i) } err := s.Err() Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0)