Skip to content

Commit

Permalink
VersionTest for version v0_18_0
Browse files Browse the repository at this point in the history
  • Loading branch information
obraunsdorf committed Mar 27, 2022
1 parent e00c48a commit 6d15f5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Binary file not shown.
13 changes: 13 additions & 0 deletions test/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ BOOST_AUTO_TEST_SUITE(VersionTests)
BOOST_CHECK(PBCController::getInstance()->getPlaybook()->getCategory("TestCategory"));
}

BOOST_AUTO_TEST_CASE(v0_18_0) {
path global_test_directory = PBCTestConfig::test_base_dir;
path test_pbs =
global_test_directory
.append("resources")
.append("StorageTests")
.append("VersionTestPlaybooks");
path test_pb_path = path(test_pbs).append("v0_18_0.pbc");
PBCStorage::getInstance()->loadActivePlaybook("test", test_pb_path.string());

checkPlaybook();
}

BOOST_AUTO_TEST_CASE(v0_15_0) {
path global_test_directory = PBCTestConfig::test_base_dir;
path test_pbs =
Expand Down

0 comments on commit 6d15f5c

Please sign in to comment.