You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2009/09/10 00:57:47 UTC

svn commit: r813157 - /lucene/lucy/trunk/core/Lucy/Test.bp

Author: marvin
Date: Wed Sep  9 22:57:46 2009
New Revision: 813157

URL: http://svn.apache.org/viewvc?rev=813157&view=rev
Log:
Commit LUCY-36, making Charmonizer's testing framework more accessible for use
within the Lucy core.

Added:
    lucene/lucy/trunk/core/Lucy/Test.bp   (with props)

Added: lucene/lucy/trunk/core/Lucy/Test.bp
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/core/Lucy/Test.bp?rev=813157&view=auto
==============================================================================
--- lucene/lucy/trunk/core/Lucy/Test.bp (added)
+++ lucene/lucy/trunk/core/Lucy/Test.bp Wed Sep  9 22:57:46 2009
@@ -0,0 +1,40 @@
+parcel Lucy;
+
+__C__
+#include "Charmonizer/Test.h"
+
+#ifdef LUCY_USE_SHORT_NAMES
+  #define TestBatch                    chaz_TestBatch
+  #define Test_new_batch               chaz_Test_new_batch
+  #define PLAN                         CHAZ_TEST_PLAN
+  #define PASS                         CHAZ_TEST_PASS
+  #define FAIL                         CHAZ_TEST_FAIL
+  #define ASSERT_TRUE                  CHAZ_TEST_ASSERT_TRUE
+  #define ASSERT_FALSE                 CHAZ_TEST_ASSERT_FALSE
+  #define ASSERT_STR_EQ                CHAZ_TEST_ASSERT_STR_EQ
+  #define ASSERT_STR_NEQ               CHAZ_TEST_ASSERT_STR_NEQ
+  #define ASSERT_INT_EQ                CHAZ_TEST_ASSERT_INT_EQ
+  #define ASSERT_FLOAT_EQ              CHAZ_TEST_ASSERT_FLOAT_EQ
+#endif
+  
+__END_C__
+
+/** Testing framework.
+ */
+inert class Lucy::Test { }
+
+/* Copyright 2009 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+

Propchange: lucene/lucy/trunk/core/Lucy/Test.bp
------------------------------------------------------------------------------
    svn:eol-style = native