|
From: Bryan T. <tho...@us...> - 2007-04-19 12:28:02
|
Update of /cvsroot/cweb/bigdata-rdf/src/test/com/bigdata/rdf/inf In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv14067/src/test/com/bigdata/rdf/inf Modified Files: TestAll.java Added Files: TestRuleRdf01.java Log Message: Added a test case for rdf1, but I have not written the tests yet. --- NEW FILE: TestRuleRdf01.java --- /** The Notice below must appear in each file of the Source Code of any copy you distribute of the Licensed Product. Contributors to any Modifications may add their own copyright notices to identify their own contributions. License: The contents of this file are subject to the CognitiveWeb Open Source License Version 1.1 (the License). You may not copy or use this file, in either source code or executable form, except in compliance with the License. You may obtain a copy of the License from http://www.CognitiveWeb.org/legal/license/ Software distributed under the License is distributed on an AS IS basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Copyrights: Portions created by or assigned to CognitiveWeb are Copyright (c) 2003-2003 CognitiveWeb. All Rights Reserved. Contact information for CognitiveWeb is available at http://www.CognitiveWeb.org Portions Copyright (c) 2002-2003 Bryan Thompson. Acknowledgements: Special thanks to the developers of the Jabber Open Source License 1.0 (JOSL), from which this License was derived. This License contains terms that differ from JOSL. Special thanks to the CognitiveWeb Open Source Contributors for their suggestions and support of the Cognitive Web. Modifications: */ /* * Created on Apr 18, 2007 */ package com.bigdata.rdf.inf; /** * Test suite for {@link RuleRdf01}. * * <pre> * triple(?v rdf:type rdf:Property) :- * triple( ?u ?v ?x ). * </pre> * * @author <a href="mailto:tho...@us...">Bryan Thompson</a> * @version $Id$ */ public class TestRuleRdf01 extends AbstractRuleTestCase { /** * */ public TestRuleRdf01() { } /** * @param name */ public TestRuleRdf01(String name) { super(name); } /** * FIXME write test of basic rule semantics and then write another test that * can be used to verify that we are doing an efficient scan for the * distinct predicates (key prefix scan). */ public void test_rdf01() { fail("write test"); } } Index: TestAll.java =================================================================== RCS file: /cvsroot/cweb/bigdata-rdf/src/test/com/bigdata/rdf/inf/TestAll.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestAll.java 18 Apr 2007 17:29:06 -0000 1.2 --- TestAll.java 19 Apr 2007 12:27:37 -0000 1.3 *************** *** 78,81 **** --- 78,83 ---- TestSuite suite = new TestSuite("RDFS inference"); + suite.addTestSuite( TestRuleRdf01.class ); + suite.addTestSuite( TestRuleRdfs07.class ); |