Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Feb 28, 2013
1 parent 93a302f commit 7cf8edb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
package test.org.jboss.forge.dependencies.maven;

import static org.junit.Assert.*;

import java.util.List;
import java.util.Set;

Expand Down Expand Up @@ -60,6 +62,15 @@ public void testResolveClassifiedArtifact() throws Exception
Assert.assertTrue(dependency.isOptional());
}

@Test
public void testResolveWildcardArtifactId() throws Exception
{
DependencyQuery query = DependencyQueryBuilder.create(CoordinateBuilder.create().setGroupId("org.jboss.forge")
.setClassifier("forge-addon"));
Set<Dependency> coreAddons = resolver.resolveDependencies(query);
Assert.assertFalse(coreAddons.isEmpty());
}

@Test
public void testResolveVersions() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import java.util.HashMap;
import java.util.Map;

import org.jboss.forge.ui.input.UISelection;

/**
* A default implementation of {@link UIContext}.
*
Expand Down

0 comments on commit 7cf8edb

Please sign in to comment.