All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.flint.sparql.test.runtests.js Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

The newest version!
function runParserTests(mode,tests) {
    var node= document.getElementById("output");
    var passes=0;
    var fails=0;
    var state;
    var trace='';
    var callback= function (string,st) {state=st;};

    var html='';
    for (var i=0; i";


	if (tests[i].expected)
	    report+="";
	else
	    report+="";
    
	if (pass) {
	    report+='';
	    ++passes;
	} else {
	    report+='';
	    ++fails;
	}
	report+="";
	html+=""+report+"";
    }
    html+="
+-PassedFailed"+tests[i].comment+"
"; html=passes+" passed
"+fails+" failed"+html; node.innerHTML=html; function runTest(query,expected) { CodeMirror.runMode( query, mode, callback ); var stack=state.stack, len=state.stack.length; var queryValid=true; trace+=state.complete; for (var i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy