Difference between revisions of "General File Structure"

From CDOT Wiki
Jump to: navigation, search
(Good)
(Bad)
Line 39: Line 39:
  
 
TC_012_BlankWithBom - Blank with BOM
 
TC_012_BlankWithBom - Blank with BOM
 +
 +
TC_013_NonUTF8Encoding - A file with a proper WEBVTT header but not in encoded as UTF-8
  
 
== Passed tests ==
 
== Passed tests ==

Revision as of 10:00, 27 September 2012

Group Members

  • Mandeep Garg
  • Mike Shitov
  • Bryce Harmidy

Tests for general file structure

Tests will be divided between good and bad.

Format for Test Case files will be TC_nnn_Descrip

Good

TC_001_WEBVTTNoBOM- Webvtt file without optional BOM

TC_002_WEBVTTWithBom - Webvtt file with optional BOM

TC_003_WEBVTTHead - Webvtt file starts with proper WEBVTT header

TC_004_WEBVTTSpace - Webvtt file can have a space after proper WEBVTT header

TC_005_WEBVTTTab - Webvtt file can have a tab after proper WEBVTT header

TC_007_WEBVTTSpaceText - Webvtt header may be followed by a space and text

TC_008_WEBVTTTabText - Webvtt header may be followed by a tab and text

Bad

TC_006_HeaderNoNewLineSeperator - Proper header not followed by a space test

TC_009_TextBeforeWEBVTTHead - random text before the WEBVTT header

TC_010_NewLineBeforeWEBVTT - new line before the WEBVTT header

TC_011_BlankNoBom- Blank with no BOM

TC_012_BlankWithBom - Blank with BOM

TC_013_NonUTF8Encoding - A file with a proper WEBVTT header but not in encoded as UTF-8

Passed tests

Failed tests

Notable points from these tests