Skip to content

Commit

Permalink
feat: add more test cases of failing to start graph
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Jan 9, 2025
1 parent f63480a commit 83af076
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class test_app : public ten::app_t {
"nodes": [{
"type": "extension",
"name": "predefined_graph",
"addon": "predefined_graph_basic_1__predefined_graph",
"addon": "predefined_graph_incorrect_1__predefined_graph",
"extension_group": "predefined_graph_group"
}]
}]
Expand All @@ -75,12 +75,12 @@ void *app_thread_main(TEN_UNUSED void *args) {
return nullptr;
}

TEN_CPP_REGISTER_ADDON_AS_EXTENSION(predefined_graph_basic_1__predefined_graph,
test_predefined_graph);
TEN_CPP_REGISTER_ADDON_AS_EXTENSION(
predefined_graph_incorrect_1__predefined_graph, test_predefined_graph);

} // namespace

TEST(PredefinedGraphTest, PredefinedGraphBasic1) { // NOLINT
TEST(PredefinedGraphTest, PredefinedGraphIncorrect1) { // NOLINT
auto *app_thread = ten_thread_create("app thread", app_thread_main, nullptr);

// Create a client and connect to the app.
Expand Down

0 comments on commit 83af076

Please sign in to comment.