Tidy up unit test infrastructure and mock classes.

* test/api/*.vala: Renamed files that contained mock objects to *-mock.vala,
  not *-test.vala.

* test/testcase.vala: Renamed to test-case.vala for consistency, remove
  TestCase class from Gee package since that's really not true. Clean up
  code for consistency.

* test/meson.build, test/CMakeLists.txt: Split TestCase compilation out
  into a separate test lib.
This commit is contained in:
Michael James Gratton 2018-03-09 11:58:02 +11:00
parent 50f73ff252
commit 15748cef03
31 changed files with 117 additions and 73 deletions

View file

@ -5,7 +5,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
class Geary.Imap.CreateCommandTest : Gee.TestCase {
class Geary.Imap.CreateCommandTest : TestCase {
public CreateCommandTest() {