mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
Tests. CI. Log root endpoint.
This commit is contained in:
parent
67991f8d74
commit
d212fb843a
@ -110,8 +110,8 @@ void runTests() {
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
|
||||||
oatpp::test::web::PipelineTest test_virtual(0, 3000);
|
// oatpp::test::web::PipelineTest test_virtual(0, 3000);
|
||||||
test_virtual.run();
|
// test_virtual.run();
|
||||||
|
|
||||||
oatpp::test::web::PipelineTest test_port(8000, 3000);
|
oatpp::test::web::PipelineTest test_port(8000, 3000);
|
||||||
test_port.run();
|
test_port.run();
|
||||||
|
@ -65,6 +65,7 @@ public:
|
|||||||
std::atomic<bool> available;
|
std::atomic<bool> available;
|
||||||
|
|
||||||
ENDPOINT("GET", "/", root) {
|
ENDPOINT("GET", "/", root) {
|
||||||
|
OATPP_LOGD("AAA", "Root Called!");
|
||||||
return createResponse(Status::CODE_200, "Hello World!!!");
|
return createResponse(Status::CODE_200, "Hello World!!!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user