Package org.apache.maven.repository.metadata

Examples of org.apache.maven.repository.metadata.ClasspathContainer


  }
    //------------------------------------------------------------------------------------------
    public void testCompileClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.compile, false );

         assertNotNull("null classpath container after compile transform", res );
         assertNotNull("null classpath after compile transform", res.getClasspath() );
         assertEquals("compile classpath should have 3 entries", 3, res.getClasspath().size() );
    }
View Full Code Here


    }
    //------------------------------------------------------------------------------------------
    public void testRuntimeClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.runtime, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("runtime artifact version should be 1.1", "1.1", md.getVersion() );
    }
View Full Code Here

    }
    //------------------------------------------------------------------------------------------
    public void testTestClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.test, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("test artifact version should be 1.2", "1.2", md.getVersion() );
    }
View Full Code Here

  }
    //------------------------------------------------------------------------------------------
    public void testCompileClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.compile, false );

         assertNotNull("null classpath container after compile transform", res );
         assertNotNull("null classpath after compile transform", res.getClasspath() );
         assertEquals("compile classpath should have 3 entries", 3, res.getClasspath().size() );
    }
View Full Code Here

    }
    //------------------------------------------------------------------------------------------
    public void testRuntimeClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.runtime, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("runtime artifact version should be 1.1", "1.1", md.getVersion() );
    }
View Full Code Here

    }
    //------------------------------------------------------------------------------------------
    public void testTestClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.test, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("test artifact version should be 1.2", "1.2", md.getVersion() );
    }
View Full Code Here

  }
    //------------------------------------------------------------------------------------------
    public void testCompileClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.compile, false );

         assertNotNull("null classpath container after compile transform", res );
         assertNotNull("null classpath after compile transform", res.getClasspath() );
         assertEquals("compile classpath should have 3 entries", 3, res.getClasspath().size() );
    }
View Full Code Here

    }
    //------------------------------------------------------------------------------------------
    public void testRuntimeClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.runtime, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("runtime artifact version should be 1.1", "1.1", md.getVersion() );
    }
View Full Code Here

    }
    //------------------------------------------------------------------------------------------
    public void testTestClasspathTransform()
    throws Exception
    {
      ClasspathContainer res;
     
      res = transform.transform( graph, ArtifactScopeEnum.test, false );

         assertNotNull("null classpath container after runtime transform", res );
         assertNotNull("null classpath after runtime transform", res.getClasspath() );
         assertEquals("runtime classpath should have 4 entries", 4, res.getClasspath().size() );
        
         ArtifactMetadata md = res.getClasspath().get(3);
         assertEquals("test artifact version should be 1.2", "1.2", md.getVersion() );
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.repository.metadata.ClasspathContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.