lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [6/9] git commit: refs/heads/clownfish-test-v2 - Remove method TestBatch#Plan
Date Mon, 18 Feb 2013 19:50:20 GMT
Remove method TestBatch#Plan


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/54333727
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/54333727
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/54333727

Branch: refs/heads/clownfish-test-v2
Commit: 543337274ad9e13c335ae982a78335216c1688e4
Parents: 66376c0
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Mon Feb 18 19:55:07 2013 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Mon Feb 18 20:14:55 2013 +0100

----------------------------------------------------------------------
 core/Lucy/Test.c   |    8 ++------
 core/Lucy/Test.cfh |    3 ---
 2 files changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/54333727/core/Lucy/Test.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test.c b/core/Lucy/Test.c
index ecde899..fb3a51c 100644
--- a/core/Lucy/Test.c
+++ b/core/Lucy/Test.c
@@ -250,14 +250,10 @@ TestBatch_destroy(TestBatch *self) {
     SUPER_DESTROY(self, TESTBATCH);
 }
 
-void
-TestBatch_plan(TestBatch *self) {
-    TestFormatter_Batch_Prologue(self->formatter, self);
-}
-
 bool
 TestBatch_run(TestBatch *self) {
-    TestBatch_Plan(self);
+    TestFormatter_Batch_Prologue(self->formatter, self);
+
     TestBatch_Run_Tests(self);
 
     bool failed = false;

http://git-wip-us.apache.org/repos/asf/lucy/blob/54333727/core/Lucy/Test.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Test.cfh b/core/Lucy/Test.cfh
index bdf11db..6eebdf3 100644
--- a/core/Lucy/Test.cfh
+++ b/core/Lucy/Test.cfh
@@ -43,9 +43,6 @@ class Lucy::Test::TestBatch inherits Clownfish::Obj {
     public void
     Destroy(TestBatch *self);
 
-    void
-    Plan(TestBatch *self);
-
     /** Run the test batch and print test output and diagnosis.
      *
      * @return true if the test batch passed.


Mime
View raw message