[Zope3-checkins] CVS: Zope3/src/ZConfig/tests/input - simplesections.xml:1.1 simple.xml:1.3 simplesections.conf:1.2

Fred L. Drake, Jr. fred at zope.com
Tue Oct 7 13:12:36 EDT 2003


Update of /cvs-repository/Zope3/src/ZConfig/tests/input
In directory cvs.zope.org:/tmp/cvs-serv15925/input

Modified Files:
	simple.xml simplesections.conf 
Added Files:
	simplesections.xml 
Log Message:
Revised tests to avoid deprecated portions of the API; those those entry
points will disappear.


=== Added File Zope3/src/ZConfig/tests/input/simplesections.xml ===
<schema>
  <sectiontype name="section">
    <key name="var" />
    <key name="var-one" />
    <key name="var-two" />
    <key name="var-three" />
  </sectiontype>
  <sectiontype name="minimal" />
  <sectiontype name="trivial">
    <key name="var" />
  </sectiontype>

  <multisection type="section" name="*" attribute="sections" />
  <section type="minimal" name="*" attribute="minimal" />
  <section type="trivial" name="*" attribute="trivial" />

  <key name="var" />
  <key name="var-0" />
  <key name="var-1" />
  <key name="var-2" />
  <key name="var-3" />
  <key name="var-4" />
  <key name="var-5" />
  <key name="var-6" />
</schema>


=== Zope3/src/ZConfig/tests/input/simple.xml 1.2 => 1.3 ===
--- Zope3/src/ZConfig/tests/input/simple.xml:1.2	Fri Jan  3 16:05:59 2003
+++ Zope3/src/ZConfig/tests/input/simple.xml	Tue Oct  7 13:12:35 2003
@@ -17,8 +17,13 @@
   <key name="false-var-2" datatype="boolean" />
   <key name="false-var-3" datatype="boolean" />
 
-  <key name="list-1" />
-  <key name="list-2" />
-  <key name="list-3" />
-  <key name="list-4" />
+  <key name="list-1" datatype="string-list" />
+  <key name="list-2" datatype="string-list" />
+  <key name="list-3" datatype="string-list" />
+  <key name="list-4" datatype="string-list" />
+
+  <!-- added by include.conf -->
+  <key name="var2" />
+  <key name="var3" />
+  <key name="var4" />
 </schema>


=== Zope3/src/ZConfig/tests/input/simplesections.conf 1.1 => 1.2 ===
--- Zope3/src/ZConfig/tests/input/simplesections.conf:1.1	Tue Oct  8 17:42:17 2002
+++ Zope3/src/ZConfig/tests/input/simplesections.conf	Tue Oct  7 13:12:35 2003
@@ -1,7 +1,7 @@
 var foo
 var-0 foo-0
 
-<section name (delegate)>
+<section name>
   var bar
   var-one  splat
 </section>
@@ -22,8 +22,8 @@
 
 var-3 foo-3
 
-# An anonymous empty section that delegates:
-<section (delegate) />
+# An anonymous empty section:
+<section />
 
 var-4 foo-4
 




More information about the Zope3-Checkins mailing list