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/05/28 19:49:11 UTC

[lucy-commits] [3/4] git commit: refs/heads/master - Correct method calls in tests

Correct method calls in tests

Fix some cases where implementing functions were called directly.


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

Branch: refs/heads/master
Commit: 8f9c8456d2c147ff949726f00a24fdf7a35a111d
Parents: dbf9d5b
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue May 28 19:38:15 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue May 28 19:44:48 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Test/Plan/TestBlobType.c     |    2 +-
 core/Lucy/Test/Plan/TestFullTextType.c |    2 +-
 core/Lucy/Test/Util/BBSortEx.c         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/8f9c8456/core/Lucy/Test/Plan/TestBlobType.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Plan/TestBlobType.c b/core/Lucy/Test/Plan/TestBlobType.c
index 6119c4e..eec3127 100644
--- a/core/Lucy/Test/Plan/TestBlobType.c
+++ b/core/Lucy/Test/Plan/TestBlobType.c
@@ -40,7 +40,7 @@ test_Dump_Load_and_Equals(TestBatch *batch) {
     Obj      *dump            = (Obj*)BlobType_Dump(type);
     Obj      *clone           = Obj_Load(dump, dump);
     Obj      *another_dump    = (Obj*)BlobType_Dump_For_Schema(type);
-    BlobType *another_clone   = BlobType_load(type, another_dump);
+    BlobType *another_clone   = BlobType_Load(type, another_dump);
 
     TEST_TRUE(batch, BlobType_Equals(type, (Obj*)clone),
               "Dump => Load round trip");

http://git-wip-us.apache.org/repos/asf/lucy/blob/8f9c8456/core/Lucy/Test/Plan/TestFullTextType.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Plan/TestFullTextType.c b/core/Lucy/Test/Plan/TestFullTextType.c
index a299ba4..9ee470e 100644
--- a/core/Lucy/Test/Plan/TestFullTextType.c
+++ b/core/Lucy/Test/Plan/TestFullTextType.c
@@ -57,7 +57,7 @@ test_Dump_Load_and_Equals(TestBatch *batch) {
 
     // (This step is normally performed by Schema_Load() internally.)
     Hash_Store_Str((Hash*)another_dump, "analyzer", 8, INCREF(tokenizer));
-    FullTextType *another_clone = FullTextType_load(type, another_dump);
+    FullTextType *another_clone = FullTextType_Load(type, another_dump);
 
     TEST_FALSE(batch, FullTextType_Equals(type, (Obj*)boost_differs),
                "Equals() false with different boost");

http://git-wip-us.apache.org/repos/asf/lucy/blob/8f9c8456/core/Lucy/Test/Util/BBSortEx.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Util/BBSortEx.c b/core/Lucy/Test/Util/BBSortEx.c
index 9a68616..1a3db9f 100644
--- a/core/Lucy/Test/Util/BBSortEx.c
+++ b/core/Lucy/Test/Util/BBSortEx.c
@@ -60,7 +60,7 @@ BBSortEx_clear_cache(BBSortEx *self) {
 
 void
 BBSortEx_feed(BBSortEx *self, void *data) {
-    SortEx_feed((SortExternal*)self, data);
+    SortEx_Feed((SortExternal*)self, data);
 
     // Flush() if necessary.
     ByteBuf *bytebuf = (ByteBuf*)CERTIFY(*(ByteBuf**)data, BYTEBUF);