# HG changeset patch # User Konstantina Bereta # Date 1366115921 -10800 # Node ID 6e417d9b4c3d1d1f1a3a8e85007670c4731d1342 # Parent ae9f108cc7a9f3ba55f255a0a7a14ee097efe6b7 added a test on the UC case temporarily before moving the temporal tests to the test suite diff -r ae9f108cc7a9 -r 6e417d9b4c3d runtime/src/test/java/eu/earthobservatory/runtime/postgres/temporals/storeTests.java --- a/runtime/src/test/java/eu/earthobservatory/runtime/postgres/temporals/storeTests.java Tue Apr 16 14:42:20 2013 +0300 +++ b/runtime/src/test/java/eu/earthobservatory/runtime/postgres/temporals/storeTests.java Tue Apr 16 15:38:41 2013 +0300 @@ -155,6 +155,36 @@ } + + @Test + public void testStoreUCString() + { + String text1 = " \"String111\" \"[2005-11-19T12:41:00,2009-11-19T13:41:00]\"^^ . \n" + + " \"String112\" \"[2010-11-19T12:42:00,UC]\"^^."; + + + try { + strabon.storeInRepo(text1, "NQUADS"); + + } catch (RDFParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (RepositoryException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (RDFHandlerException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (InvalidDatasetFormatFault e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + @Test public void testNQUADSFile() throws RDFParseException, RepositoryException, RDFHandlerException, IOException, InvalidDatasetFormatFault {