use of org.apache.jena.atlas.lib.Version in project jena by apache.
the class TestVersion method test_version_print_01.
@Test
public void test_version_print_01() {
Version ver = new Version();
ver.addClass(ARQ.class);
IndentedLineBuffer buffer = new IndentedLineBuffer();
ver.print(buffer);
String info = buffer.asString();
Assert.assertNotNull(info);
Assert.assertTrue(info.contains("ARQ"));
}
use of org.apache.jena.atlas.lib.Version in project jena by apache.
the class TestVersion method test_version_string_01.
@Test
public void test_version_string_01() {
Version ver = new Version();
ver.addClass(ARQ.class);
ver.addClass(RIOT.class);
String info = ver.toString();
Assert.assertNotNull(info);
Assert.assertTrue(info.contains("ARQ"));
Assert.assertTrue(info.contains("\n"));
}
use of org.apache.jena.atlas.lib.Version in project jena by apache.
the class TestVersion method test_version_string_02.
@Test
public void test_version_string_02() {
Version ver = new Version();
ver.addClass(ARQ.class);
ver.addClass(RIOT.class);
String info = ver.toString(false);
Assert.assertNotNull(info);
Assert.assertTrue(info.contains("ARQ"));
Assert.assertTrue(info.contains("\n"));
}
use of org.apache.jena.atlas.lib.Version in project jena by apache.
the class TestVersion method test_version_string_03.
@Test
public void test_version_string_03() {
Version ver = new Version();
ver.addClass(ARQ.class);
String info = ver.toString(true);
Assert.assertNotNull(info);
Assert.assertTrue(info.contains("ARQ"));
Assert.assertFalse(info.contains("\n"));
}
Aggregations