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/24 18:25:56 UTC
[lucy-commits] [11/19] git commit: refs/heads/master - 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/master
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.