WIP, adding remote test client/server

This commit is contained in:
emeric
2014-04-14 22:56:20 +02:00
parent 298f6fb885
commit 9409fadc63
22 changed files with 438 additions and 46 deletions
+27
View File
@@ -0,0 +1,27 @@
#include "TestDatabase.hpp"
namespace TestDatabase {
DatabaseHandler* create()
{
boost::filesystem::path p ("test_db");
// Remove previous db
boost::filesystem::remove(p);
DatabaseHandler* db = new DatabaseHandler(p);
// Populate DB
// Add artist
// Add
return db;
}
} // namespace TestDatabase