File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
io.sloeber.core/src/io/sloeber/core/common
io.sloeber.tests/src/io/sloeber/core Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ public class Const {
71
71
public static final String LIBRARY_PATH_SUFFIX = "libraries" ;
72
72
public static final String ARDUINO_VARIANT_FOLDER_PATH = ARDUINO_CODE_FOLDER_NAME + SLACH + VARIANT ;
73
73
public static final String ARDUINO_CODE_FOLDER_PATH = ARDUINO_CODE_FOLDER_NAME + SLACH + CORE ;
74
+ public static final String SLOEBER_CFG = "sloeber.cfg" ;
74
75
75
76
// Environment variable stuff
76
77
public static final String ENV_KEY_SLOEBER_START = "sloeber" + DOT ;
Original file line number Diff line number Diff line change 1
1
package io .sloeber .core ;
2
2
3
+ import static io .sloeber .core .common .Const .*;
3
4
import static org .junit .Assert .*;
4
5
5
6
import java .io .File ;
@@ -499,10 +500,10 @@ public void openAndCloseUsesSavedSettings() throws Exception {
499
500
false );
500
501
501
502
// get the filenames to copy
502
- IFile file = proj1 .getFile ("sloeber.cfg" ); //$NON-NLS-1$
503
+ IFile file = proj1 .getFile (SLOEBER_CFG );
503
504
File proj1SloeberFile = file .getLocation ().toFile ();
504
505
505
- file = proj2 .getFile ("sloeber.cfg" ); //$NON-NLS-1$
506
+ file = proj2 .getFile (SLOEBER_CFG );
506
507
File proj2SloeberFile = file .getLocation ().toFile ();
507
508
508
509
// close and reopen the project
You can’t perform that action at this time.
0 commit comments