[Zope-CVS] CVS: Packages/ZConfig/tests/input - importer.conf:1.1 importsections.conf:1.1 impsections1.conf:1.1 include.conf:1.1 simple.conf:1.1 simplesections.conf:1.1

Fred L. Drake, Jr. fdrake@acm.org
Tue, 8 Oct 2002 17:42:18 -0400


Update of /cvs-repository/Packages/ZConfig/tests/input
In directory cvs.zope.org:/tmp/cvs-serv16274/tests/input

Added Files:
	importer.conf importsections.conf impsections1.conf 
	include.conf simple.conf simplesections.conf 
Log Message:
Initial version of new configuration parser and support.
This is still in development.


=== Added File Packages/ZConfig/tests/input/importer.conf ===
import simple.conf

var1 def


=== Added File Packages/ZConfig/tests/input/importsections.conf ===
<section a (b)>
var 1
</section>

<section b (c)>
var 2
</section>

import impsections1.conf

<override over-a>
var a-2
</override>

<override over-b (over-a)/>


=== Added File Packages/ZConfig/tests/input/impsections1.conf ===
<section c>
var 3
cvar value
</section>


<override over-a>
var a-1
var2 should-not-be-visible
</override>


=== Added File Packages/ZConfig/tests/input/include.conf ===
var2 value2
include simple.conf
var3 value3


=== Added File Packages/ZConfig/tests/input/simple.conf ===
var1 abc
int-var  12
float-var	12.02
neg-int -2

true-var-1 true
true-var-2 on
true-var-3 yes

false-var-1 false
false-var-2 off
false-var-3 no


=== Added File Packages/ZConfig/tests/input/simplesections.conf ===
var foo
var-0 foo-0

<section name (delegate)>
  var bar
  var-one  splat
</section>

var-1 foo-1

<section delegate>
  var spam
  var-two  stuff
</section>

var-2 foo-2

<section another>
  var  quack!
  var-three  yet
</section>

var-3 foo-3

# An anonymous empty section that delegates:
<section (delegate) />

var-4 foo-4

# A fairly trivial section:
<trivial>
  var triv
</trivial>

var-5 foo-5

# A minimal section:
<minimal/>

var-6 foo-6