Пример #1
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();
    // SPARQL and ARQ tests are done with no value matching (for query execution and results
    // testing)
    resetNeeded = true;
    ARQ.setTrue(ARQ.strictGraph);
    // Turn parser warnings off for the test data.
    oldWarningFlag = CheckerLiterals.WarnOnBadLiterals;
    CheckerLiterals.WarnOnBadLiterals = false;

    // Sort out results.
    results = testItem.getResults();
  }
Пример #2
0
 @Override
 protected void tearDown() throws Exception {
   if (resetNeeded) ARQ.setFalse(ARQ.strictGraph);
   CheckerLiterals.WarnOnBadLiterals = oldWarningFlag;
   super.tearDown();
 }