[Zope3-checkins] CVS: Zope3 - overrides_ftesting.zcml.in:1.1 ftesting.zcml:1.19 products_ftesting.zcml.in:1.2 .cvsignore:1.12

Sidnei da Silva sidnei at x3ng.com.br
Wed Jan 28 12:02:47 EST 2004


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv2414

Modified Files:
	ftesting.zcml products_ftesting.zcml.in .cvsignore 
Added Files:
	overrides_ftesting.zcml.in 
Log Message:
Actually, a second file is needed to use overrides in ftesting in a sane way.


=== Added File Zope3/overrides_ftesting.zcml.in ===
<configure xmlns="http://namespaces.zope.org/zope">

  <!-- Here you can include overrides directives for-->
  <!-- functional testing, may your products need so. -->

  <!-- For example, you may want to include overrides.zcml on -->
  <!-- functional tests to make sure that the system will-->
  <!-- behave as expected in the presence of overrides.-->
  <!-- Example:
       <includeOverrides file="overrides.zcml" />
  -->

</configure>

=== Zope3/ftesting.zcml 1.18 => 1.19 ===
--- Zope3/ftesting.zcml:1.18	Wed Jan 28 11:30:47 2004
+++ Zope3/ftesting.zcml	Wed Jan 28 12:02:46 2004
@@ -22,5 +22,6 @@
   <grant role="zope.Manager" principal="zope.mgr" />
 
   <include file="products_ftesting.zcml" />
+  <includeOverrides file="overrides_ftesting.zcml" />
 
 </configure>


=== Zope3/products_ftesting.zcml.in 1.1 => 1.2 ===
--- Zope3/products_ftesting.zcml.in:1.1	Wed Jan 28 11:30:47 2004
+++ Zope3/products_ftesting.zcml.in	Wed Jan 28 12:02:46 2004
@@ -4,11 +4,11 @@
   <!-- which may be needed if you have some special setup -->
   <!-- done in zcml. -->
 
-  <!-- For example, you may want to include overrides.zcml on -->
-  <!-- functional tests to make sure that the system will-->
-  <!-- behave as expected in the presence of overrides.-->
+  <!-- For example, you may want to include a zcml file -->
+  <!-- that sets up a rdb connection needed for a test. -->
   <!-- Example:
-       <includeOverrides file="overrides.zcml" />
+       <include package="zope.products.example.ftests"
+                file="test_setup.zcml" />
   -->
 
 </configure>


=== Zope3/.cvsignore 1.11 => 1.12 ===
--- Zope3/.cvsignore:1.11	Wed Jan 28 11:30:47 2004
+++ Zope3/.cvsignore	Wed Jan 28 12:02:46 2004
@@ -1,3 +1,4 @@
+overrides_ftesting.zcml
 products_ftesting.zcml
 principals.zcml
 products.zcml




More information about the Zope3-Checkins mailing list