Added back sequence diagram test
This commit is contained in:
@@ -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"];
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user