diff UnitTestsSources/ServerIndexTests.cpp @ 2140:aa4b8895cd23

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 16:12:47 +0100
parents 7e8889bc95c6
children 5a8840920121
line wrap: on
line diff
--- a/UnitTestsSources/ServerIndexTests.cpp	Wed Nov 09 15:25:09 2016 +0100
+++ b/UnitTestsSources/ServerIndexTests.cpp	Wed Nov 09 16:12:47 2016 +0100
@@ -671,7 +671,7 @@
 {
   const std::string path = "UnitTestsStorage";
 
-  Toolbox::RemoveFile(path + "/index");
+  SystemToolbox::RemoveFile(path + "/index");
   FilesystemStorage storage(path);
   DatabaseWrapper db;   // The SQLite DB is in memory
   db.Open();
@@ -769,7 +769,7 @@
 {
   const std::string path = "UnitTestsStorage";
 
-  Toolbox::RemoveFile(path + "/index");
+  SystemToolbox::RemoveFile(path + "/index");
   FilesystemStorage storage(path);
   DatabaseWrapper db;   // The SQLite DB is in memory
   db.Open();
@@ -824,7 +824,7 @@
   }
 
   // Because the DB is in memory, the SQLite index must not have been created
-  ASSERT_FALSE(Toolbox::IsRegularFile(path + "/index"));
+  ASSERT_FALSE(SystemToolbox::IsRegularFile(path + "/index"));
 
   context.Stop();
   db.Close();