Search in sources :

Example 1 with TestFixture

use of org.apache.ivy.TestFixture in project ant-ivy by apache.

the class LatestCompatibleConflictManagerTest method setUp.

@Before
public void setUp() {
    fixture = new TestFixture();
    LatestCompatibleConflictManager cm = new LatestCompatibleConflictManager();
    fixture.getSettings().addConfigured(cm);
    fixture.getSettings().setDefaultConflictManager(cm);
}
Also used : TestFixture(org.apache.ivy.TestFixture) Before(org.junit.Before)

Example 2 with TestFixture

use of org.apache.ivy.TestFixture in project ant-ivy by apache.

the class RepositoryManagementEngineTest method setUp.

@Before
public void setUp() {
    fixture = new TestFixture();
    IvySettings settings = fixture.getSettings();
    repository = new RepositoryManagementEngine(settings, new SearchEngine(settings), new ResolveEngine(settings, new EventManager(), new SortEngine(settings)));
}
Also used : ResolveEngine(org.apache.ivy.core.resolve.ResolveEngine) SortEngine(org.apache.ivy.core.sort.SortEngine) SearchEngine(org.apache.ivy.core.search.SearchEngine) EventManager(org.apache.ivy.core.event.EventManager) IvySettings(org.apache.ivy.core.settings.IvySettings) TestFixture(org.apache.ivy.TestFixture) Before(org.junit.Before)

Aggregations

TestFixture (org.apache.ivy.TestFixture)2 Before (org.junit.Before)2 EventManager (org.apache.ivy.core.event.EventManager)1 ResolveEngine (org.apache.ivy.core.resolve.ResolveEngine)1 SearchEngine (org.apache.ivy.core.search.SearchEngine)1 IvySettings (org.apache.ivy.core.settings.IvySettings)1 SortEngine (org.apache.ivy.core.sort.SortEngine)1