Unit Tests

The woden4SAWSDL project includes the junit test cases that test each one of the recommended SAWSDL documents from the SAWSDL W3C test suite. The following table summarizes where each test fits in.

The tests are arranged in two groups, namely read and extraction.

Feature number Description Read test case

(package - edu.uga.cs.lsdis.wsdl20.extensions.sawsdl.read)
Extraction Test case

(package - edu.uga.cs.lsdis.wsdl20.extensions.sawsdl.extract)
0 plain WSDL document Read0Test N/A
1 modelReference on WSDL Interface components (sec 3.1) Read1x1Test,


2 modelReferences from extended interface apply on extending interface (sec 3.1) Read2Test ExtendedInterfaceAnnotationTest
3 modelReference on WSDL Interface Operation components (sec 3.2) Read3Test InterfaceOperationModelReferenceTest
4 modelReference on WSDL Interface Fault components (sec 3.3) Read4Test InterfaceFaultModelReferenceTest
5 modelReference on XML Schema Simple Type definitions with propagation to Elements and Attributes (sec 4.1.1) Read5Test SchemaSimpleTypeModelReferenceExtractionTest, AnnotationPropagationTest
6 modelReference on XML Schema Complex Type definitions (top-level) (sec 4.1.2) Read6Test SimpleTypeModelReferenceTest
7 modelReference on XML Schema Element declarations (sec 4.1.3) Read7Test ElementModelReferenceTest
8 modelReference on XML Schema Attribute declarations(sec 4.1.4) Read8Test AttributeModelReferenceTest, AttributePropagationTest
9 liftingSchemaMapping on XML Schema Element declarations (sec 4.2) Read9x1Test ,

10 liftingSchemaMapping on XML Schema Type definitions (sec 4.2) Read10Test TypeLiftingTest
11 loweringSchemaMapping on XML Schema Element declarations (sec 4.2) Read11Test ElementLoweringTest
12 loweringSchemaMapping on XML Schema Type definitions (sec 4.2) Read12x1Test

13 liftingSchemaMapping and loweringSchemaMapping propagation from type definition to element declaration using that type, plus overriding (sec 4.2) Read13x1Test