Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,595 for Tests (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              AmazonCorrettoCryptoProvider.install()
    
              AmazonCorrettoCryptoProvider.INSTANCE.assertHealthy()
            }
    
            Platform.resetForTests()
    
            System.err.println("Running Tests with ${Platform.get().javaClass.simpleName}")
          }
    
          @JvmStatic
          fun getPlatformSystemProperty(): String? {
            var property: String? = System.getProperty(PROPERTY_NAME)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Unit tests for NtTransNotifyChangeResponse class
     */
    class NtTransNotifyChangeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransNotifyChangeResponse response;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb2Constants
     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    /*
     * Tests for Smb2CreateResponse decoding and behavior.
     */
    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbResource;
    
    /**
     * Tests for {@link DirFileEntryAdapterIterator}.
     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import jcifs.NameServiceClient;
    import jcifs.RuntimeCIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            remoteRepositories.add(remoteRepository());
    
            return remoteRepositories;
        }
    
        // ----------------------------------------------------------------------
        // Test artifact generation for unit tests
        // ----------------------------------------------------------------------
    
        protected Artifact createLocalArtifact(String artifactId, String version) throws Exception {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

    import com.google.common.testing.ClassSanityTester;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link HashCode}.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashCodeTest extends TestCase {
      // note: asInt(), asLong() are in little endian
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. pom.xml

    				<artifactId>maven-surefire-plugin</artifactId>
    				<version>3.5.0</version>
    				<configuration>
    					<includes>
    						<include>**/*Test.java</include>
    						<include>**/*Tests.java</include>
    						<include>**/*TestCase.java</include>
    						<include>**/*TestSuite.java</include>
    					</includes>
    					<systemPropertyVariables>
    						<networkaddress.cache.ttl>-1</networkaddress.cache.ttl>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.lease.LeaseManager.LeaseEntry;
    
    @DisplayName("LeaseManager Tests")
    class LeaseManagerTest {
    
        private LeaseManager leaseManager;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top