Ejemplo n.º 1
0
        public void artifactSetUp()
        {
            ReferenceManager refMngr = new ReferenceManager();

            Artifact.Artifact artifact = new Artifact.Artifact();

            artifact.GroupId    = "npanday.artifact";
            artifact.Version    = "1.1-SNAPSHOT";
            artifact.ArtifactId = "NPanday.Artifact";
            artifact.Extension  = "dll";

            refMngr.CopyArtifact(artifact);
        }
Ejemplo n.º 2
0
 public void addMavenArtifact()
 {
     testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll");
     refManager.CopyArtifact(testArtifact, null);
     Assert.IsTrue(new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll").Exists);
 }