- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 3,196 for test (0.01 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
import java.net.InetAddress import java.net.UnknownHostException import kotlin.test.assertFailsWith import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_A import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_AAAA import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers import okio.ByteString.Companion.decodeHex import org.junit.jupiter.api.Test class DnsRecordCodecTest { @Test fun testGoogleDotComEncoding() {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 20:09:10 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
void setUp() { // Create a new NtlmHttpServletRequest with mocked dependencies before each test ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal); } /** * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}. * Verifies that the method returns the name of the principal. */ @Test void testGetRemoteUser() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(0, cleaned); assertNotNull(leaseManager.getLease(key)); } @Test @DisplayName("Should detect lease capabilities") void testLeaseCapabilities() { String path = "/share/file.txt"; // Test full lease Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test the default artifact collector. * */ @PlexusTest @Deprecated
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@DisplayName("ReadBytesWireFormat Tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should always return 0") void testReadBytesWireFormat() { byte[] buffer = new byte[100]; int bytesRead = echoRequest.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/signature-v2_test.go
} for i, test := range testCases { formValues := make(http.Header) formValues.Set("Awsaccesskeyid", test.accessKey) formValues.Set("Signature", test.signature) formValues.Set("Policy", test.policy) _, errCode := doesPolicySignatureV2Match(formValues) if errCode != test.errCode { t.Fatalf("(%d) expected to get %s, instead got %s", i+1, niceError(test.errCode), niceError(errCode)) } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
import static com.google.common.truth.Truth.assertThat; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link ImmutableValueGraph} . */ @RunWith(JUnit4.class) @NullUnmarked public class ImmutableValueGraphTest { @Test public void immutableValueGraph() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds") void ensureDFSResolved_success() throws Exception { // Arrange: default mock does nothing // Act: call method under test handle.ensureDFSResolved(); // Assert: interaction happened and did not throw
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
class PerformanceTests { @Test @DisplayName("Should handle multiple lookups efficiently") void testMultipleLookups() throws IOException { // Test that multiple lookups work correctly for (int i = 0; i < 100; i++) { assertEquals("application/pdf", mimeMap.getMimeType("pdf")); assertEquals("text/html", mimeMap.getMimeType("html"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
} public void test_update() { // Test update method User user = createTestUser("testuser", "password123"); ldapChain.update(user); assertEquals(user, testLdapManager.insertedUser); assertTrue(testLdapManager.insertCalled); } public void test_update_withNullUser() { // Test update with null user ldapChain.update(null);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0)