Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 1,280 for TEST (0.01 seconds)

  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"));
    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)
  2. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
            Build thing = new Build();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Build().toString());
        }
    
        @Test
        public void testToStringNotNonsense() {
            Build build = new Build();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. compat/maven-compat/pom.xml

          <artifactId>plexus-testing</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-file</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                    Change("org.gradle.api.tasks.testing.Test", "Method org.gradle.api.tasks.testing.Test.setOutputDir(java.io.File)"),
                    Change("org.gradle.api.tasks.compile.JavaCompile", "Method org.gradle.api.tasks.compile.JavaCompile.getSources()"),
                )
            )
        }
    
        @Test
        fun `verify AlphabeticalAcceptedApiChangesTask accepts properly ordered changes`() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.DefaultArtifactRepository;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    
    @Deprecated
    class DefaultMirrorSelectorTest {
        @Test
        void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/RepositoryUtilsTest.java

     */
    package org.apache.maven;
    
    import org.apache.maven.artifact.Artifact;
    import org.eclipse.aether.graph.Dependency;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class RepositoryUtilsTest {
    
        @Test
        void testToArtifactMethodsReturnNullWhenInputParameterIsNull() {
            assertNull(RepositoryUtils.toArtifact((Dependency) null));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/projects/project-builder/mng-3023/pom.xml

      <groupId>org.apache.maven.its.mng3023</groupId>
      <artifactId>parent</artifactId>
      <version>1</version>
      <packaging>pom</packaging>
    
      <name>Maven Integration Test :: MNG-3023</name>
      <description>Test that reactor projects are included in dependency resolution.</description>
    
      <modules>
        <module>dependency</module>
        <module>consumer</module>
      </modules>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/resources-project-builder/baseuri-interpolation/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3760</groupId>
      <artifactId>test1</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: MNG-3760</name>
      <description>
        Test interpolation of ${project.baseUri}
      </description>
    
      <properties>
        <!-- this is where we collect all the interpolated values for the POM dump -->
        <prop1>${project.baseUri}</prop1>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_response_status_code/test_tutorial001_tutorial002.py

        client = TestClient(mod.app)
        return client
    
    
    def test_create_item(client: TestClient):
        response = client.post("/items/", params={"name": "Test Item"})
        assert response.status_code == 201, response.text
        assert response.json() == {"name": "Test Item"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            target = createMetadataFromArtifact(artifact);
        }
    
        /*--- START test common metadata ---*/
        @Test
        void mergeEmptyMetadata() throws Exception {
            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
        void mergeDifferentGAV() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
Back to Top