[orca] Fixing json's tests



commit 411e2e9ff9c47d503df95c989f89a41a37dd190b
Author: Javier Hernández Antúnez <jhernandez emergya es>
Date:   Tue Feb 22 18:54:02 2011 +0100

    Fixing json's tests

 test/harness/importFile.conf          |   40 ++++++++++++++++++++++++++------
 test/harness/keybindingsSettings.conf |   22 ++++++++++++++---
 2 files changed, 50 insertions(+), 12 deletions(-)
---
diff --git a/test/harness/importFile.conf b/test/harness/importFile.conf
index f0f052a..2e59cbc 100644
--- a/test/harness/importFile.conf
+++ b/test/harness/importFile.conf
@@ -1,8 +1,32 @@
-keybindings: 
- reviewCurrentCharacterHandler:
- - !!python/tuple [KP_4, '365', '0', '1']
- - !!python/tuple [null, '365', '0', '3']
-profile: [Imported profile, imported_profile]
-pronunciations: 
-  asap: [ASAP, as soon as possible]
-  btw: [BTW, by the way]
+{
+    "keybindings": {
+        "reviewCurrentCharacterHandler": [
+            [
+                "KP_4", 
+                "365", 
+                "0", 
+                "1"
+            ], 
+            [
+                null, 
+                "365", 
+                "0", 
+                "3"
+            ]
+        ]
+    }, 
+    "profile": [
+        "Imported profile", 
+        "imported_profile"
+    ], 
+    "pronunciations": {
+        "btw": [
+            "BTW", 
+            "by the way"
+        ], 
+        "asap": [
+            "ASAP", 
+            "as soon as possible"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/test/harness/keybindingsSettings.conf b/test/harness/keybindingsSettings.conf
index 73f43bd..29561de 100644
--- a/test/harness/keybindingsSettings.conf
+++ b/test/harness/keybindingsSettings.conf
@@ -1,4 +1,18 @@
-keybindings:
- reviewCurrentCharacterHandler:
- - !!python/tuple [KP_2, '365', '0', '1']
- - !!python/tuple [null, '365', '0', '1']
+{
+    "keybindings": {
+        "reviewCurrentCharacterHandler": [
+            [
+                "KP_2", 
+                "365", 
+                "0", 
+                "1"
+            ], 
+            [
+                null, 
+                "365", 
+                "0", 
+                "1"
+            ]
+        ]
+    }
+}
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]