{{>copyright comment="//"}} | |
#include "{{PROJECT_PATH}}/{{snake_case PROJECT_NAME}}.h" | |
#include <lib/async-loop/cpp/loop.h> | |
#include <lib/async-loop/default.h> | |
#include <gtest/gtest.h> | |
TEST({{pascal_case PROJECT_NAME}}Test, Smoke) { | |
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread); | |
{{snake_case PROJECT_NAME}}::App app(loop.dispatcher()); | |
loop.RunUntilIdle(); | |
} |