Skip to content

Commit

Permalink
Fix testBuildReferenceOtherProjectSource
Browse files Browse the repository at this point in the history
test was calling Clean instead of Build
  • Loading branch information
mickaelistria committed Dec 3, 2024
1 parent 6d0257b commit f0da972
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void testBuildReferenceOtherProjectSource() throws Exception {
IWorkspaceDescription wsDesc = ResourcesPlugin.getWorkspace().getDescription();
wsDesc.setAutoBuilding(false);
ResourcesPlugin.getWorkspace().setDescription(wsDesc);
project.build(IncrementalProjectBuilder.CLEAN_BUILD, null);
project.build(IncrementalProjectBuilder.FULL_BUILD, null);
IProject dependent = importProject("projects/dependent");
// at this stage, no .class file exists, so we test that resolution through sourcePath/referenced projects work
CompilationUnit unit = (CompilationUnit)JavaCore.create(dependent).findElement(Path.fromOSString("D.java"));
Expand Down

0 comments on commit f0da972

Please sign in to comment.