lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [4/9] git commit: refs/heads/clownfish-test-v2 - Make method TestBatch#Run_Tests abstract
Date Mon, 18 Feb 2013 19:50:20 GMT
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 <wellnhofer@aevum.de>
Authored: Mon Feb 18 19:56:56 2013 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
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.


Mime
View raw message