Author: jvloothuis
Date: Tue Mar 11 23:03:53 2008
New Revision: 52402

Added:
   kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/siteview.txt
      - copied unchanged from r52396, kukit/kss.core/trunk/kss/core/siteview.txt
Modified:
   kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/kssview.py
   kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/meta.zcml
   
kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/tests/configure-unittest.zcml
Log:

Started to make as much tests for the kss.core compatibility layer
work

The meta.zcml now includes the meta.zcml from kss.zope, this makes
sure this is always loaded

Readded the siteview test. This is a duplicate of the one in kss.zope
but since the old kss.core had it the first version of kss.core should
have it as well (to maximize coverage).


Modified: kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/kssview.py
==============================================================================
--- kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/kssview.py  
(original)
+++ kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/kssview.py  Tue Mar 
11 23:03:53 2008
@@ -15,7 +15,11 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-from kss.zope.view import KSSView
+from kss.zope.view import KSSView, SiteView
 from kss.zope.commandset import ZopeCommandSet as CommandSet
 
 AzaxBaseView = KSSView
+
+# Pyflakes
+SiteView
+CommandSet

Modified: kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/meta.zcml
==============================================================================
--- kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/meta.zcml   
(original)
+++ kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/meta.zcml   Tue Mar 
11 23:03:53 2008
@@ -1,8 +1,6 @@
 <configure
      xmlns="http://namespaces.zope.org/meta";>
 
-   <!--XXX Noe needed any more. It is left to allow-
-       inclusion from packages like plone.app.kss.
-   -->
+  <include package="kss.zope" file="meta.zcml" />
 
 </configure>

Modified: 
kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/tests/configure-unittest.zcml
==============================================================================
--- 
kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/tests/configure-unittest.zcml
       (original)
+++ 
kukit/kss.core/branch/kss.core-on-kss.zope/src/kss/core/tests/configure-unittest.zcml
       Tue Mar 11 23:03:53 2008
@@ -3,17 +3,6 @@
            xmlns:five="http://namespaces.zope.org/five";
            xmlns:zcml="http://namespaces.zope.org/zcml";
            >
- 
-    <!-- Registration of a command view, for use in the tests.
-         This will provide the test-friendly rendering of commands.
-    -->
-
-    <adapter
-        for="kss.core.interfaces.IKSSCommands
-             .base.IDebugRequest"
-        provides="kss.core.interfaces.IKSSCommandView"
-        factory=".commandinspector.CommandInspectorView"
-    />
 
     <!-- Register the kss view that makes it possible to
          instantiate a view
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to