    <!--
                Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
    See http://www.w3.org/Consortium/Legal/.
    Author: Aaron Cohen (Intel)
               Version: January 29, 2001, v2
                Module: Content Control Module
               Feature: custom tests
             File Name: customTests.smil
      Media Components: 2 JPG
     Expected Behavior: 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.
                        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.
                        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.
                        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.
                        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.
    -->
    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
        <head>
            <customAttributes>
                <customTest id="fred" title="Fred sets the first image" defaultState="false" override="visible" uid="http://www.w3.org/2001/SMIL20/CustomTests/Fred"/>
                <customTest id="barney" title="Barney sets the second image" defaultState="true" override="visible" uid="http://www.w3.org/2001/SMIL20/CustomTests/Barney"/>
                <customTest id="wilma" title="Wilma sets the third image" defaultState="false" override="hidden" uid="http://www.w3.org/2001/SMIL20/CustomTests/Wilma"/>
                <customTest id="betty" title="Betty sets the fourth image" defaultState="true" override="hidden" uid="http://www.w3.org/2001/SMIL20/CustomTests/Betty"/>
            </customAttributes>
        </head>
        <body>
            <seq>
                <par begin="1s" dur="2s">
                    <switch>
                        <img customTest="fred" src="../images/smile.jpg"/>
                        <img src="../images/frown.jpg"/>
                    </switch>
                </par>
                <par begin="1s" dur="2s">
                    <switch>
                        <img customTest="barney" src="../images/smile.jpg"/>
                        <img src="../images/frown.jpg"/>
                    </switch>
                </par>
                <par begin="1s" dur="2s">
                    <switch>
                        <img customTest="wilma" src="../images/smile.jpg"/>
                        <img src="../images/frown.jpg"/>
                    </switch>
                </par>
                <par begin="1s" dur="2s">
                    <switch>
                        <img customTest="betty" src="../images/smile.jpg"/>
                        <img src="../images/frown.jpg"/>
                    </switch>
                </par>
            </seq>
        </body>
    </smil>