File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
io.sloeber.tests/src/io/sloeber/core Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 11package io .sloeber .core ;
22
3- import static org .junit .Assert .fail ;
3+ import static org .junit .Assert .* ;
44
55import org .eclipse .core .resources .IProject ;
66import org .eclipse .core .resources .IWorkspace ;
77import org .eclipse .core .resources .IWorkspaceRoot ;
88import org .eclipse .core .resources .IncrementalProjectBuilder ;
99import org .eclipse .core .resources .ResourcesPlugin ;
10+ import org .junit .Before ;
1011import org .junit .Test ;
1112
13+ import io .sloeber .core .api .Preferences ;
14+ import io .sloeber .providers .Arduino ;
15+
1216/**
1317 * this test assumes it is stared in a clean workspace and not in the UI thread
1418 *
@@ -26,6 +30,16 @@ public class UpgradeTest {
2630 *
2731 * @throws Exception
2832 */
33+ @ Before
34+ public void setup () {
35+ // stop bonjour as it clutters the console log
36+ Preferences .setUseBonjour (false );
37+ Shared .waitForAllJobsToFinish ();
38+ // TOFIX: this will have to change into a specific version
39+ // or we will have to add the install based on stored data
40+ Arduino .installLatestAVRBoards ();
41+ Shared .waitForAllJobsToFinish ();
42+ }
2943
3044 @ Test
3145 public void upgradeSingleConfigProjectFromVersion4_3_3 () throws Exception {
You can’t perform that action at this time.
0 commit comments