summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-03-04 16:33:17 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-03-04 16:33:17 +0000
commit5d47aef5200dc251302c01b9c2cb4753ea786dbf (patch)
treec1f9dc1722d384a13788ff22fb7c48839fd9a69f /test
parent8abce36d4fcd1bb90a671021f4d63ef792175479 (diff)
downloadjackcess-5d47aef5200dc251302c01b9c2cb4753ea786dbf.tar.gz
jackcess-5d47aef5200dc251302c01b9c2cb4753ea786dbf.zip
write javadoc for DataTypes; accept wider range of incomging values for some data types
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@248 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
index 2b3acc2..faf1d07 100644
--- a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
@@ -50,6 +50,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
+import java.util.UUID;
import junit.framework.TestCase;
@@ -485,7 +486,8 @@ public class DatabaseTest extends TestCase {
table.addRow("{32A59F01-AA34-3E29-453F-4523453CD2E6}");
table.addRow("{32a59f01-aa34-3e29-453f-4523453cd2e6}");
table.addRow("{11111111-1111-1111-1111-111111111111}");
- table.addRow("{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}");
+ table.addRow(" {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF} ");
+ table.addRow(UUID.fromString("32a59f01-1234-3e29-4aaf-4523453cd2e6"));
table.reset();
@@ -499,7 +501,8 @@ public class DatabaseTest extends TestCase {
"{32A59F01-AA34-3E29-453F-4523453CD2E6}",
"{32A59F01-AA34-3E29-453F-4523453CD2E6}",
"{11111111-1111-1111-1111-111111111111}",
- "{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}"),
+ "{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}",
+ "{32A59F01-1234-3E29-4AAF-4523453CD2E6}"),
foundValues);
try {