Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 2,907 for xtest (0.05 sec)

  1. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

     *
     */
    class ArtifactUtilsTest {
    
        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.ArgumentCaptor;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slowish")
    class DnsOverHttpsTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Comprehensive test suite for DelegatingConfiguration class.
     * Tests the delegation pattern and ensures all methods properly delegate.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            response = new Smb2SetInfoResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config")
        void testConstructor() {
            assertNotNull(response);
            // Command is not set in constructor, only after decoding
            assertEquals((short) 0, response.getCommand());
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

    import java.util.Arrays;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.NameServiceClient;
    import jcifs.NetbiosAddress;
    import jcifs.util.Hexdump;
    
    /**
     * Comprehensive test suite for Type2Message NTLM authentication message.
     * Tests all constructors, parsing, and serialization functionality.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.EMPTY
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    class ResponseCommonTest {
      @Test fun peekShorterThanResponse() {
        val response = newResponse(responseBody("abcdef"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
        void testInheritedBehavior() {
            // Test that response inherits from SmbComTransactionResponse
            assertTrue(response.hasMoreElements());
            assertNotNull(response.nextElement());
    
            // Test reset behavior
            response.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top