Make method TestBatch#Run_Tests abstract
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/fa5fa2cf Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/fa5fa2cf Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/fa5fa2cf Branch: refs/heads/clownfish-test-v2 Commit: fa5fa2cf1ee41a719e07b318c8f3e664e8bf9df4 Parents: 5433372 Author: Nick Wellnhofer <[email protected]> Authored: Mon Feb 18 19:56:56 2013 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Mon Feb 18 20:14:55 2013 +0100 ---------------------------------------------------------------------- core/Lucy/Test.c | 4 ---- core/Lucy/Test.cfh | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/fa5fa2cf/core/Lucy/Test.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Test.c b/core/Lucy/Test.c index fb3a51c..370a933 100644 --- a/core/Lucy/Test.c +++ b/core/Lucy/Test.c @@ -273,10 +273,6 @@ TestBatch_run(TestBatch *self) { return !failed; } -void -TestBatch_run_tests(TestBatch *self) { -} - int64_t TestBatch_get_num_planned(TestBatch *self) { return self->num_tests; http://git-wip-us.apache.org/repos/asf/lucy/blob/fa5fa2cf/core/Lucy/Test.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Test.cfh b/core/Lucy/Test.cfh index 6eebdf3..cfda123 100644 --- a/core/Lucy/Test.cfh +++ b/core/Lucy/Test.cfh @@ -26,7 +26,7 @@ inert class Lucy::Test { run_all_batches(TestFormatter *formatter); } -class Lucy::Test::TestBatch inherits Clownfish::Obj { +abstract class Lucy::Test::TestBatch inherits Clownfish::Obj { TestFormatter *formatter; int64_t test_num; int64_t num_tests; @@ -51,10 +51,8 @@ class Lucy::Test::TestBatch inherits Clownfish::Obj { Run(TestBatch *self); /** Run the tests of the test batch. - * - * This method will made be abstract later. */ - void + abstract void Run_Tests(TestBatch *self); /** Return the number of tests planned.
