aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/test_units/PagodaUOBM.java
blob: f53ed7eac4966505ebe2317e4c139db4bb944c77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package uk.ac.ox.cs.pagoda.test_units;

import org.testng.annotations.Test;
import uk.ac.ox.cs.pagoda.util.TestUtil;

import java.io.IOException;
import java.nio.file.Paths;

public class PagodaUOBM {

	private void testN(int number ) throws IOException {
		String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
		TestGlobalCorrectness.test(Paths.get(ontoDir, "uobm/univ-bench-dl.owl"),
							  Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl"),
							  Paths.get(ontoDir, "uobm/queries/test.sparql"),
							  Paths.get(ontoDir, "uobm/uobm" + number + ".ans"));
	}

	@Test
	public void test1() throws IOException {
		testN(1);
	}
	
}