WIP, adding remote test client/server
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user