Commit 4990cb04 authored by Katie Laverty's avatar Katie Laverty

Updated the ProjectServiceTest to add the new properties

parent a47babba
...@@ -320,7 +320,9 @@ public class ProjectServiceTest { ...@@ -320,7 +320,9 @@ public class ProjectServiceTest {
"name=Project2\n" + "name=Project2\n" +
"assets=../assets\n" + "assets=../assets\n" +
"source=../src\n" + "source=../src\n" +
"build=../build\n"); "build=../build\n" +
"versioncode=1\n" +
"versionname=1.0\n");
expectedYaFiles2.put("src/com/domain/noname/Project2/Screen1.scm", expectedYaFiles2.put("src/com/domain/noname/Project2/Screen1.scm",
YOUNG_ANDROID_PROJECT_SCM_SOURCE); YOUNG_ANDROID_PROJECT_SCM_SOURCE);
assertEquals(expectedYaFiles2, getTextFiles(USER_ID_ONE, yaProject2)); assertEquals(expectedYaFiles2, getTextFiles(USER_ID_ONE, yaProject2));
...@@ -458,7 +460,9 @@ public class ProjectServiceTest { ...@@ -458,7 +460,9 @@ public class ProjectServiceTest {
String loadedSettings = projectServiceImpl.loadProjectSettings(projectId); String loadedSettings = projectServiceImpl.loadProjectSettings(projectId);
assertEquals( assertEquals(
"{\"" + SettingsConstants.PROJECT_YOUNG_ANDROID_SETTINGS + "\":" + "{\"" + SettingsConstants.PROJECT_YOUNG_ANDROID_SETTINGS + "\":" +
"{\"" + SettingsConstants.YOUNG_ANDROID_SETTINGS_ICON + "\":\"\"}}", "{\"" + SettingsConstants.YOUNG_ANDROID_SETTINGS_ICON + "\":\"\",\"" +
SettingsConstants.YOUNG_ANDROID_SETTINGS_VERSION_CODE + "\":\"1\",\"" +
SettingsConstants.YOUNG_ANDROID_SETTINGS_VERSION_NAME + "\":\"1.0\"}}",
loadedSettings); loadedSettings);
String storedSettings = String storedSettings =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment