File tree Expand file tree Collapse file tree
core/src/test/java/edu/wpi/grip/core/serialization Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,11 +63,7 @@ public void setUp() throws Exception {
6363 reader .close ();
6464 String newtext = oldtext .replaceAll ("REPLACEME" , photoFileName );//This gives the correct location of the test photo needed to the project file
6565 //The following alters the project settings in the project file to the defaults given in the "settings" variable
66- newtext = newtext .replaceAll ("<teamNumber>.*</teamNumber>" , "<teamNumber>" + settings .getTeamNumber () + "</teamNumber>" );
67- newtext = newtext .replaceAll ("<publishAddress>.*</publishAddress>" , "<publishAddress>" + settings .getPublishAddress () + "</publishAddress>" );
68- newtext = newtext .replaceAll ("<deployAddress>.*</deployAddress>" , "<deployAddress>" + settings .getDeployAddress () + "</deployAddress>" );
6966 newtext = newtext .replaceAll ("<deployDir>.*</deployDir>" , "<deployDir>" + settings .getDeployDir () + "</deployDir>" );
70- newtext = newtext .replaceAll ("<deployUser>.*</deployUser>" , "<deployUser>" + settings .getDeployUser () + "</deployUser>" );
7167 newtext = newtext .replaceAll ("<deployJavaHome>.*</deployJavaHome>" , "<deployJavaHome>" + settings .getDeployJavaHome () + "</deployJavaHome>" );
7268
7369 //Write the altered project file text
You can’t perform that action at this time.
0 commit comments