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 1
1
package io .sloeber .core ;
2
2
3
- import static org .junit .Assert .fail ;
3
+ import static org .junit .Assert .* ;
4
4
5
5
import org .eclipse .core .resources .IProject ;
6
6
import org .eclipse .core .resources .IWorkspace ;
7
7
import org .eclipse .core .resources .IWorkspaceRoot ;
8
8
import org .eclipse .core .resources .IncrementalProjectBuilder ;
9
9
import org .eclipse .core .resources .ResourcesPlugin ;
10
+ import org .junit .Before ;
10
11
import org .junit .Test ;
11
12
13
+ import io .sloeber .core .api .Preferences ;
14
+ import io .sloeber .providers .Arduino ;
15
+
12
16
/**
13
17
* this test assumes it is stared in a clean workspace and not in the UI thread
14
18
*
@@ -26,6 +30,16 @@ public class UpgradeTest {
26
30
*
27
31
* @throws Exception
28
32
*/
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
+ }
29
43
30
44
@ Test
31
45
public void upgradeSingleConfigProjectFromVersion4_3_3 () throws Exception {
You can’t perform that action at this time.
0 commit comments