コード例 #1
0
 private function runSchemaTest($zipFile, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new XmlSchemaChecker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "SCHEMA", $zipFile), []);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }
コード例 #2
0
 private function runDomSax($zipFile, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new DomSaxMockChecker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "DOMSAX", $zipFile), []);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }
コード例 #3
0
 private function runDtdTest($zipFile, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new Dtd2014Checker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "DTD", $zipFile), [0, 0]);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }
コード例 #4
0
 private function runXQuery($zipFile, $queryCount, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new XQueryMockChecker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "XQUERY", $zipFile), [$queryCount]);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }
コード例 #5
0
 private function runXsltTest($zipFile, $templateCount, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new XsltChecker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "XSLT", $zipFile), [$templateCount]);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }
コード例 #6
0
 private function runXPathTest($zipFile, $fulfillment = null, $details = "")
 {
     $result = CheckerRunner::runChecker(new XpathChecker(), Filesystem::combinePaths(CheckerRunner::$testCasesRoot, "XPATH", $zipFile), [5]);
     CheckerRunner::assert($this, $zipFile, $result, $fulfillment, $details);
 }