feat: Add some save data tests (#1623)

* saving from a test works

* testing works

* Update SavingTests.cpp

* test dServer stuff

* tests

* use dummy database and add missing pure fns

* add more tests

* add more tests

* add rocket tests

* Update BuffComponent.h

* Update test_xml_data.xml

* Update SavingTests.cpp

* update
This commit is contained in:
David Markowitz
2024-11-17 16:27:33 -08:00
committed by GitHub
parent 008e2d4dce
commit adc9cd2876
16 changed files with 570 additions and 6 deletions

View File

@@ -38,3 +38,8 @@ void Database::Destroy(std::string source) {
LOG("Trying to destroy database when it's not connected!");
}
}
void Database::_setDatabase(GameDatabase* const db) {
if (database) delete database;
database = db;
}