Difference between revisions of "General File Structure"

From CDOT Wiki
Jump to: navigation, search
(Good)
(Bad)
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
* Mike Shitov
 
* Mike Shitov
  
* Bryce
+
* Bryce Harmidy
 
 
  
 
== Tests for general file structure ==
 
== Tests for general file structure ==
 
Tests will be divided between good and bad.
 
Tests will be divided between good and bad.
  
 +
Format for Test Case files will be TC_nnn_Descrip
 
=== Good ===
 
=== Good ===
  
Line 18: Line 18:
 
TC_002_WEBVTTWithBom - Webvtt file with optional BOM
 
TC_002_WEBVTTWithBom - Webvtt file with optional BOM
  
TC_003_WEBVTTHead - Webvtt file starts with peoper WEBVTT header
+
TC_003_WEBVTTHead - Webvtt file starts with proper WEBVTT header
  
 
TC_004_WEBVTTSpace - Webvtt file can have a space after proper WEBVTT header
 
TC_004_WEBVTTSpace - Webvtt file can have a space after proper WEBVTT header
Line 29: Line 29:
  
 
=== Bad ===
 
=== Bad ===
 +
 
TC_006_HeaderNoNewLineSeperator - Proper header not followed by a space test
 
TC_006_HeaderNoNewLineSeperator - Proper header not followed by a space test
 +
 
TC_009_TextBeforeWEBVTTHead - random text before the WEBVTT header
 
TC_009_TextBeforeWEBVTTHead - random text before the WEBVTT header
 +
 
TC_010_NewLineBeforeWEBVTT - new line before the WEBVTT header
 
TC_010_NewLineBeforeWEBVTT - new line before the WEBVTT header
 +
 
TC_011_BlankNoBom- Blank with no BOM
 
TC_011_BlankNoBom- Blank with no BOM
 +
 
TC_012_BlankWithBom - Blank with BOM
 
TC_012_BlankWithBom - Blank with BOM
 +
 +
TC_013_ANSIEncoding - A file with a proper WEBVTT header but encoded in ANSI
  
 
== Passed tests ==
 
== Passed tests ==

Latest revision as of 09:22, 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_ANSIEncoding - A file with a proper WEBVTT header but encoded in ANSI

Passed tests

Failed tests

Notable points from these tests