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 2012/12/05 00:03:03 UTC
[lucy-commits] [6/9] Core tests for C bindings
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/525-match_all_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/525-match_all_query.t.c b/c/t/core/525-match_all_query.t.c
new file mode 100644
index 0000000..12d3c5e
--- /dev/null
+++ b/c/t/core/525-match_all_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestMatchAllQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestMatchAllQuery_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/526-not_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/526-not_query.t.c b/c/t/core/526-not_query.t.c
new file mode 100644
index 0000000..bcee59b
--- /dev/null
+++ b/c/t/core/526-not_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestNOTQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestNOTQuery_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/527-req_opt_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/527-req_opt_query.t.c b/c/t/core/527-req_opt_query.t.c
new file mode 100644
index 0000000..beb5dbb
--- /dev/null
+++ b/c/t/core/527-req_opt_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestReqOptQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestReqOptQuery_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/528-leaf_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/528-leaf_query.t.c b/c/t/core/528-leaf_query.t.c
new file mode 100644
index 0000000..3aa731c
--- /dev/null
+++ b/c/t/core/528-leaf_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestLeafQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestLeafQuery_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/529-no_match_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/529-no_match_query.t.c b/c/t/core/529-no_match_query.t.c
new file mode 100644
index 0000000..4a08786
--- /dev/null
+++ b/c/t/core/529-no_match_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestNoMatchQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestNoMatchQuery_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/530-series_matcher.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/530-series_matcher.t.c b/c/t/core/530-series_matcher.t.c
new file mode 100644
index 0000000..4d4c81a
--- /dev/null
+++ b/c/t/core/530-series_matcher.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestSeriesMatcher.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestSeriesMatcher_run_tests();
+ return 0;
+}
+
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc223c26/c/t/core/531-or_query.t.c
----------------------------------------------------------------------
diff --git a/c/t/core/531-or_query.t.c b/c/t/core/531-or_query.t.c
new file mode 100644
index 0000000..a613897
--- /dev/null
+++ b/c/t/core/531-or_query.t.c
@@ -0,0 +1,25 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+#include "Lucy/Test/Search/TestPolyQuery.h"
+
+int
+main() {
+ lucy_bootstrap_parcel();
+ lucy_TestORQuery_run_tests();
+ return 0;
+}
+