Plan for testing all the assertions which apply to the WOFF file format itself. The majority of these will be tested by a validation tool.
| Test Case
| Description
|
| Extraneous Data Between Directory and Table Data
| There are four null bytes between the table directory and the table data.
|
| Extraneous Data Between Tables
| There are four null bytes between each of the table data blocks.
|
| Extraneous Data After Table Data
| There are four null bytes after the table data block and there is no metadata or private data.
|
| Extraneous Data Between Table Data and Metadata
| There are four null bytes between the table data and the metadata.
|
| Extraneous Data Between Table Data and Private Data
| There are four null bytes between the table data and the private data.
|
| Extraneous Data Between Metdata and Private Data
| There are four null bytes between the metadata and the private data.
|
| Extraneous Data After Metadata
| There are four null bytes after the metadata and there is no private data.
|
| Extraneous Data After Private Data
| There are four null bytes after the private data.
|
| Title
| Description
|
| Valid vendor Element
| The vendor element matches the schema.
|
| Valid vendor Element Without url Attribute
| The vendor element does not contain a url attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| No vendor Element
| The vendor element doesn't exist. This should be linked to a testable assertion in the spec.
|
| More Than One vendor Element
| The vendor element occurs twice. This should be linked to a testable assertion in the spec.
|
| No name Attribute in vendor Element
| The vendor element does not contain the required name attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in vendor Element
| The vendor element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Child Element in vendor Element
| The vendor element contains a child element. This should be linked to a testable assertion in the spec.
|
| Content in vendor Element
| The vendor element contains content. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid credits Element With Single credit Element
| The credits element matches the schema and it contains one credit child element. This should be linked to a testable assertion in the spec.
|
| Valid credits Element With Two credit Elements
| The credits element matches the schema and it contains two credit child elements. This should be linked to a testable assertion in the spec.
|
| More Than One credits Element
| The credits element occurs more than once. This should be linked to a testable assertion in the spec.
|
| No credit Element in credits Element
| The credits element does not contain a credit child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in credits Element
| The credits element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in credits Element
| The credits element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in credits Element
| The credits element contains an content. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid description Element
| The description element matches the schema.
|
| Valid description Element Without url Attribute
| The description element does not contain a url attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid description Element With One No Language Tagged text Element
| The description element matches the schema. It contains one text element that does not have a language tag. This should be linked to a testable assertion in the spec.
|
| Valid description Element With One Language Tagged text Element
| The description element matches the schema. It contains one text element that has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid description Element With Mixed text Element Language Tags 1
| The description element matches the schema. One text element does not have a language tag. One text element has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid description Element With Mixed text Element Language Tags 2
| The description element matches the schema. Two text elements have a language tags. This should be linked to a testable assertion in the spec.
|
| More Than One description Element
| The description element occurs more than once. This should be linked to a testable assertion in the spec.
|
| No text Element in description Element
| The description element does not contain a text child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in description Element
| The description element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in description Element
| The description element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in description Element
| The description element contains content. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in description Element text Element
| The description element contains a text element with an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in description Element text Element
| The description element contains a text element with an unknown child element. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid license Element
| The license element matches the schema.
|
| Valid license Element
| The license element does not have a url attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid license Element
| The license element does not have an id attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid license Element With One No Language Tagged text Element
| The license element matches the schema. It contains one text element that does not have a language tag. This should be linked to a testable assertion in the spec.
|
| Valid license Element With One Language Tagged text Element
| The license element matches the schema. It contains one text element that has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid license Element With Mixed text Element Language Tags 1
| The license element matches the schema. One text element does not have a language tag. One text element has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid license Element With Mixed text Element Language Tags 2
| The license element matches the schema. Two text elements have a language tags. This should be linked to a testable assertion in the spec.
|
| More Than One license Element
| The license element occurs more than once. This should be linked to a testable assertion in the spec.
|
| No text Element in license Element
| The license element does not contain a text child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in license Element
| The license element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in license Element
| The license element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in license Element
| The license element contains content. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in license Element text Element
| The license element contains a text element with an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in license Element text Element
| The license element contains a text element with an unknown child element. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid copyright Element With One No Language Tagged text Element
| The copyright element matches the schema. It contains one text element that does not have a language tag. This should be linked to a testable assertion in the spec.
|
| Valid copyright Element With One Language Tagged text Element
| The copyright element matches the schema. It contains one text element that has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid copyright Element With Mixed text Element Language Tags 1
| The copyright element matches the schema. One text element does not have a language tag. One text element has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid copyright Element With Mixed text Element Language Tags 2
| The copyright element matches the schema. Two text elements have a language tags. This should be linked to a testable assertion in the spec.
|
| More Than One copyright Element
| The copyright element occurs more than once. This should be linked to a testable assertion in the spec.
|
| No text Element in copyright Element
| The copyright element does not contain a text child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in copyright Element
| The copyright element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in copyright Element
| The copyright element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in copyright Element
| The copyright element contains content. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in copyright Element text Element
| The copyright element contains a text element with an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in copyright Element text Element
| The copyright element contains a text element with an unknown child element. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid trademark Element With One No Language Tagged text Element
| The trademark element matches the schema. It contains one text element that does not have a language tag.
|
| Valid trademark Element With One Language Tagged text Element
| The trademark element matches the schema. It contains one text element that has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid trademark Element With Mixed text Element Language Tags 1
| The trademark element matches the schema. One text element does not have a language tag. One text element has a language tag. This should be linked to a testable assertion in the spec.
|
| Valid trademark Element With Mixed text Element Language Tags 2
| The trademark element matches the schema. Two text elements have a language tags. This should be linked to a testable assertion in the spec.
|
| More Than One trademark Element
| The trademark element occurs more than once. This should be linked to a testable assertion in the spec.
|
| No text Element in trademark Element
| The trademark element does not contain a text child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in trademark Element
| The trademark element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in trademark Element
| The trademark element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in trademark Element
| The trademark element contains content. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in trademark Element text Element
| The trademark element contains a text element with an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in trademark Element text Element
| The trademark element contains a text element with an unknown child element. This should be linked to a testable assertion in the spec.
|
| Title
| Description
|
| Valid extension Element
| The extension element matches the schema. This should be linked to a testable assertion in the spec.
|
| Two Valid extension Elements
| Two extension elements match the schema. This should be linked to a testable assertion in the spec.
|
| Valid extension Element Without id Attribute
| The extension element does not have an id attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid extension Element Without name Element
| The extension element does not have a name child element but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid extension Element With Two name Elements 1
| The extension element contains one name element without a lang attribute and another with a lang attribute. This should be linked to a testable assertion in the spec.
|
| Valid extension Element With Two name Elements 2
| The extension element contains two name elements with lang attributes. This should be linked to a testable assertion in the spec.
|
| Valid extension Element With Two item Elements
| The extension element contains two item child elements. This should be linked to a testable assertion in the spec.
|
| No item Element in extension Element
| The extension element does not contain an item child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in extension Element
| The extension element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in extension Element
| The extension element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in extension Element
| The extension element contains content. This should be linked to a testable assertion in the spec.
|
| Valid item Element in extension Element
| The item element in the extension element matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid item Element With Multiple Languages in extension Element
| The item element in the extension element contains a variety of languages. This should be linked to a testable assertion in the spec.
|
| Valid item Element Without id Attribute in extension Element
| The item element in the extension element does not contain an id attribute but it still matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid item Element With Two name Elements in extension Element 1
| The item element in the extension element contains one name child element with no lang attribute and one with a lang attribute. This should be linked to a testable assertion in the spec.
|
| Valid item Element With Two name Elements in extension Element 2
| The item element in the extension element contains two name child elements with lang attributes. This should be linked to a testable assertion in the spec.
|
| Valid item Element With Two value Elements in extension Element 1
| The item element in the extension element contains one value child element with no lang attribute and one with a lang attribute. This should be linked to a testable assertion in the spec.
|
| Valid item Element With Two value Elements in extension Element 2
| The item element in the extension element contains two value child elements with lang attributes. This should be linked to a testable assertion in the spec.
|
| No name Element in item Element in extension Element
| The item element in the extension element does not contain a name child element. This should be linked to a testable assertion in the spec.
|
| No value Element in item Element in extension Element
| The item element in the extension element does not contain a value child element. This should be linked to a testable assertion in the spec.
|
| Unknown Attribute in item Element in extension Element
| The item element in the extension element contains an unknown attribute. This should be linked to a testable assertion in the spec.
|
| Unknown Child Element in item Element in extension Element
| The item element in the extension element contains an unknown child element. This should be linked to a testable assertion in the spec.
|
| Content in item Element in extension Element
| The item element in the extension element contains content. This should be linked to a testable assertion in the spec.
|
| Valid name Element in item Element in extension Element
| The name element in the item element in the extension element matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid name Element With lang Attribute in item Element in extension Element
| The name element in the item element in the extension element contains a lang attribute and it matches the schema. This should be linked to a testable assertion in the spec.
|
| Unkown Attribute in name Element in item Element in extension Element
| The name element in the item element in the extension element contains an unkown attribute. This should be linked to a testable assertion in the spec.
|
| Child Element in name Element in item Element in extension Element
| The name element in the item element in the extension element contains a child element. This should be linked to a testable assertion in the spec.
|
| Valid value Element in item Element in extension Element
| The value element in the item element in the extension element matches the schema. This should be linked to a testable assertion in the spec.
|
| Valid value Element With lang Attribute in item Element in extension Element
| The value element in the item element in the extension element contains a lang attribute and it matches the schema. This should be linked to a testable assertion in the spec.
|
| Unkown Attribute in value Element in item Element in extension Element
| The value element in the item element in the extension element contains an unkown attribute. This should be linked to a testable assertion in the spec.
|
| Child Element in value Element in item Element in extension Element
| The value element in the item element in the extension element contains a child element. This should be linked to a testable assertion in the spec.
|