Skip to content

Commit

Permalink
Adjust resolving tests for 4.31
Browse files Browse the repository at this point in the history
With eclipse-equinox/p2#446 and Tycho resolving
all possibly needed bundles source bundle ends up there in case it's
needed.
  • Loading branch information
akurtakov committed Mar 14, 2024
1 parent b4b0914 commit 4e118d2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008, 2022 Sonatype Inc. and others.
* Copyright (c) 2008, 2024 Sonatype Inc. and others.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -222,8 +222,8 @@ public void testBundleUsesSWT() throws Exception {

result = singleEnv(impl.resolveTargetDependencies(getTargetPlatform(), projectToResolve));

assertEquals(3, result.getArtifacts().size());
assertEquals(3, result.getNonReactorUnits().size()); // + a.jre
assertEquals(4, result.getArtifacts().size());
assertEquals(4, result.getNonReactorUnits().size()); // + a.jre

assertContainsUnit("org.eclipse.swt", result.getNonReactorUnits());
assertContainsUnit("org.eclipse.swt.gtk.linux.x86_64", result.getNonReactorUnits());
Expand Down

0 comments on commit 4e118d2

Please sign in to comment.