Package com.hp.hpl.jena.eyeball.inspectors

Examples of com.hp.hpl.jena.eyeball.inspectors.SparqlDrivenInspector.begin()


    @Test public void testPrefixInspectorDeclaresPrefixes()
        {
        Report r = new Report();
        Resource root = resourceInModel( "root rdf:type some" );
        SparqlDrivenInspector s = new SparqlDrivenInspector( root );
        s.begin( r, ontModel() );
        List<Property> predicates = r.getPredicateRegister().getRegisteredPredicates();
        assertEquals( eyeResourceSet( "sparqlRequireFailed sparqlProhibitFailed" ), new HashSet<Property>( predicates ) );
        }
   
    @Test public void testReportsSPOViolation()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.