File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
io.sloeber.tests/src/io/sloeber/core Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -892,9 +892,17 @@ public void issue1723() throws Exception {
892
892
theTestProject .build (IncrementalProjectBuilder .FULL_BUILD , new NullProgressMonitor ());
893
893
assertNull (Shared .hasBuildErrors (theTestProject ),"lib added build should succeed" );
894
894
895
+ //open and close the project to clear the cache
896
+ theTestProject .close (null );
897
+ // just wait a while
898
+ Thread .sleep (1000 );
899
+
900
+ theTestProject .open (new NullProgressMonitor ());
901
+
895
902
//There should be 1 lib in the project
903
+ sloeberConf =ISloeberConfiguration .getActiveConfig (theTestProject , true );
896
904
Map <IPath , IArduinoLibraryVersion > usedLibs =sloeberConf .getUsedLibraries ();
897
- assertTrue (usedLibs .size ()==0 ,"Private Lib not found" );
905
+ assertTrue (usedLibs .size ()==1 ,"Private Lib not found" );
898
906
899
907
900
908
}
You can’t perform that action at this time.
0 commit comments