diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2013-09-15 04:19:00 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2013-09-15 04:19:00 +0000 |
commit | 4b0ba583ec02c00362ccc50f01ba59abf56f31a6 (patch) | |
tree | 6c8569037dffdbbe08a50c2e12f6cfd2cf183d0f /src | |
parent | 03f4fbe2a0937c01063993a9e765baf8a0e6216e (diff) | |
download | jackcess-4b0ba583ec02c00362ccc50f01ba59abf56f31a6.tar.gz jackcess-4b0ba583ec02c00362ccc50f01ba59abf56f31a6.zip |
fix rawstring tostring tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@803 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src')
-rw-r--r-- | src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java | 4 | ||||
-rw-r--r-- | src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java b/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java index 173a53c..8e2ba6d 100644 --- a/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java +++ b/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java @@ -329,9 +329,9 @@ public class ComplexColumnTest extends TestCase if(rowId.equals(1)) { checkUnsupportedValues(1, complexValueFk, - "RawData: FF FE 62 61 7A"); + "RawData[(5) FF FE 62 61 7A]"); } else if(rowId.equals(2)) { - checkUnsupportedValues(2, complexValueFk, "RawData: FF FE 66 6F 6F", "RawData: FF FE 62 61 7A"); + checkUnsupportedValues(2, complexValueFk, "RawData[(5) FF FE 66 6F 6F]", "RawData[(5) FF FE 62 61 7A]"); } else if(rowId.equals(3)) { checkUnsupportedValues(3, complexValueFk); } else { diff --git a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java index 0d4de6f..3149f32 100644 --- a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java +++ b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java @@ -1327,12 +1327,12 @@ public class DatabaseTest extends TestCase { assertEquals(DataType.UNSUPPORTED_FIXEDLEN, fixCol.getType()); List<String> varVals = Arrays.asList( - "RawData: FF FE 73 6F 6D 65 64 61 74 61", - "RawData: FF FE 6F 74 68 65 72 20 64 61 74 61", + "RawData[(10) FF FE 73 6F 6D 65 64 61 74 61]", + "RawData[(12) FF FE 6F 74 68 65 72 20 64 61 74 61]", null); - List<String> fixVals = Arrays.asList("RawData: 37 00 00 00", - "RawData: F3 FF FF FF", - "RawData: 02 00 00 00"); + List<String> fixVals = Arrays.asList("RawData[(4) 37 00 00 00]", + "RawData[(4) F3 FF FF FF]", + "RawData[(4) 02 00 00 00]"); int idx = 0; for(Map<String,Object> row : t) { |