public void testImport()
        {
            var importer = new ImportExportNGUILocalization.NGUILocalizationCSVImporter(fakeImportString);
            Dictionary <string, Dictionary <string, string> > map = importer.getMapOfLanguagesToKeyValueTranslations();

            Assert.NotNull(map);
        }
        public void testImportExport()
        {
            //escapedTex,""foobar foo bar monkey potatoe, lots of dandruff,"""" if a quiz is quizzical, what's a test"",not escaped at all.  I'm still trying to break out

            var importer = new ImportExportNGUILocalization.NGUILocalizationCSVImporter(fakeImportString);
            Dictionary<string, Dictionary<string, string>> map = importer.getMapOfLanguagesToKeyValueTranslations();
            Assert.NotNull(map);
            Assert.IsTrue(map.ContainsKey("English"));
            Assert.IsTrue(map.ContainsKey("Français"));

            var exporter = new ImportExportNGUILocalization.NGUICSVExporter(map);
            string resultCSV = exporter.getCSV();
            string cleanInput = fakeImportString.Replace("\r\n", "\n");
            Debug.Log(resultCSV);
            Debug.Log(cleanInput);
            Assert.AreEqual(cleanInput, resultCSV);
        }
        public void testImportExport()
        {
            //escapedTex,""foobar foo bar monkey potatoe, lots of dandruff,"""" if a quiz is quizzical, what's a test"",not escaped at all.  I'm still trying to break out

            var importer = new ImportExportNGUILocalization.NGUILocalizationCSVImporter(fakeImportString);
            Dictionary <string, Dictionary <string, string> > map = importer.getMapOfLanguagesToKeyValueTranslations();

            Assert.NotNull(map);
            Assert.IsTrue(map.ContainsKey("English"));
            Assert.IsTrue(map.ContainsKey("Français"));

            var    exporter   = new ImportExportNGUILocalization.NGUICSVExporter(map);
            string resultCSV  = exporter.getCSV();
            string cleanInput = fakeImportString.Replace("\r\n", "\n");

            Debug.Log(resultCSV);
            Debug.Log(cleanInput);
            Assert.AreEqual(cleanInput, resultCSV);
        }
 public void testImport()
 {
     var importer = new ImportExportNGUILocalization.NGUILocalizationCSVImporter(fakeImportString);
     Dictionary<string, Dictionary<string, string>> map = importer.getMapOfLanguagesToKeyValueTranslations();
     Assert.NotNull(map);
 }