tests: Convert ExpressionMatchTests into a GTest-based test case
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Sep 2018 18:42:51 +0000 (20:42 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commited5b2ff32158ae72c011eb1228f373cec05cbfeb
tree7d032fc7783dffac08d136c44a0a7e536825eea4
parent8f2ee00f4edef1693628d3af0bdee84d725eb754
tests: Convert ExpressionMatchTests into a GTest-based test case

As first contender for the newly introduced test framework, use
the recently added ExpressionMatchTests class. Convert to use
GTest, and move into the new home for Quassel unit tests (the
tests/<module>/ directory).

With this, "make test" (or "ninja test") actually does something
if Quassel is configured with -DBUILD_TESTING=ON.
CMakeLists.txt
src/common/CMakeLists.txt
src/common/expressionmatchtests.h [deleted file]
tests/CMakeLists.txt [new file with mode: 0644]
tests/common/CMakeLists.txt [new file with mode: 0644]
tests/common/expressionmatchtest.cpp [moved from src/common/expressionmatchtests.cpp with 55% similarity]