Skip to content

Commit

Permalink
fine tune
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Rueger <[email protected]>
  • Loading branch information
chrisrueger committed Jul 5, 2024
1 parent 3aaca20 commit 93837de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions biz.aQute.bndlib.tests/test/test/ProjectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,10 @@ public void testRepoMacro() throws Exception {

@Test
public void testRepoCollector() throws Exception {
try (Workspace ws = getWorkspace(IO.getFile("testresources/ws")); Project project = ws.getProject("p2")) {
try (Workspace ws = getWorkspace(IO.getFile("testresources/ws"));
Project project = ws.getProject("p2");
RepoCollector rc = new RepoCollector(project);) {

System.err.println(project.getPlugins(FileRepo.class));
String s = project.getReplacer()
.process(("${repo;libtest}"));
Expand All @@ -731,7 +734,6 @@ public void testRepoCollector() throws Exception {
"${repo;org.apache.felix.configadmin;latest},${repo;org.apache.felix.ipojo;latest}");

// test RepoCollector
RepoCollector rc = new RepoCollector(project);
Collection<Container> repoRefs = rc.getRepoRefs();
assertThat(repoRefs).hasSize(2);
Iterator<Container> iterator = repoRefs.iterator();
Expand Down

0 comments on commit 93837de

Please sign in to comment.