]> source.dussan.org Git - jackcess.git/commitdiff
fix rawstring tostring tests
authorJames Ahlborn <jtahlborn@yahoo.com>
Sun, 15 Sep 2013 04:19:00 +0000 (04:19 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Sun, 15 Sep 2013 04:19:00 +0000 (04:19 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@803 f203690c-595d-4dc9-a70b-905162fa7fd2

src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java
src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java

index 173a53cf5e44b1eb3ec3d5ee63b808e1b4636574..8e2ba6d5fdef4cc12f21c5dcb335b23bb8a37479 100644 (file)
@@ -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 {
index 0d4de6f5fc85dc7a8d2a694da6319cbb8bd22559..3149f3274bd2e8b6268dfa79fae38d10dc2aa744 100644 (file)
@@ -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) {