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 {
7171 public static final String LIBRARY_PATH_SUFFIX = "libraries" ;
7272 public static final String ARDUINO_VARIANT_FOLDER_PATH = ARDUINO_CODE_FOLDER_NAME + SLACH + VARIANT ;
7373 public static final String ARDUINO_CODE_FOLDER_PATH = ARDUINO_CODE_FOLDER_NAME + SLACH + CORE ;
74+ public static final String SLOEBER_CFG = "sloeber.cfg" ;
7475
7576 // Environment variable stuff
7677 public static final String ENV_KEY_SLOEBER_START = "sloeber" + DOT ;
Original file line number Diff line number Diff line change 11package io .sloeber .core ;
22
3+ import static io .sloeber .core .common .Const .*;
34import static org .junit .Assert .*;
45
56import java .io .File ;
@@ -499,10 +500,10 @@ public void openAndCloseUsesSavedSettings() throws Exception {
499500 false );
500501
501502 // get the filenames to copy
502- IFile file = proj1 .getFile ("sloeber.cfg" ); //$NON-NLS-1$
503+ IFile file = proj1 .getFile (SLOEBER_CFG );
503504 File proj1SloeberFile = file .getLocation ().toFile ();
504505
505- file = proj2 .getFile ("sloeber.cfg" ); //$NON-NLS-1$
506+ file = proj2 .getFile (SLOEBER_CFG );
506507 File proj2SloeberFile = file .getLocation ().toFile ();
507508
508509 // close and reopen the project
You can’t perform that action at this time.
0 commit comments