Merge pull request #2693 from joakim-hove/deck-tree-commits

Deck tree commits
This commit is contained in:
Joakim Hove
2021-09-20 19:02:09 +02:00
committed by GitHub
4 changed files with 43 additions and 29 deletions

View File

@@ -146,7 +146,6 @@ BOOST_AUTO_TEST_CASE(keywordList_getbyindex_correctkeywordreturned) {
BOOST_AUTO_TEST_CASE(set_and_get_data_file) {
Deck deck;
BOOST_CHECK_EQUAL("", deck.getDataFile());
BOOST_CHECK_EQUAL("", deck.getInputPath());
BOOST_CHECK_EQUAL("some/path", deck.makeDeckPath("some/path"));
BOOST_CHECK_EQUAL("/abs/path", deck.makeDeckPath("/abs/path"));
@@ -157,10 +156,6 @@ BOOST_AUTO_TEST_CASE(set_and_get_data_file) {
BOOST_CHECK_EQUAL("/path/to", deck.getInputPath());
BOOST_CHECK_EQUAL("/path/to/some/path", deck.makeDeckPath("some/path"));
BOOST_CHECK_EQUAL("/abs/path", deck.makeDeckPath("/abs/path"));
deck.setDataFile("FILE");
BOOST_CHECK_EQUAL("FILE", deck.getDataFile());
BOOST_CHECK_EQUAL("", deck.getInputPath());
}
BOOST_AUTO_TEST_CASE(DummyDefaultsString) {