Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,252 for best (0.02 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStubTest.java

    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests the stub. Yeah, I know.
     *
     */
    class ProjectDependencyGraphStubTest {
        ProjectDependencyGraphStub stub = new ProjectDependencyGraphStub();
    
        @Test
        void testADependencies() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            return new SmbPipeHandleImpl(pipe);
        }
    
        @Test
        @DisplayName("ensureTreeConnected acquires and reuses the tree handle")
        void ensureTreeConnected_acquireAndReuse() throws Exception {
            // Arrange
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\test");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. okhttp/build.gradle.kts

        commonTest {
          dependencies {
            implementation(projects.okhttpTestingSupport)
            implementation(libs.assertk)
            implementation(libs.kotlin.test.annotations)
            implementation(libs.kotlin.test.common)
            implementation(libs.kotlin.test.junit)
            implementation(libs.junit)
            implementation(libs.junit.jupiter.api)
            implementation(libs.junit.jupiter.params)
          }
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            handshakeCertificates.trustManager,
          ).build()
      }
    
      private fun buildServerSslSocketFactory(): SSLSocketFactory {
        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
        // Test 100 byte array of 0xFF.
        byte[] fulls = new byte[100];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        @Inject
        private DefaultBuildPluginManager pluginManager;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/plugin-manager";
        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test method for
         * {@link MsrpcEnumerateAliasesInDomain#MsrpcEnumerateAliasesInDomain(SamrDomainHandle, int, SamrSamArray)}.
         */
        @Test
        void testConstructor() {
            // Given
            int acctFlags = 1;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    import java.util.LinkedList
    
    const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check"
    const val MAX_PROJECT_NUMBER_IN_BUCKET = 11
    
    /**
     * Process test-class-data.json and generates test-buckets.json
     *
     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    import org.apache.maven.model.Plugin;
    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.assertNull;
    
    /**
     */
    class MavenExecutionPlanTest {
    
        @Test
        void testFindLastInPhase() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.rpc.policy_handle;
    
    /**
     * Tests for the {@link MsrpcLsarClose} class.
     */
    class MsrpcLsarCloseTest {
    
        private policy_handle mockHandle;
    
        @BeforeEach
        void setUp() {
            // Create a mock policy_handle for each test
            mockHandle = mock(policy_handle.class);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top