This document collects testcases for the new features introduced in SMIL 2.1
1- Testcases for the new features introduced in SMIL 2.1.
The new SMIL 2.1 Profiles; Language Profile, Mobile Profile and Extended Mobile Profile are tested throughout the above testcases for the new SMIL 2.1 features. This involves testing Namespace and DTD profile naming.
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.1 |
|
This file is used to verify background image behavior when an image is set on the region. In this baseline example, a colored background and a foreground image is shown. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.2 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, a background image is shown with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.3 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a background image are defined. The small background image should be shown, with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.4 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a small background image are defined. The small background image should be shown tiled since the default value for backgroundRepeat is "repeat", with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.5 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a small background image are defined. The small background image should be shown tiled, with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.6 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a small background image are defined. The small background image should be shown tiled in the X dimension, with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.7 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a small background image are defined. The small background image should be shown tiled in the Y dimension, with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.8 |
|
This file is used to verify background image behavior when an image is set on the region. In this example, both a background color and a small background image are defined. The small background image should be shown non-tiled, with text caption. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.1.10 |
|
Test that backgroundImage="none" is implemented. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.1 |
|
This file is used to verify fit="meetBest" behavior This files shows behaviour with fit=hidden, the default. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.2 |
|
This file is used to verify fit="meetBest" behavior The tall, wide image should be scaled because of meetBest on region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.3 |
|
This file is used to verify fit="meetBest" behavior The wide image should be scaled because of meetBest on region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.4 |
|
This file is used to verify fit="meetBest" behavior The tall image should be scaled because of meetBest on region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.5 |
|
This file is used to verify fit="meetBest" behavior The small image should not be scaled because of meetBest on region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.6 |
|
This file is used to verify fit="meetBest" behavior The (small) image should no be scaled. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.2.7 |
|
This file is used to verify fit="meetBest" behavior The (small) image should be scaled because meetBest on region is overriden by 'meet' on command line, by explicitly setting the attribute value on the media object reference. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.1 |
|
This file is used to verify media aligment behavior when mediaAlign is not used. The image should align at topLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.2 |
|
This file is used to verify media aligment behavior when mediaAlign is set to topLeft. The image should align at topLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.3 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at topMid. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.4 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at topRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.5 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at midLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.6 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at center. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.7 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at midRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.8 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at bottomLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.9 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at bottomMid. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.10 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set on the media object reference. The image should align at bottomRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.11 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.12 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topMid. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.13 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.14 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at midLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.15 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at center. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.16 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at midRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.17 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomLeft. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.18 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomMid. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.19 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.20 |
|
This file is used to verify media aligment behavior when an explicit center overrides an implicit topLeft. The image should be centered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.21 |
|
This file is used to verify media aligment behavior when mediaAlign is not set and a regPoint and regAlign are set on the region definition. The topRight corner should align at the center point in the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.22 |
|
This file is used to verify media aligment behavior when mediaAlign is explicitly set and a regPoint and regAlign are set on the region definition. The media should be placed at bottomRight. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.23 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region and both regPoint and regAlign are set on the media object. The topRight edge of the media should be placed at the center of the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.24 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region and only regPoint is set on the media object. The topRight edge of the media should be placed at the center of the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.25 |
|
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region and only regAlign is set on the media object. The center of the media should be placed at the bottomRight of the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.26 |
|
This file is used to verify media aligment behavior when mediaAlign, regPoint and regAlign are set on the media object. The media should be centered in the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.27 |
|
This file is used to verify media aligment behavior when mediaAlign, regPoint and regAlign are set on the region. The media should be centered in the region. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.28 |
|
This file is used to verify sound aligment behavior when no soundAlign is set on the region or media object. By default, stereo (piano and guitar) should be rendered. |
This file is used to verify sound aligment behavior when soundAlign is set on the media object. Only the right channel (piano) should be rendered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.31 |
|
This file is used to verify sound aligment behavior when soundAlign is set on the media object. Both the left (guitar) and the right channel (piano) should be rendered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.32 |
|
This file is used to verify sound aligment behavior when soundAlign is set on the region. Both the left (guitar) and the right channel (piano) should be rendered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.33 |
|
This file is used to verify sound aligment behavior when soundAlign is set on the region. Only the left (guitar) channel should be rendered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.34 |
|
This file is used to verify sound aligment behavior when soundAlign is set on the region. Only the right (piano) channel should be rendered. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.3.35 |
|
9 images are aligned by mediaAlign. Upper left image is aligned as "topLeft", upper center image is aligned to "topMid", and so on. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.4.1 |
|
audio plays left, both, and right in sequancial. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.5.1 |
|
img1 shrinks to region size keeping its aspect ratio. img2 shown at original size. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.1 |
|
region inherits root-layout's background image. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.2 |
|
background image are not shown. background color filled in region instaed. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.3 |
|
root-layout has grid image background and region has gradated rectangle image background. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.4 |
|
region's background repeat inherits root-layout's value. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.5 |
|
background image not be repeated. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.6 |
|
background image repeated horizontally and vertically. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.7 |
|
background image repeated horizontally only. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
1.6.8 |
|
background image repeated vertically only. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.1 |
|
This file is used to verify parsing of an empty param group. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.2 |
|
This file is used to verify parsing of a named empty param group. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.3 |
|
This file is used to verify processing of a named param group with one element. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.4 |
|
This file is used to verify processing of a named param group with one element and a second param defined as a child element. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.5 |
|
This file is used to verify processing of a named param group with multiple elements. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.6 |
|
This file is used to verify processing of a named param group with multiple elements, where one of the elements is overriden on the object reference. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.1.7 |
|
This file is used to verify processing of a named param group with multiple elements, where one of the elements is overriden on the object reference. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
2.2.1 |
|
An image is displayed with a type attribute specifying a text/plain type. The behavior for use with HTTP servers is that an image is displayed instead of character data. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.1 |
|
A 16 sec tune starts without fade-in or fade-out 2 sec after a text description. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.2 |
|
A 16 sec tune starts 2 sec after a text description. The tune fades in over 8 seconds. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.3 |
|
A 16 sec tune starts 2 sec after a text description.The tune fades in over 8sec, starting at 0.5, ending at 1.0. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.4 |
|
A 16 sec tune starts 2 sec after a text description. The tune fades in over 8sec, starting at 0.0, ending the transition at 0.5. The audio then jumps to 1.0. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.5 |
|
A 16 sec tune starts 2 sec after a text description.The tune fades out over the last 8sec. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.6 |
|
A 16 sec tune starts 2 sec after a text description.The tune fades out over the last 8sec. The fade out starts at 0.5 and ends at 0.0. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.7 |
|
A 16 sec tune starts 2 sec after a text description.The tune fades out over the last 8sec. The fade out starts at 1.0 and ends at 0.5. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.8 |
|
Two separate transitions are targetted to two regions. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.1.9 |
|
A single transiton (full screen transition) is targetted to two regions. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.2.1 |
|
After 1 sec. fade audio in over 3s. |
Test | Feature | Expected Behaviour | ||||
---|---|---|---|---|---|---|
3.2.2 |
|
After 1 sec. audio begins. After 3s, fade out over 3s. |
New SMIL 2.1 Features:
[Layout] [Media] [Transitions]
Other SMIL 2.1 Features:
[Animation] [Content] [Layout]
[Linking] [Media] [Metadata]
[Structure] [Timing] [Transition] [Time Manipulation] [Profile]