Skip to content

Commit

Permalink
fix SaveParticipantTest.test3 #651
Browse files Browse the repository at this point in the history
#651

"a new project will always have
.settings/org.eclipse.core.resources.prefs file generated, containing
information about project default encoding."

https://bugs.eclipse.org/bugs/show_bug.cgi?id=479450
  • Loading branch information
EcljpseB0T authored and jukzi committed Sep 11, 2023
1 parent f385650 commit d3a1f1d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public void testSaveParticipant() {
plugin2.addExpectedChange(file, project, IResourceDelta.ADDED, 0);
IResource prjFile = project.getFile(".project");
plugin2.addExpectedChange(prjFile, IResourceDelta.ADDED, 0);
plugin2.addExpectedChange(project.getFolder(".settings"), IResourceDelta.ADDED, 0);
plugin2.addExpectedChange(project.getFolder(".settings").getFile("org.eclipse.core.resources.prefs"), IResourceDelta.ADDED, 0);
IResource[] resources = buildResources(project, defineHierarchy(PROJECT_2));
plugin2.addExpectedChange(resources, IResourceDelta.ADDED, 0);
//
Expand Down

0 comments on commit d3a1f1d

Please sign in to comment.