Package com.hp.hpl.jena.rdf.model.test

Examples of com.hp.hpl.jena.rdf.model.test.AbstractTestPackage


      Graph getGraph()
      {
        return new Intersection(Factory.createGraphMem(), Factory.createGraphMem());
      }};
     
      AbstractTestPackage atp = new AbstractTestPackage( "Intersection",  gmf ){};
      for (int i=0;i<atp.testCount();i++)
      {
        result.addTest( atp.testAt(i) );
      }
     
      gmf = new GraphModelFactory(){

      @Override
      Graph getGraph()
      {
        return new Difference(Factory.createGraphMem(), Factory.createGraphMem());
      }};
     
      atp = new AbstractTestPackage( "Difference",  gmf ){};
      for (int i=0;i<atp.testCount();i++)
      {
        result.addTest( atp.testAt(i) );
      }
     
      gmf = new GraphModelFactory(){

      @Override
      Graph getGraph()
      {
        return new Union(Factory.createGraphMem(), Factory.createGraphMem());
      }};
     
      atp = new AbstractTestPackage( "Union",  gmf ){};
      for (int i=0;i<atp.testCount();i++)
      {
        result.addTest( atp.testAt(i) );
      }
      //suite.addTestSuite( new PlainModelTestSuite( ))
    /* */
        result.addTest( TestDelta.suite() );
        result.addTest( TestUnion.suite() );
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.rdf.model.test.AbstractTestPackage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.