Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1344 - in development/main/metro/composition/test: etc/test src/test/net/dpml/composition/util

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: pneubauer AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1344 - in development/main/metro/composition/test: etc/test src/test/net/dpml/composition/util
  • Date: Sun, 02 Jan 2005 23:21:10 +0100

Author: pneubauer
Date: Sun Jan 2 23:21:10 2005
New Revision: 1344

Modified:

development/main/metro/composition/test/etc/test/schemavalidation_failing.xml

development/main/metro/composition/test/src/test/net/dpml/composition/util/SchemaValidationTestCase.java
Log:
corrected a test


Modified:
development/main/metro/composition/test/etc/test/schemavalidation_failing.xml
==============================================================================
---
development/main/metro/composition/test/etc/test/schemavalidation_failing.xml
(original)
+++
development/main/metro/composition/test/etc/test/schemavalidation_failing.xml
Sun Jan 2 23:21:10 2005
@@ -8,9 +8,6 @@
</classloader>
<container name="sub">
<component name="ConfigB"
class="net.dpml.test.testschema.ConfigurableB">
- <configuration attr1="foo">
- <child1/>
- </configuration>
</component>
</container>
</container>
\ No newline at end of file

Modified:
development/main/metro/composition/test/src/test/net/dpml/composition/util/SchemaValidationTestCase.java
==============================================================================
---
development/main/metro/composition/test/src/test/net/dpml/composition/util/SchemaValidationTestCase.java
(original)
+++
development/main/metro/composition/test/src/test/net/dpml/composition/util/SchemaValidationTestCase.java
Sun Jan 2 23:21:10 2005
@@ -118,13 +118,13 @@

public void testValidatingAssembly() throws Exception
{
- m_model = createContainmentModel( PATH );
try
{
+ m_model = createContainmentModel( PATH );
ContainmentModel root = (ContainmentModel) m_model.getModel( "/"
);
root.assemble();
}
- catch ( ModelRuntimeException e )
+ catch ( Exception e )
{
fail();
}
@@ -134,13 +134,13 @@
{

String path = "schemavalidation_failing.xml";
- m_model = createContainmentModel( path );
try
{
+ m_model = createContainmentModel( path );
ContainmentModel root = (ContainmentModel) m_model.getModel( "/"
);
root.assemble();
}
- catch ( ModelRuntimeException e )
+ catch ( Exception e )
{
assertTrue(true);
}



  • svn commit: r1344 - in development/main/metro/composition/test: etc/test src/test/net/dpml/composition/util, pneubauer, 01/02/2005

Archive powered by MHonArc 2.6.24.

Top of Page