Author: jmorliaguet
Date: Mon Mar  6 21:25:01 2006
New Revision: 2549

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/aggregator/browser.py
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/cpsskins_form_validation.pt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_latency.pt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_typewriter.pt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/configure.zcml
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
Log:

- test fixes (views must have an id)



Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html  
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html  Mon Mar 
 6 21:25:01 2006
@@ -1,7 +1,8 @@
 <div id="p3">
 
   <ins class="view">
-  {"widget": {
+  {"id": "p3",
+   "widget": {
      "type": "panel",
      "url": "p4.html"
    },

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/aggregator/browser.py
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/aggregator/browser.py
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/aggregator/browser.py
        Mon Mar  6 21:25:01 2006
@@ -19,6 +19,7 @@
 """
 
 feeds_view_def = """{
+    "id": "view%(id)s",
     "widget": {
         "template": "feedbox.html"
     },

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt
        Mon Mar  6 21:25:01 2006
@@ -119,7 +119,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "chatbox",
+     "widget": {
       "template": "chatbox.html"
      },
      "model": "chat"
@@ -127,7 +128,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "input",
+     "widget": {
       "template": "chatinput.html"
      },
      "model": "form",

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/cpsskins_form_validation.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/cpsskins_form_validation.pt
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/cpsskins_form_validation.pt
    Mon Mar  6 21:25:01 2006
@@ -51,7 +51,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "form",
+     "widget": {
       "template": "sampleform.html"
      },
      "model": "form-data",

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_latency.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_latency.pt
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_latency.pt
  Mon Mar  6 21:25:01 2006
@@ -178,7 +178,8 @@
 
       <td valign="top">
         <ins class="view">
-        {"widget": {
+        {"id": "view1",
+         "widget": {
            "type": "counter"
           },
          "model": "no-sequence"
@@ -188,7 +189,8 @@
 
       <td valign="top">
         <ins class="view">
-        {"widget": {
+        {"id": "view2",
+         "widget": {
            "type": "counter"
           },
          "model": "queue-sequence"
@@ -198,7 +200,8 @@
 
       <td valign="top">
         <ins class="view">
-        {"widget": {
+        {"id": "view3",
+         "widget": {
            "type": "counter"
           },
          "model": "stack-sequence"

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_typewriter.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_typewriter.pt
       (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/latency/cpsskins_typewriter.pt
       Mon Mar  6 21:25:01 2006
@@ -161,7 +161,8 @@
       <tr>
         <td valign="top">
           <ins class="view">
-          {"widget": {
+          {"id": "right",
+           "widget": {
              "type": "typewriter"
             },
            "model": "no-sequence"
@@ -171,7 +172,8 @@
 
         <td valign="top">
           <ins class="view">
-          {"widget": {
+          {"id": "left",
+           "widget": {
              "type": "typewriter"
             },
            "model": "queue-sequence"

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/configure.zcml
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/configure.zcml
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/configure.zcml
  Mon Mar  6 21:25:01 2006
@@ -3,7 +3,7 @@
 
   <browser:page
       for="*"
-      layer="cpsskins.browser.skin.cpsskins"
+      layer="cpsskins.ui.framework.tests.zope3.cpsskinsTest"
       name="cpsskins_quiz.html"
       permission="zope.Public"
       template="cpsskins_quiz.pt"

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/quiz/cpsskins_quiz.pt
        Mon Mar  6 21:25:01 2006
@@ -160,7 +160,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "view1",
+     "widget": {
       "type": "inputbox"
      },
      "model": "ram-data-provider",
@@ -194,7 +195,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "view2",
+     "widget": {
       "type": "inputbox"
      },
      "model": "local-data-provider",
@@ -254,7 +256,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "view3",
+     "widget": {
       "type": "inputbox"
      },
      "model": "remote-data-provider",
@@ -325,7 +328,8 @@
     </ins>
 
     <ins class="view">
-    {"widget": {
+    {"id": "view4",
+     "widget": {
       "type": "inputbox"
      },
      "model": "unified-data-provider",
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to