aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java
blob: 2014ec1e9aa4a451b3bb50db70c1cf8ed0a2af9d (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.global_tests;

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

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

public class PagodaLUBM {

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

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