Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 3,016 for jest (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

         */
        @Test
        public void testToCalendar_FullStyle() throws Exception {
            final Calendar calendar = toCalendar("11時49分10秒 JST");
            final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
            df.setTimeZone(TimeZone.getTimeZone("JST"));
            assertThat(df.format(calendar.getTime()), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test singleton instance")
        void testSingletonInstance() {
            SecurityAuditLogger logger1 = SecurityAuditLogger.getInstance();
            SecurityAuditLogger logger2 = SecurityAuditLogger.getInstance();
            assertSame(logger1, logger2, "SecurityAuditLogger should be a singleton");
        }
    
        @Test
        @DisplayName("Test log authentication success")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top