// method to test the constructor void QueryTest::testConstructor() { // create a query object QueryProcessor myQuery = QueryProcessor(); CPPUNIT_ASSERT_EQUAL(0 , myQuery.insertNode("test", "test", -1)); }
void IndexHandler::get_queries(string query) { QueryProcessor processor = QueryProcessor(*index); processor.initiate_query(query); }