Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 2,685 for test (0.03 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

    import org.apache.maven.api.services.Source;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Test for {@link DefaultProjectBuilder} extractProjectId method.
     */
    @SuppressWarnings("deprecation")
    class DefaultProjectBuilderTest {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            assertEquals(weightB, weightC, "Projects B and C should have the same weight");
        }
    
        @Test
        void testConcurrentWeightCalculation() throws Exception {
            // Test that concurrent weight calculation doesn't cause recursive update issues
            // This test simulates the scenario that causes the IllegalStateException
    
            int numThreads = 10;
            int numIterations = 100;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

      }
    
      @Test fun emptyName() {
        assertThat(parse(url, "=b")).isNull()
        assertThat(parse(url, " =b")).isNull()
        assertThat(parse(url, "\r\t \n=b")).isNull()
      }
    
      @Test fun spaceInName() {
        assertThat(parse(url, "a b=cd")!!.name).isEqualTo("a b")
      }
    
      @Test fun spaceInValue() {
        assertThat(parse(url, "ab=c d")!!.value).isEqualTo("c d")
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  4. .gitmodules

    [submodule "okhttp-hpacktests/src/test/resources/hpack-test-case"]
    	path = okhttp-hpacktests/src/test/resources/hpack-test-case
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 10 09:33:37 GMT 2022
    - 182 bytes
    - Click Count (0)
  5. .github/workflows/iam-integrations.yaml

              go run docs/iam/access-manager-plugin.go &
              make test-iam
          - name: Test MinIO Old Version data to IAM import current version
            if: matrix.ldap == 'ldaphost:389'
            env:
              _MINIO_LDAP_TEST_SERVER: ${{ matrix.ldap }}
            run: |
              make test-iam-ldap-upgrade-import
          - name: Test LDAP for automatic site replication
            if: matrix.ldap == 'localhost:389'
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. cmd/bucket-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

        @DisplayName("Plugin Upgrades")
        class PluginUpgradeTests {
    
            @Test
            @DisplayName("should upgrade plugin version when below minimum")
            void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception {
                String pomXml = PomBuilder.create()
                        .groupId("test")
                        .artifactId("test")
                        .version("1.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                // Create a temporary directory with a POM file for the test
                Path tempDir = Files.createTempDirectory("apply-test");
                try {
                    Path pomFile = tempDir.resolve("pom.xml");
                    String pomContent = PomBuilder.create()
                            .groupId("test")
                            .artifactId("test")
                            .version("1.0.0")
                            .build();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. callbacks/helper_test.go

    	"reflect"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    func TestLoadOrStoreVisitMap(t *testing.T) {
    	var vm visitMap
    	var loaded bool
    	type testM struct {
    		Name string
    	}
    
    	t1 := testM{Name: "t1"}
    	t2 := testM{Name: "t2"}
    	t3 := testM{Name: "t3"}
    
    	vm = make(visitMap)
    	if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded {
    		t.Fatalf("loaded should be false")
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            List<Artifact> artifacts = List.of(
                    new DefaultArtifact("com.example", "test", "", "jar", "1.0.0"),
                    new DefaultArtifact("com.example", "test", "", "pom", "1.0.0"), // main POM
                    new DefaultArtifact("com.example", "test", "consumer", "pom", "1.0.0") // consumer POM
                    );
            request.setArtifacts(artifacts);
            return request;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top