----------------------------------------------
License
----------------------------------------------
Copyright (c) 2014 Samsung Electronics Co., Ltd.

Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Authors:
        Md. Samsuddin Alam <ss.alam@samsung.com>
        SK Tuhin Islam <sk.islam@samsung.com>
        Wahid Dilawar Al-Hakim <wahid.h@samsung.com>
        Shahriar Hasan <shahriar.j@samsung.com>


----------------------------------------------
Introduction
----------------------------------------------
These tests are for checkeing compliance with W3C File API specification:
http://www.w3.org/TR/2011/WD-FileAPI-20111020/


----------------------------------------------
Test Environment
----------------------------------------------
1. Pre-install Testkit-Lite package.
2. Run these cases as "normal" user.


----------------------------------------------
Pre-conditions
----------------------------------------------
Note: Chromium does not support loading local files from local browser by default. If you want to load local files, you must add boot argument like 'chromium-browser --allow-file-access-from-files'.


----------------------------------------------
Build and Run
----------------------------------------------
(Suppose you only get the source code and Testkit-Lite has been set up on your test machine.
 If you have obtained tct-speech-w3c-tests ZIP packages, you can directly go to step 3 on the test machine;
 if you have not installed Testkit-Lite, you need to install the latest version.)

Steps:
1. Prepare for building by running the following command:
   cd tct-speech-w3c-tests

2. Build ZIP package by running the following command:
   ./pack.sh

3. Unzip the package on the test machine by running the following command:
   unzip -o tct-speech-w3c-tests-<version>.zip -d /opt/usr/media/tct

4. Install the package on the test machine by running the following command:
   /opt/usr/media/tct/opt/tct-speech-w3c-tests/inst.sh

5. Run test cases by running the following command on host:
   testkit-lite -f device:/opt/usr/media/tct/opt/tct-speech-w3c-tests/tests.xml -e "WRTLauncher" -o tct-speech-w3c-tests.results.xml
