Introduction. This is a publication / release version of the WebCGM 2.1 Test Suite (WebCGM21TS). This release covers all of the functionality of the WebCGM20TS, plus the additional functionality has been added to the 2.1 version of WebCGM profile. Please download the ZIP file and see the Release Notes.
Future releases are anticipated, with further improvements, bug fixes, etc.
Copyright & License. The WebCGM21TS adds 42 new tests to the existing 300 tests of WebCGM20TS. These tests were developed by the OASIS CGM Open WebCGM Technical Committee. OASIS copyright rules apply to these tests, Copyright � OASIS Open 2009-2010. All Rights Reserved.
The core of the WebCGM 2.1 Test Suite (WebCGM21TS) is the WebCGM 2.0 Test Suite (WebCGM20TS). The core of the WebCGM20TS is the WebCGM10TS. The WebCGM10TS was developed by Lofton Henderson and NIST (National Institute of Standards and Technology). CGM Open has provided a Web location for free distribution of the WebCGM10TS since its first publication. Copyright of the WebCGM10TS is held by Lofton Henderson. License terms for use and redistribution are free, subject to a no-modification restriction (to preserve the integrity of WebCGM10TS materials). See the WebCGM10TS copyright & license document.
Other than those tests that comprise the WebCGM10TS, all tests in the WebCGM21TS were developed by the OASIS CGM Open WebCGM Technical Committee. OASIS copyright rules apply to these tests, Copyright � OASIS Open 2006-2010. All Rights Reserved.
NIST Software Disclaimer. The WebCGM 1.0 Conformance Test Suite (WebCGM10TS) was developed under contract for the National Institute of Standards and Technology (NIST), an agency of the U.S. Department of Commerce, Gaithersburg MD 20899, USA. WebCGM10TS bears no warranty, either express or implied. NIST does not assume legal liability nor responsibility for a User's use of WebCGMTS10 or the results of such use.
Composition. The composition of the WebCGM 2.1 test suite is as follows:
Test versions. In the WebCGM 2.1 profile, there is a conformance rule that the metafile must be identified by the "ProfileEd:2.1" string. A similar rule is present in the WebCGM 2.0 profile ("ProfileEd:2.0"), and the WebCGM 1.0 profile ("ProfileEd:1.0"). Except for this requirement, most valid 1.0 and 2.0 metafiles would be valid 2.1 metafiles. I.e., if their identifer string were changed to 2.1, they would be valid 2.1 metafiles.
In the initial releases of the WebCGM21TS, most of the files in the previous editions -- WebCGM10TS and WebCGM20TS metafiles -- have been left "as is". I.e., their identifiers have not been changed to "ProfileEd:2.1". Exceptions have been made in cases where WebCGM 2.1 has changed the associated conformance requirements in the test. In such cases, the ProfileEd has been changed to 2.1. In other words, the ProfileEd in any test of the WebCGM21TS actually denotes the oldest edition of the WebCGM profile for which the test is valid.
It is planned that a future release of this WebCGM21TS will change all files to contain "ProfileEd:2.1". Please see the Release Notes (in the downloadable ZIP file) for up-to-date information about particular Test Suite releases.
Please check the Release Notes (in the downloadable ZIP file) for any up-to-date information about the following Test Suite caveats.
Installation Instructions. To view WebCGM21TS, all you have to do is unzip the downloadble ZIP file into a local directory. Be sure to pay attention to these details when un-zipping:
After you have successfully unzipped the contents:
If you choose "21tests", this will display a Table of Contents of new WebCGM 2.1 test cases. Select any one.
Dynamic10 Contents. Test cases have names like: linking-basicH2C-BE-01. The first bit is the functional category, the second is the specific focus, the third is test type (all of these are BE, Basic Effectivity), the 4th is a sequence (within category): category-focus-BE-nn.. All of the tests are BE tests. They try to provide a complete coverage of V4 functionality at a basic level of detail -- no drill down or detailed testing (DT).
When you select a test in the TOC, a 4-frame screen will come up.
For information (but not relevant to viewing and using the test suite), the test cases are each driven off of an XML test case description instance, and XSLT stylesheets generate the test harnesses.
There are many files associated with each test case. You don't need to worry much about most of them. But a couple of files might interest you. The test content root file will generally be named "category-focus-BE-nn" with extension .cgm or .html. If the test case has a target file for a link, it will be named something line "category-focus-BE-nn-target", with extension .cgm or .html. All of the files with bits like "-dyn" as a suffix to the name are associated with the harness, and you shouldn't need to worry about them.
WebCGM 2.0 tests. The majority of these are DOM and XCF tests, that each start with an HTML page. Typically there is a reference picture (PNG) on one side, a frame for display of the subject source metafile the other side, and an HTML table below, with interactive buttons for triggering DOM calls.
WebCGM 2.1 tests. These are mostly tests for the functionality added to WebCGM by the 2.1 edition. Each start with an HTML page. Typically there is a reference picture (PNG) on one side, a frame for display of the subject source metafile the other side, and an HTML table below, with interactive buttons for triggering the various sub-tests.
Download. You can download a ZIP file and install the test suite on a local computer.
View Intro Page. Download the ZIP file, install it per the above instructions, and initiate viewing at introPage.html. Either way, if you view the Intro page, it will have links that take you to the various parts of the suite. Please note viewer and browser requirements discussed above.
Feedback Welcome. We welcome specific critiques on individual tests, Your general comments and impressions are welcome as well. Contributions can be made with the enclosed contribution form. Please send comments and contributions to the WebCGM TS manager, or [email protected].
Questions? Please write to WebCGM TS manager, or [email protected].