[Zope3-checkins] CVS: Zope3/src/zope/configuration/tests/contact - __init__.py:1.2 contact.py:1.2 contact.zcml:1.2 test_include.zcml:1.2 testhandler.py:1.2 testincludehandler.py:1.2
Jim Fulton
jim@zope.com
Wed, 25 Dec 2002 09:14:06 -0500
Update of /cvs-repository/Zope3/src/zope/configuration/tests/contact
In directory cvs.zope.org:/tmp/cvs-serv15352/src/zope/configuration/tests/contact
Added Files:
__init__.py contact.py contact.zcml test_include.zcml
testhandler.py testincludehandler.py
Log Message:
Grand renaming:
- Renamed most files (especially python modules) to lower case.
- Moved views and interfaces into separate hierarchies within each
project, where each top-level directory under the zope package
is a separate project.
- Moved everything to src from lib/python.
lib/python will eventually go away. I need access to the cvs
repository to make this happen, however.
There are probably some bits that are broken. All tests pass
and zope runs, but I haven't tried everything. There are a number
of cleanups I'll work on tomorrow.
=== Zope3/src/zope/configuration/tests/contact/__init__.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/__init__.py Wed Dec 25 09:13:34 2002
@@ -0,0 +1,2 @@
+#
+# This file is necessary to make this directory a package.
=== Zope3/src/zope/configuration/tests/contact/contact.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/contact.py Wed Dec 25 09:13:34 2002
@@ -0,0 +1,16 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+""" Faux class for tesing name resolution. """
+
+class Contact: n=1
=== Zope3/src/zope/configuration/tests/contact/contact.zcml 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/contact.zcml Wed Dec 25 09:13:34 2002
@@ -0,0 +1,12 @@
+<zopeConfigure xmlns='http://namespaces.zope.org/zope'>
+
+<directives namespace="test">
+ <directive
+ name="test"
+ handler="zope.configuration.tests.contact.testhandler.TestHandler" />
+</directives>
+
+<!-- test if the included zcml file keeps the package of this file -->
+<include file="test_include.zcml" />
+
+</zopeConfigure>
=== Zope3/src/zope/configuration/tests/contact/test_include.zcml 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/test_include.zcml Wed Dec 25 09:13:34 2002
@@ -0,0 +1,9 @@
+<zopeConfigure xmlns='http://namespaces.zope.org/zope'>
+
+<directives namespace="test">
+ <directive
+ name="test_include"
+ handler="zope.configuration.tests.contact.testincludehandler.TestIncludeHandler" />
+</directives>
+
+</zopeConfigure>
=== Zope3/src/zope/configuration/tests/contact/testhandler.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/testhandler.py Wed Dec 25 09:13:34 2002
@@ -0,0 +1,22 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+
+Revision information:
+$Id$
+"""
+
+class TestHandler:
+ """Test handler. We only care whether we can find this.
+ """
=== Zope3/src/zope/configuration/tests/contact/testincludehandler.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:14:05 2002
+++ Zope3/src/zope/configuration/tests/contact/testincludehandler.py Wed Dec 25 09:13:34 2002
@@ -0,0 +1,22 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+
+Revision information:
+$Id$
+"""
+
+class TestIncludeHandler:
+ """Test include handler. We only care whether we can find this.
+ """