From 5e69673563dd72f23dabc1f6d86ad684710b23bb Mon Sep 17 00:00:00 2001 From: Richard Walters Date: Sat, 2 Jun 2018 19:44:09 -0700 Subject: Initial Revision. --- test/CMakeLists.txt | 25 +++++++++++++++++++++++++ test/src/UriTests.cpp | 15 +++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 test/CMakeLists.txt create mode 100644 test/src/UriTests.cpp (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..7c3eb76 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,25 @@ +# CMakeLists.txt for UriTests +# +# © 2018 by Richard Walters + +cmake_minimum_required(VERSION 3.8) +set(This UriTests) + +set(Sources + src/UriTests.cpp +) + +add_executable(${This} ${Sources}) +set_target_properties(${This} PROPERTIES + FOLDER Tests +) + +target_link_libraries(${This} PUBLIC + gtest_main + Uri +) + +add_test( + NAME ${This} + COMMAND ${This} +) diff --git a/test/src/UriTests.cpp b/test/src/UriTests.cpp new file mode 100644 index 0000000..3cb5336 --- /dev/null +++ b/test/src/UriTests.cpp @@ -0,0 +1,15 @@ +/** + * @file UriTests.cpp + * + * This module contains the unit tests of the Uri::Uri class. + * + * © 2018 by Richard Walters + */ + +#include +#include + +TEST(UriTests, Placeholder) { + Uri::Uri uri; + ASSERT_TRUE(true); +} -- cgit v1.2.3