diff --git a/test/suites/api/test_cpp.cpp b/test/suites/api/test_cpp.cpp index 5d3964a..8a3b356 100644 --- a/test/suites/api/test_cpp.cpp +++ b/test/suites/api/test_cpp.cpp @@ -1,6 +1,5 @@ #include #include -#include #include "jansson.hpp" @@ -23,7 +22,7 @@ #define ASSERT_FALSE(p, m) ASSERT_OP(p, true, !=, m) int main() { - json::Value e1(json::load_file("suites/api/test.json")); + json::Value e1(json::load_file("suites/api/test_cpp.json")); json::Value e2(e1); json::Value e3; json::Value e4(json::load_string("{\"foo\": true, \"bar\": \"test\"}")); diff --git a/test/suites/api/test.json b/test/suites/api/test_cpp.json similarity index 99% rename from test/suites/api/test.json rename to test/suites/api/test_cpp.json index 9eea6ad..d31a395 100644 --- a/test/suites/api/test.json +++ b/test/suites/api/test_cpp.json @@ -1,5 +1,5 @@ {"web-app": { - "servlet": [ + "servlet": [ { "servlet-name": "cofaxCDS", "servlet-class": "org.cofax.cds.CDSServlet", @@ -55,7 +55,7 @@ { "servlet-name": "cofaxAdmin", "servlet-class": "org.cofax.cds.AdminServlet"}, - + { "servlet-name": "fileServlet", "servlet-class": "org.cofax.cds.FileServlet"}, @@ -82,7 +82,7 @@ "cofaxAdmin": "/admin/*", "fileServlet": "/static/*", "cofaxTools": "/tools/*"}, - + "taglib": { "taglib-uri": "cofax.tld", "taglib-location": "/WEB-INF/tlds/cofax.tld"}}}