Skip to content

Commit

Permalink
Issue eclipse-tycho#443 - Add Integration-Test for Maven coordinates in
Browse files Browse the repository at this point in the history
dependency:list
  • Loading branch information
mickaelistria committed Jan 5, 2022
1 parent e5ad08f commit 26c90cb
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -41,6 +41,16 @@ public void testMavenArtifactHaveMavenRepoPath() throws Exception {
Files.readString(Path.of(verifier.getBasedir(), verifier.getLogFileName())).contains("p2/osgi"));
}

@Test
public void testMavenArtifactHaveMavenDepsCoordinates() throws Exception {
Verifier verifier = getVerifier("target.maven", false, true);
verifier.executeGoal("dependency:list");
verifier.verifyErrorFreeLog();
verifier.verifyTextInLog("commons-lang:commons-lang:jar:2.4:system"); // this is a weak assert, should
// be
// improved
}

@Test
public void testMavenLocationMulti() throws Exception {
Verifier verifier = getVerifier("target.mavenMulti", false, true);
Expand Down

0 comments on commit 26c90cb

Please sign in to comment.