File: TestDescriptor.xml

package info (click to toggle)
castor 1.3.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 44,976 kB
  • sloc: java: 206,032; xml: 95,088; sql: 14,460; sh: 365; makefile: 10
file content (34 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version='1.0'?>
<TestDescriptor xmlns="http://castor.exolab.org/Test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://castor.exolab.org/Test http://castor.exolab.org/Test">
    <Name>Test the reading of a top level element defined with particles information</Name>
    <Author>Arnaud Blandin</Author>
    <Comment>
        This test ensures that particle information cannot be declared on a top
        level element definition.
    </Comment>
    <Comment>Regression testing</Comment>
    <Category>basic capability</Category>

    <BugFix>
        <Reporter>Gerber, Jacques-Alexandre[gerber@intalio.com]</Reporter>
        <Date_Report>2002-12-10</Date_Report>
        <Date_Fix>2002-10-10</Date_Fix>
        <Comment>Added validation code</Comment>
    </BugFix>

    <SchemaTest>
        <UnitTestCase>
            <Name>MaxOccursFailure</Name>
            <Schema>toplevel_maxOccurs_failure.xsd</Schema>
            <Failure exception="org.exolab.castor.xml.ValidationException"
                     FailureStep="parse-schema">true</Failure>
        </UnitTestCase>

        <UnitTestCase>
            <Name>MinOccursFailure</Name>
            <Schema>toplevel_minOccurs_failure.xsd</Schema>
            <Failure exception="org.exolab.castor.xml.ValidationException"
                     FailureStep="parse-schema">true</Failure>
        </UnitTestCase>
    </SchemaTest>
 </TestDescriptor>