SMIL 2.0 Testsuite

Content Control Module

Editors:
Wo Chang (wchang@nist.gov),NIST/ITL
Thierry Michel (tmichel@w3.org),W3C


Modules: [All] [Animation] [Content] [Layout] [Linking] [Media] [Metadata] [Structure] [Timing] [Transition] [Time Manipulation] [Profile]

SMIL Content Control Module (report template)
Test # Feature Test (test file) Expected Behavior  
1 System  
1.1 systemAudioDesc test attribute
(smil, source)
(xhtml+smil, source)
  1. show image;
  2. play audio descriptions from a single source file containing descriptions and appropriately timed intervals of silence.
1.2 systemCaptions test attribute
(smil, source)
(xhtml+smil, source)
  1. play audio,
  2. display closed captions if user elects to see them
1.3 systemOverdubOrSubtitle test attribute
(smil, source)
(xhtml+smil, source)
  1. Show image and play English audio;
  2. play German audio or show German subtitles, as selected by the user.
  3. If no language, or an unavailable language, is selected by the user, play English audio only.
1.4 systemLanguage test attribute
(smil, source)
(xhtml+smil, source)
  1. Show image;
  2. play English or German audio, as selected by the user.
  3. If no language, or an unavailable language, is selected by the user, play default English audio
1.5 custom tests
(smil, source)
  1. A series of four custom tests, showing the smile.jpg if the test condition is true, and the frown.jpg if it is false. Each lasts 2 seconds, with a 1 second pause in between.
  2. 1. show smile.jpg if the test 'fred' is set to true, otherwise show frown.jpg. fred is false by default. fred has override='visible' and should be easy to change. a URI is also provided that may be used to override the default.
  3. 2. show smile.jpg if the test 'barney' is set to true, otherwise show frown.jpg. barney is true by default. barney has override='visible' and should be easy to change. a URI is also provided that may be used to override the default.
  4. 3. show smile.jpg if the test 'wilma' is set to true, otherwise show frown.jpg. wilma is true by default. wilma has override='hidden' and requires more effort to change. a URI is also provided that may be used to override the default.
  5. 4. show smile.jpg if the test 'betty' is set to true, otherwise show frown.jpg. betty is true by default. betty has override='hidden' and requires more effort to change. a URI is also provided that may be used to override the default.
1.6 deprecated system tests
(smil, source)
  1. A series of system tests, showing the smile.jpg if the system test condition is true, and the frown.jpg if it is false. Each lasts 2 seconds, with a 1 second pause in between.
  2. 1. show smile.jpg if the system bitrate is set to 56000bps o r greater, otherwise show frown.jpg.
  3. 2. show smile.jpg if the system captions are turned on, otherwise show frown.jpg.
  4. 3. show smile.jpg if the system language is "en", otherwise show frown.jpg.
  5. 4. show smile.jpg if the system supports the smil20 language, otherwise show frown.jpg.
  6. 5. show smile.jpg if the system screen depth is 8 or greater, otherwise show frown.jpg.
  7. 6. show smile.jpg if the system screen size is 480x640 or greater, otherwise show frown.jpg.
  8. 7. show smile.jpg if the system overdub or captions setting is set to overdub, otherwise show frown.jpg.
1.7 prefetch - case 1
(smil, source)
(RM smil, source)
  1. Show the smile.jpg image until the prefetch element ends and then show 5s of the video clip. The user agent is not required to actually prefetch and cache the video clip.
1.8 prefetch - case 2
(smil, source)
(RM smil, source)
  1. Same as prefetch1.smil, but tests different arg value types. Show the smile.jpg image until the prefetch element ends and then show 5s of the video clip. The user agent is not required to actually prefetch and cache the video clip.
1.9 skip-content
(smil, source)
  1. Show the smile.jpg image for 2s and then show the frown.jpg image for 2s.
  2. A "fake" element is declared inside a 'FakeExtensions' names pace. The player should play the content declared inside this elem ent in the first instance when skip-content is declared 'false', an d skip the content decalred inside the second instance of the element when skip-content is declared 'true'. Note: it is the wrong behavior to play smile 2s, frown 2s, and then smile for 2s again.
1.10 system tests
(smil, source)
(xhtml+smil, source)
  1. A series of system tests, showing the smile.jpg if the system test condition is true, and the frown.jpg if it is false. Each lasts 2 seconds, with a 1 second pause in between.
  2. 1. show smile.jpg if the system bitrate is set to 56000bps or greater, otherwise show frown.jpg.
  3. 2. show smile.jpg if the system captions are turned on, otherwise show frown.jpg.
  4. 3. show smile.jpg if the system language is "en", otherwise show frown.jpg.
  5. 4. show smile.jpg if the system supports the smil20 language, otherwise show frown.jpg.
  6. 5. show smile.jpg if the system screen depth is 8 or greater, otherwise show frown.jpg.
  7. 6. show smile.jpg if the system screen size is 480x640 or greater, otherwise show frown.jpg.
  8. 7. show smile.jpg if the system audio descriptions are turned on, otherwise show frown.jpg.
  9. 8. show smile.jpg if the system CPU is an x86, otherwise show frown.jpg.
  10. 9. show smile.jpg if the system component "someComponent" is present, otherwise show frown.jpg.
  11. 10. show smile.jpg if the system OS is Win32, otherwise show frown.jpg.
  12. 11. show smile.jpg if the system overdub or subtitles are set to overdub, otherwise show frown.jpg.