Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,559 for test (0.01 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

    import java.util.Arrays;
    import java.util.List;
    
    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 LifecyclePhaseTest {
        @Test
        void testToString() {
            LifecyclePhase phase = new LifecyclePhase();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

            }
    
            fun functionAttribute(test: (KmFunction) -> Boolean): AttributePredicate = object: AttributePredicate {
                override fun match(kmClass: KmClass) = false
                override fun match(kmConstructor: KmConstructor) = false
                override fun match(kmProperty: KmProperty) = false
                override fun match(kmFunction: KmFunction) = test(kmFunction)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/Gradleception.kt

    import model.CIBuildModel
    import model.Stage
    
    /**
     * Build a Gradle distribution (dogfood-first) and use this distribution to build a distribution again (dogfood-second).
     * Use `dogfood-second` to run `test sanityCheck`.
     */
    class Gradleception(
        model: CIBuildModel,
        stage: Stage,
        buildJvm: Jvm,
        jvmDescription: String,
        bundleGroovyMajor: Int? = null,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. internal/event/rulesmap_test.go

    		result := testCase.rulesMap.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rulesMap, result)
    		}
    
    		result.Add(testCase.rulesMapToAdd)
    		if reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesMapAdd(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 05 18:43:06 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  5. cmd/os-reliable_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    // Tests - mkdirAll()
    func TestOSMkdirAll(t *testing.T) {
    	// create xlStorage test setup
    	_, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	if err = mkdirAll("", 0o777, ""); err != errInvalidArgument {
    		t.Fatal("Unexpected error", err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.ArgumentCaptor;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultArtifactDescriptorReaderTest extends AbstractRepositoryTestCase {
    
        @Test
        void testMng5459() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    
    class DefaultProjectArtifactsCacheTest {
    
        private ProjectArtifactsCache cache;
    
        @BeforeEach
        void setUp() throws Exception {
            cache = new DefaultProjectArtifactsCache();
        }
    
        @Test
        void testProjectDependencyOrder() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/apache/maven/its/bom/0.1/bom-0.1.pom

        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.apache.maven.its</groupId>
        <artifactId>bom</artifactId>
        <version>0.1</version>
        <packaging>pom</packaging>
    
        <name>Maven Integration Test :: Dummy BOM</name>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>org.apache.maven.its</groupId>
                    <artifactId>a</artifactId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 776 bytes
    - Click Count (0)
  9. tests/test_tutorial/test_cors/test_tutorial001.py

    
    def test_cors():
        client = TestClient(app)
        # Test pre-flight response
        headers = {
            "Origin": "https://localhost.tiangolo.com",
            "Access-Control-Request-Method": "GET",
            "Access-Control-Request-Headers": "X-Example",
        }
        response = client.options("/", headers=headers)
        assert response.status_code == 200, response.text
        assert response.text == "OK"
        assert (
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/remote-repo/org/apache/maven/its/b/0.1/b-0.1.jar

    Created-By: Apache Maven Built-By: BEBE Build-Jdk: 1.6.0_07 META-INF/maven/org.apache.maven.its/b/pom.xml 4.0.0 org.apache.maven.its b 0.1 jar Maven Integration Test :: Dummy Artifact maven-core-it file:///${basedir}/repo org.apache.maven.its a 0.1 META-INF/maven/org.apache.maven.its/b/pom.properties #Generated by Maven #Sat Oct 24 00:28:17 CEST 2009 version=0.1 groupId=org.apache.maven.its artifactId=b...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top