Exemplo n.º 1
0
        // PRIVATE


        private void verifyExpectedJson(string expectedPath, string actualPath)
        {
            string expectedJson = MyJsonFileInteractor.loadJsonFileToString(expectedPath);
            string actualJson   = MyJsonFileInteractor.loadJsonFileToString(actualPath);

            Assert.AreEqual(simplifyJson(expectedJson), actualJson);
            Console.Write("File is correctly saved!");
        }
Exemplo n.º 2
0
 private string loadJsonFileToString(string pathname)
 {
     return(MyJsonFileInteractor.loadJsonFileToString(@"/Users/williamhuebler/GameFiles/CavemanLand/CavemanLand/DataFiles/" + pathname));
 }
Exemplo n.º 3
0
 private string loadJsonFileToString(string pathname)
 {
     return(MyJsonFileInteractor.loadJsonFileToString(DATA_FILE_PATH + pathname));
 }