Ejemplo n.º 1
0
        public void Setup()
        {
            _storagePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
            _poiService  = new POIJsonService(_storagePath);

            foreach (var filename in Directory.EnumerateFiles(_storagePath, "*.json"))
            {
                File.Delete(filename);
            }
        }
Ejemplo n.º 2
0
        public void Setup()
        {
            string storagePath =
                Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

            _poiService = new POIJsonService(storagePath);
            // clear any existing json files
            foreach (string filename in Directory.EnumerateFiles(storagePath, "*.json"))
            {
                File.Delete(filename);
            }
        }
Ejemplo n.º 3
0
        public void Setup()
        {
            ///data/data/POITestApp.POITestApp/files/
              string storagePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

              //Initialize the private variable to an instance of POIJsonService
              _poiService = new POIJsonService(storagePath);

              // clear any existing json files
              foreach (string filename in Directory.EnumerateFiles(storagePath, "*.json"))
              {
            File.Delete(filename);
              }
        }