You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/02/18 20:50:20 UTC

[lucy-commits] [6/9] git commit: refs/heads/clownfish-test-v2 - Remove method TestBatch#Plan

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 <we...@aevum.de>
Authored: Mon Feb 18 19:55:07 2013 +0100
Committer: Nick Wellnhofer <we...@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.