SMIL 3.0 Testcases (features introduced in SMIL 2.1)


Introduction

This document collects testcases for SMIL 3.0 from the features introduced in SMIL 2.1. The former SMIL 2.1 testcases where updated to SMIL 3.0 with proper SMIL 3.0 Namespace, DTD declaration, and new BaseProfile and Version attribute.

1 - Layout

1.1 - BackgroundTilingLayout Module

bkL-background-00.smil

Test Feature Expected Behaviour
1.1.1
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-01.smil

Test Feature Expected Behaviour
1.1.2
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-02.smil

Test Feature Expected Behaviour
1.1.3
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-03.smil

Test Feature Expected Behaviour
1.1.4
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-04.smil

Test Feature Expected Behaviour
1.1.5
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-05.smil

Test Feature Expected Behaviour
1.1.6
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-06.smil

Test Feature Expected Behaviour
1.1.7
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-07.smil

Test Feature Expected Behaviour
1.1.8
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
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.

bkL-background-09.smil

Test Feature Expected Behaviour
1.1.10
background image functionality
1 image, 1 text description
Open as Text
Open as SMIL
Test that backgroundImage="none" is implemented.

1.2 - BasicLayout Module

bL-meetBest-00.smil

Test Feature Expected Behaviour
1.2.1
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior This files shows behaviour with fit=hidden, the default.

bL-meetBest-01.smil

Test Feature Expected Behaviour
1.2.2
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior The tall, wide image should be scaled because of meetBest on region.

bL-meetBest-02.smil

Test Feature Expected Behaviour
1.2.3
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior The wide image should be scaled because of meetBest on region.

bL-meetBest-03.smil

Test Feature Expected Behaviour
1.2.4
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior The tall image should be scaled because of meetBest on region.

bL-meetBest-04.smil

Test Feature Expected Behaviour
1.2.5
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior The small image should not be scaled because of meetBest on region.

bL-meetBest-05.smil

Test Feature Expected Behaviour
1.2.6
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify fit="meetBest" behavior The (small) image should no be scaled.

bL-meetBest-06.smil

Test Feature Expected Behaviour
1.2.7
meetBest fit functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

1.3 - AlignmentLayout Module

aL-mediaAlign-00.smil

Test Feature Expected Behaviour
1.3.1
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is not used. The image should align at topLeft.

aL-mediaAlign-01.smil

Test Feature Expected Behaviour
1.3.2
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is set to topLeft. The image should align at topLeft.

aL-mediaAlign-02.smil

Test Feature Expected Behaviour
1.3.3
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-03.smil

Test Feature Expected Behaviour
1.3.4
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-04.smil

Test Feature Expected Behaviour
1.3.5
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-05.smil

Test Feature Expected Behaviour
1.3.6
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-06.smil

Test Feature Expected Behaviour
1.3.7
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-07.smil

Test Feature Expected Behaviour
1.3.8
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-08.smil

Test Feature Expected Behaviour
1.3.9
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-09.smil

Test Feature Expected Behaviour
1.3.10
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-11.smil

Test Feature Expected Behaviour
1.3.11
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topLeft.

aL-mediaAlign-12.smil

Test Feature Expected Behaviour
1.3.12
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topMid.

aL-mediaAlign-13.smil

Test Feature Expected Behaviour
1.3.13
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at topRight.

aL-mediaAlign-14.smil

Test Feature Expected Behaviour
1.3.14
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at midLeft.

aL-mediaAlign-15.smil

Test Feature Expected Behaviour
1.3.15
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at center.

aL-mediaAlign-16.smil

Test Feature Expected Behaviour
1.3.16
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at midRight.

aL-mediaAlign-17.smil

Test Feature Expected Behaviour
1.3.17
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomLeft.

aL-mediaAlign-18.smil

Test Feature Expected Behaviour
1.3.18
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomMid.

aL-mediaAlign-19.smil

Test Feature Expected Behaviour
1.3.19
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region definition. The image should align at bottomRight.

aL-mediaAlign-21.smil

Test Feature Expected Behaviour
1.3.20
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
This file is used to verify media aligment behavior when an explicit center overrides an implicit topLeft. The image should be centered.

aL-mediaAlign-22.smil

Test Feature Expected Behaviour
1.3.21
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-23.smil

Test Feature Expected Behaviour
1.3.22
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-24.smil

Test Feature Expected Behaviour
1.3.23
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-25.smil

Test Feature Expected Behaviour
1.3.24
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-26.smil

Test Feature Expected Behaviour
1.3.25
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-27.smil

Test Feature Expected Behaviour
1.3.26
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-mediaAlign-28.smil

Test Feature Expected Behaviour
1.3.27
mediaAlign functionality
1 background image (196x158), 1 image (88x44), 1 text description
Open as Text
Open as SMIL
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.

aL-soundAlign-00.smil

Test Feature Expected Behaviour
1.3.28
soundAlign functionality
1 stereo audio object, 1 text description
Open as Text
Open as SMIL
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.

aL-soundAlign-03.smil

Test Feature Expected Behaviour
1.3.31
soundAlign functionality
1 stereo audio object, 1 text description
Open as Text
Open as SMIL
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.

aL-soundAlign-04.smil

Test Feature Expected Behaviour
1.3.32
soundAlign functionality
1 stereo audio object, 1 text description
Open as Text
Open as SMIL
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.

aL-soundAlign-05.smil

Test Feature Expected Behaviour
1.3.33
soundAlign functionality
1 stereo audio object, 1 text description
Open as Text
Open as SMIL
This file is used to verify sound aligment behavior when soundAlign is set on the region. Only the left (guitar) channel should be rendered.

aL-soundAlign-06.smil

Test Feature Expected Behaviour
1.3.34
soundAlign functionality
1 stereo audio object, 1 text description
Open as Text
Open as SMIL
This file is used to verify sound aligment behavior when soundAlign is set on the region. Only the right (piano) channel should be rendered.

medalign_text.smi

Test Feature Expected Behaviour
1.3.35
mediaAlign attribute
9 images and 1 text
Open as Text
Open as SMIL
9 images are aligned by mediaAlign. Upper left image is aligned as "topLeft", upper center image is aligned to "topMid", and so on.

1.4 - AlignmentLayout

soundAlign_all.smi

Test Feature Expected Behaviour
1.4.1
soundAlign
3 audio, 3 text
Open as Text
Open as SMIL
audio plays left, both, and right in sequancial.

1.5 - BasicLayout

fit_meetBest_small.smi

Test Feature Expected Behaviour
1.5.1
fit="meetBest"
1 image (160x120), 2 text
Open as Text
Open as SMIL
img1 shrinks to region size keeping its aspect ratio. img2 shown at original size.

1.6 - BackgroundTilingLayout

bgimg_url.smi

Test Feature Expected Behaviour
1.6.1
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
region inherits root-layout's background image.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.2
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
background image are not shown. background color filled in region instaed.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.3
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
root-layout has grid image background and region has gradated rectangle image background.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.4
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
region's background repeat inherits root-layout's value.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.5
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
background image not be repeated.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.6
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
background image repeated horizontally and vertically.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.7
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
background image repeated horizontally only.

bgimg_url.smi

Test Feature Expected Behaviour
1.6.8
backgroundImage
2 images and 1 text
Open as Text
Open as SMIL
background image repeated vertically only.

2 - Media

2.1 - MediaParam

mP-paramGroup-00.smil

Test Feature Expected Behaviour
2.1.1
paramGroup functionality
1 text description
Open as Text
Open as SMIL
This file is used to verify parsing of an empty param group.

mP-paramGroup-01.smil

Test Feature Expected Behaviour
2.1.2
paramGroup functionality
1 text description
Open as Text
Open as SMIL
This file is used to verify parsing of a named empty param group.

mP-paramGroup-02.smil

Test Feature Expected Behaviour
2.1.3
paramGroup functionality
1 text description
Open as Text
Open as SMIL
This file is used to verify processing of a named param group with one element.

mP-paramGroup-03.smil

Test Feature Expected Behaviour
2.1.4
paramGroup functionality
1 text description
Open as Text
Open as SMIL
This file is used to verify processing of a named param group with one element and a second param defined as a child element.

mP-paramGroup-04.smil

Test Feature Expected Behaviour
2.1.5
paramGroup functionality
1 text description
Open as Text
Open as SMIL
This file is used to verify processing of a named param group with multiple elements.

mP-paramGroup-05.smil

Test Feature Expected Behaviour
2.1.6
paramGroup functionality
1 text description
Open as Text
Open as SMIL
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.

mP-paramGroup-06.smil

Test Feature Expected Behaviour
2.1.7
paramGroup functionality
1 text description
Open as Text
Open as SMIL
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.

2.2 - type attribute

typeTest.smil

Test Feature Expected Behaviour
2.2.1
type attribute
1 text description
Open as Text
Open as SMIL
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.

3 - Transitions

3.1 - Transitions

audioFade-00.smil

Test Feature Expected Behaviour
3.1.1
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
A 16 sec tune starts without fade-in or fade-out 2 sec after a text description.

audioFade-01.smil

Test Feature Expected Behaviour
3.1.2
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
A 16 sec tune starts 2 sec after a text description. The tune fades in over 8 seconds.

audioFade-02.smil

Test Feature Expected Behaviour
3.1.3
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
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.

audioFade-03.smil

Test Feature Expected Behaviour
3.1.4
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
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.

audioFade-11.smil

Test Feature Expected Behaviour
3.1.5
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
A 16 sec tune starts 2 sec after a text description.The tune fades out over the last 8sec.

audioFade-12.smil

Test Feature Expected Behaviour
3.1.6
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
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.

audioFade-13.smil

Test Feature Expected Behaviour
3.1.7
audio fade
1 text description, 1 audio object
Open as Text
Open as SMIL
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.

trans00.smil

Test Feature Expected Behaviour
3.1.8
scope attribute
2 images, 1 text object
Open as Text
Open as SMIL
Two separate transitions are targetted to two regions.

trans01.smil

Test Feature Expected Behaviour
3.1.9
scope attribute
2 images, 1 text object
Open as Text
Open as SMIL
A single transiton (full screen transition) is targetted to two regions.

3.2 - BasicTransitions

audioFade_in.smi

Test Feature Expected Behaviour
3.2.1
audioFade
1 audio and 1 text
Open as Text
Open as SMIL
After 1 sec. fade audio in over 3s.

audioFade_out.smi

Test Feature Expected Behaviour
3.2.2
audioFade
1 audio and 1 text
Open as Text
Open as SMIL
After 1 sec. audio begins. After 3s, fade out over 3s.

New SMIL 3.0 Features (Introduced in SMIL 3.0):
[Animation] [Content Control] [Layout] [Media] [Metainformation] [SMILtext] [State] [Structure] [Timing] [Namespace and Doctype]

Other SMIL 3.0 Features (Introduced in SMIL 2.1):
[Layout]  [Media]  [Transitions

Other SMIL 3.0 Features (Introduced in SMIL 2.0):
[Animation] [Content] [Layout] [Linking] [Media] [Metadata] [Structure] [Timing] [Transition] [Time Manipulation] [Profile]