public class TestIVComparator extends TestCase2
IVComparator
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestIVComparator() |
TestIVComparator(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_bnode_ordering()
|
void |
test_datatype_ordering()
Unit test verifies the order imposed across the different datatypes (but
not within those datatypes).
|
void |
test_equalToSelf()
Unit test verifies that things compare equal to themselves.
|
void |
test_languageCode_ordering()
Unit test of order for language code literals having different language
codes.
|
void |
test_literal_ordering_plain_languageCode_datatype()
Unit test of the broad ordering of literals (plain LT language code LT
datatype).
|
void |
test_null_bnode_uri_literal()
Unit test verifies the broad ordering which puts unbound values LT blank
nodes LT uris LT literals.
|
void |
test_null_lt_anything()
Unit test verifies that an unbound value (a
null ) is LT
anything else. |
void |
test_plain_literal_ordering()
Unit test of order among plain literals.
|
void |
test_uri_ordering()
Unit test of the relative ordering of URIs.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestIVComparator()
public TestIVComparator(String name)
public void test_null_lt_anything()
null
) is LT
anything else.public void test_null_bnode_uri_literal()
public void test_equalToSelf()
public void test_bnode_ordering()
public void test_uri_ordering()
public void test_literal_ordering_plain_languageCode_datatype()
public void test_plain_literal_ordering()
public void test_languageCode_ordering()
public void test_datatype_ordering()
Note: openrdf imposes the following type precedence:
- simple literal - numeric - xsd:boolean - xsd:dateTime - xsd:string - RDF term (equal and unequal only)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.