Added back sequence diagram test

This commit is contained in:
Bartek Kryza
2021-03-31 00:54:08 +02:00
parent 5bbfbafd78
commit 4ab38a3f3c
2 changed files with 2 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
TEST_CASE("t20001", "[test-case][sequence]") TEST_CASE("t20001", "[test-case][sequence]")
{ {
auto [config, db] = load_config("t20001"); auto [config, db] = load_config2("t20001");
auto diagram = config.diagrams["t20001_sequence"]; auto diagram = config.diagrams["t20001_sequence"];

View File

@@ -24,9 +24,6 @@ load_config(const std::string &test_name)
{ {
auto config = clanguml::config::load(test_name + "/.clanguml"); auto config = clanguml::config::load(test_name + "/.clanguml");
// auto db = clanguml::cx::compilation_database::from_directory(
// config.compilation_database_dir);
cppast::libclang_compilation_database db(config.compilation_database_dir); cppast::libclang_compilation_database db(config.compilation_database_dir);
return std::make_pair(std::move(config), std::move(db)); return std::make_pair(std::move(config), std::move(db));
@@ -147,7 +144,7 @@ using clanguml::test::matchers::Static;
// //
// Sequence diagram tests // Sequence diagram tests
// //
//#include "t20001/test_case.h" #include "t20001/test_case.h"
// //
// Other tests (e.g. configuration file) // Other tests (e.g. configuration file)