public class TestFactory extends TestCase2
BigdataValueFactoryImpl
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestFactory() |
TestFactory(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
test_asValue_mockIV()
Unit test verifies that a new
BigdataValue instance is returned
when BigdataValueFactory.asValue(org.openrdf.model.Value) is
invoked with a BigdataValue whose IV is a "dummmy" IV
(aka a "mock" IV). |
void |
test_create_literal_datatypeIsNull()
Unit test for
ValueFactory.createLiteral(String, URI) when the
datatype URI is null . |
void |
test_create_literal_xsdInt() |
void |
test_create_xsdInt_canonical()
Unit test verifies that the created URIs are canonical for well-known
XSD URIs.
|
void |
test_gregorian()
Unit test for
ValueFactory.createLiteral(XMLGregorianCalendar) . |
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, toString
public TestFactory()
public TestFactory(String name)
name
- protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void test_create_literal_xsdInt()
public void test_create_xsdInt_canonical()
public void test_create_literal_datatypeIsNull()
ValueFactory.createLiteral(String, URI)
when the
datatype URI is null
.https://sourceforge.net/apps/trac/bigdata/ticket/226
public void test_gregorian() throws DatatypeConfigurationException
ValueFactory.createLiteral(XMLGregorianCalendar)
.DatatypeConfigurationException
https://sourceforge.net/apps/trac/bigdata/ticket/117
public void test_asValue_mockIV()
BigdataValue
instance is returned
when BigdataValueFactory.asValue(org.openrdf.model.Value)
is
invoked with a BigdataValue
whose IV
is a "dummmy" IV
(aka a "mock" IV). A "dummy" or "mock" IV
is an IV
which
stands in for a "null" and is used to hold the place for an RDF
Value
which is not known to the database.https://sourceforge.net/apps/trac/bigdata/ticket/348
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.