Class com.ibm.ws.config.schemagen.internal.SchemaGenTest

3

tests

0

failures

0

ignored

5.542s

duration

100%

successful

Tests

Test Duration Result
testSchemaGenHelp 0.357s passed
testSchemaGenNoParms 0.418s passed
testSchemaGenOutput 4.767s passed

Standard output

==== testSchemaGenNoParms ====
Environment:
OS [ os.name ] [ Linux ] isWindows [ false ]
WLP Bin [ ../build.image/wlp/bin ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin ] Exists [ true ]
  Script [ ./schemaGen ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/./schemaGen ] Exists [ true ]
  Output [ schemaGenOutput.xsd ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/schemaGenOutput.xsd ] Exists [ false ]
Running [ java.lang.ProcessBuilder@575feacd ]:

The schemaGen command generates the XML schema for the                       
Liberty core configuration and other installed products                
extensions in a single output file.

Usage: ./schemaGen [options] outputFile

Return code [ 0 ]
Detected 'Usage'
Did not detect detect '--encoding'
PASSED

==== testSchemaGenHelp ====
Environment:
OS [ os.name ] [ Linux ] isWindows [ false ]
WLP Bin [ ../build.image/wlp/bin ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin ] Exists [ true ]
  Script [ ./schemaGen ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/./schemaGen ] Exists [ true ]
  Output [ schemaGenOutput.xsd ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/schemaGenOutput.xsd ] Exists [ false ]
Running [ java.lang.ProcessBuilder@93909f0d ]:

The schemaGen command generates the XML schema for the                       
Liberty core configuration and other installed products                
extensions in a single output file.

Usage: ./schemaGen [options] outputFile

Options:

--compactOutput
The output schema will not contain indenting 
spaces, new line feeds, or XML comments.

--encoding
The character encoding to use for the output.     
The default encoding is "UTF-8".

--ignorePidsFile
A file name containing a list of pids to ignore.

--locale
The language to use when you are creating the output
file. This string consists of the ISO-639 two-letter lowercase language
code, optionally followed by and underscores and the ISO-3166 uppercase
two-letter country code.

--schemaVersion
If schemaVersion=1.1 is specified, then both explicitly named child    
elements and the xsd:any element are written to the output file.

--outputVersion
If outputVersion=2.0 is specified, only the xsd:any element is used    
in the output file, so that unknown elements pass XSD validation at    
the expense of losing validation for known elements.

Return code [ 0 ]
Detected 'Usage'
Detected '--encoding'
PASSED

==== testSchemaGenOutput ====
Environment:
OS [ os.name ] [ Linux ] isWindows [ false ]
WLP Bin [ ../build.image/wlp/bin ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin ] Exists [ true ]
  Script [ ./schemaGen ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/./schemaGen ] Exists [ true ]
  Output [ schemaGenOutput.xsd ] [ /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/schemaGenOutput.xsd ] Exists [ false ]
Running [ java.lang.ProcessBuilder@69564e7b ]:
CWWKG0109I: The schema was created in the [schemaGenOutput.xsd] file.
Return code [ 0 ]
Detected 'CWWKG0109I'
Detected output [/home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh2.solo/build/open-liberty/dev/com.ibm.ws.config.schemagen/../build.image/wlp/bin/schemaGenOutput.xsd ]
PASSED