tct-suite-vs/.vs/
tct-suite-vs/**/*.nuget.targets
tct-suite-vs/**/*.nuget.props
-release/csharp-tct_4.0_dotnet/csharp-tct_4.0_dotnet/package/*
-release/csharp-tct_4.0_dotnet/csharp-tct_4.0_dotnet/package/pkg_infos/
-release/csharp-tct_5.0_dotnet/csharp-tct_5.0_dotnet/package/*
-release/csharp-tct_5.0_dotnet/csharp-tct_5.0_dotnet/package/pkg_infos/
-release/csharp-tct_5.5_dotnet/csharp-tct_5.5_dotnet/package/*
-release/csharp-tct_5.5_dotnet/csharp-tct_5.5_dotnet/package/pkg_infos/
+release/csharp-*_dotnet/csharp-*_dotnet/package/*
+release/csharp-*_dotnet/csharp-*_dotnet/package/pkg_infos/
+
tool/script/*.pyc
tool/script/release/
tool/script/Log
tct-suite-vs/nunitlite/workspace/*
tct-suite-vs/nunitlite/workspace/.metadata/*
*.Cache
-
+## Ignore tar.gz file
+release/csharp-tct_*.tar.gz
+tool/script/__pycache__/
python2.7, python-pip, requests
sudo apt-get install python-pip
sudo pip install requests
- sudo apt-get install python-dbus
-Change the owner and group of /opt
- sudo chown [user]:[user] /opt
+python3, python3-pip, requests
+ sudo apt-get install python3-pip
+ sudo python3 -m pip install requests
How to install :
================
- Install TCT from source code:
sudo python tct-setup.py
- - Remove tct related folders in /opt
+ - Removing all tct related folders in /opt
(** caution : all files in /opt/tct, /opt/testkit, /opt/tools will be removed)
sudo python tct-setup.py clean
How to use :
================
- - Set environment on your target device
- sudo python /opt/tct/{TCTProject}/scripts/tct-config-device.py
+ - TCT-Manager Execute the following command
+ tct-mgr
- - Execute the following command to launch TCT-Manager
- sudo tct-mgr
-
- - Execute the following command in order to use TCT-Shell
- tct-shell
+ - TCT-Shell Execute the following command
+ tct-shell (Run 'tct-shell -h' to find how to use tct-shell)
For Windows :
================
- - Prerequisites
- 1. Windows 7 - 32/64 bit
- 2. JDK 1.7 - 32bit ( You should install 32bit version.
+ - Prerequisite
+ 1. windows 7 - 32/64 bit
+ 2. JDK 1.7 - 32bit
3. python 2.7 - 32bit, should be set as environment path
- - Please use python 2.7 version, not 3.0 - https://www.python.org/downloads/windows/
+ - please use python 2.7 version, not 3.0 - https://www.python.org/downloads/windows/
- python lib which should be installed
- : install pip
- 1. Navigate to C:\Python27\Scripts
- 2. open command window on C:\Python27\Scripts
- 3. $ easy_install-2.7 pip
- : install requests
- 1. downlaod requests source code : https://github.com/kennethreitz/requests/
- 2. unzip source code and open command window on unziped folder
- 3. $ python setup.py install
-
- - Install / run in command prompt
- (Run below scripts at the file location. You can launch the command prompt by [shift]+[mouse right click] on windows explorer)
- 1. Install : python tct-setup.py
- 2. Run : tct-mgr.bat
+ : pypiwin32 - https://pypi.python.org/pypi/pypiwin32
+ : requests - https://pypi.python.org/pypi/requests
+
+ - install / run in command prompt
+ (try at same path of the below files using [shift]+[mouse right click] in window explorer)
+ 1. install : python tct-setup.py
+ 2. run : tct-mgr.bat
<auto_tcn>98</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>98</total_tcn>
- <pkg_name>mobile/Tizen.Accounts.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Accounts.Tests-7.0.zip</pkg_name>
</suite>
- <suite name="Tizen.Alarm.Tests" category="C# Device APIs">
- <auto_tcn>27</auto_tcn>
+ <suite name="Tizen.Alarm.UI.Tests" category="C# Device APIs">
+ <auto_tcn>22</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>27</total_tcn>
- <pkg_name>mobile/Tizen.Alarm.Tests-6.0.zip</pkg_name>
+ <total_tcn>22</total_tcn>
+ <pkg_name>mobile/Tizen.Alarm.UI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Applications.ComponentBased.ComponentManager.Tests" category="C# Device APIs">
<auto_tcn>26</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>26</total_tcn>
- <pkg_name>mobile/Tizen.Applications.ComponentBased.ComponentManager.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Applications.ComponentBased.ComponentManager.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.ComponentBased.ComponentPort.Tests" category="C# Device APIs">
+ <auto_tcn>33</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>33</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.ComponentBased.ComponentPort.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Applications.EventManager.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>2</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.Applications.EventManager.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Applications.EventManager.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Applications.EventManager.Tests" category="C# Device APIs">
<auto_tcn>126</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>126</total_tcn>
- <pkg_name>mobile/Tizen.Applications.EventManager.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Applications.EventManager.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Applications.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>40</manual_tcn>
<total_tcn>40</total_tcn>
- <pkg_name>mobile/Tizen.Applications.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Applications.Manual.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.MessagePort.Tests" category="C# Device APIs">
+ <auto_tcn>24</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>24</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.MessagePort.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.Preference.Tests" category="C# Device APIs">
+ <auto_tcn>24</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>24</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.Preference.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.RPCPort.Tests" category="C# Device APIs">
+ <auto_tcn>83</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>83</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.RPCPort.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.Service.Manual.Tests" category="C# Device APIs">
+ <auto_tcn>0</auto_tcn>
+ <manual_tcn>2</manual_tcn>
+ <total_tcn>2</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.Service.Manual.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.Service.Tests" category="C# Device APIs">
+ <auto_tcn>3</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>3</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.Service.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Applications.Tests" category="C# Device APIs">
- <auto_tcn>294</auto_tcn>
+ <auto_tcn>188</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>294</total_tcn>
- <pkg_name>mobile/Tizen.Applications.Tests-6.0.zip</pkg_name>
+ <total_tcn>188</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Applications.UI.Tests" category="C# Device APIs">
+ <auto_tcn>3</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>3</total_tcn>
+ <pkg_name>mobile/Tizen.Applications.UI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.AttachPanel.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>6</manual_tcn>
<total_tcn>6</total_tcn>
- <pkg_name>mobile/Tizen.AttachPanel.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.AttachPanel.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.AttachPanel.Tests" category="C# Device APIs">
<auto_tcn>17</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>17</total_tcn>
- <pkg_name>mobile/Tizen.AttachPanel.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.AttachPanel.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.AudioIO.Tests" category="C# Device APIs">
- <auto_tcn>118</auto_tcn>
+ <auto_tcn>124</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>118</total_tcn>
- <pkg_name>mobile/Tizen.AudioIO.Tests-6.0.zip</pkg_name>
+ <total_tcn>124</total_tcn>
+ <pkg_name>mobile/Tizen.AudioIO.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Badge.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>4</manual_tcn>
<total_tcn>4</total_tcn>
- <pkg_name>mobile/Tizen.Badge.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Badge.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Badge.Tests" category="C# Device APIs">
<auto_tcn>29</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>29</total_tcn>
- <pkg_name>mobile/Tizen.Badge.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Badge.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Bluetooth.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>209</manual_tcn>
- <total_tcn>209</total_tcn>
- <pkg_name>mobile/Tizen.Bluetooth.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>233</manual_tcn>
+ <total_tcn>233</total_tcn>
+ <pkg_name>mobile/Tizen.Bluetooth.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Bluetooth.Tests" category="C# Device APIs">
- <auto_tcn>125</auto_tcn>
+ <auto_tcn>127</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>125</total_tcn>
- <pkg_name>mobile/Tizen.Bluetooth.Tests-6.0.zip</pkg_name>
+ <total_tcn>127</total_tcn>
+ <pkg_name>mobile/Tizen.Bluetooth.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Calendar.Tests" category="C# Device APIs">
<auto_tcn>112</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>112</total_tcn>
- <pkg_name>mobile/Tizen.Calendar.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Calendar.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Camera.Tests" category="C# Device APIs">
- <auto_tcn>162</auto_tcn>
+ <auto_tcn>277</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>277</total_tcn>
+ <pkg_name>mobile/Tizen.Camera.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Camera.UI.Tests" category="C# Device APIs">
+ <auto_tcn>3</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>162</total_tcn>
- <pkg_name>mobile/Tizen.Camera.Tests-6.0.zip</pkg_name>
+ <total_tcn>3</total_tcn>
+ <pkg_name>mobile/Tizen.Camera.UI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Common.Tests" category="C# Device APIs">
<auto_tcn>39</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>39</total_tcn>
- <pkg_name>mobile/Tizen.Common.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Common.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ComponentBased.Default.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>4</manual_tcn>
<total_tcn>4</total_tcn>
- <pkg_name>mobile/Tizen.ComponentBased.Default.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.ComponentBased.Default.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ComponentBased.Default.Tests" category="C# Device APIs">
<auto_tcn>5</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>5</total_tcn>
- <pkg_name>mobile/Tizen.ComponentBased.Default.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.ComponentBased.Default.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ComponentBased.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>31</manual_tcn>
- <total_tcn>31</total_tcn>
- <pkg_name>mobile/Tizen.ComponentBased.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>39</manual_tcn>
+ <total_tcn>39</total_tcn>
+ <pkg_name>mobile/Tizen.ComponentBased.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ComponentBased.Tests" category="C# Device APIs">
- <auto_tcn>8</auto_tcn>
+ <auto_tcn>9</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>8</total_tcn>
- <pkg_name>mobile/Tizen.ComponentBased.Tests-6.0.zip</pkg_name>
+ <total_tcn>9</total_tcn>
+ <pkg_name>mobile/Tizen.ComponentBased.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Connection.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>2</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.Connection.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Connection.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Connection.Tests" category="C# Device APIs">
- <auto_tcn>91</auto_tcn>
+ <auto_tcn>95</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>91</total_tcn>
- <pkg_name>mobile/Tizen.Connection.Tests-6.0.zip</pkg_name>
+ <total_tcn>95</total_tcn>
+ <pkg_name>mobile/Tizen.Connection.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Contacts.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>2</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.Contacts.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Contacts.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Contacts.Tests" category="C# Device APIs">
<auto_tcn>102</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>102</total_tcn>
- <pkg_name>mobile/Tizen.Contacts.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Contacts.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Context.Tests" category="C# Device APIs">
<auto_tcn>22</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>22</total_tcn>
- <pkg_name>mobile/Tizen.Context.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Context.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.DataControl.Tests" category="C# Device APIs">
<auto_tcn>112</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>112</total_tcn>
- <pkg_name>mobile/Tizen.DataControl.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.DataControl.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Device.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>17</manual_tcn>
<total_tcn>17</total_tcn>
- <pkg_name>mobile/Tizen.Device.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Device.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Device.Tests" category="C# Device APIs">
<auto_tcn>30</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>30</total_tcn>
- <pkg_name>mobile/Tizen.Device.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Device.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.DevicePolicyManager.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>15</manual_tcn>
<total_tcn>15</total_tcn>
- <pkg_name>mobile/Tizen.DevicePolicyManager.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.DevicePolicyManager.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.DevicePolicyManager.Tests" category="C# Device APIs">
- <auto_tcn>53</auto_tcn>
+ <auto_tcn>64</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>53</total_tcn>
- <pkg_name>mobile/Tizen.DevicePolicyManager.Tests-6.0.zip</pkg_name>
+ <total_tcn>64</total_tcn>
+ <pkg_name>mobile/Tizen.DevicePolicyManager.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.DotnetUtil.Tests" category="C# Device APIs">
<auto_tcn>1</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>1</total_tcn>
- <pkg_name>mobile/Tizen.DotnetUtil.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.DotnetUtil.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Download.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>1</manual_tcn>
<total_tcn>1</total_tcn>
- <pkg_name>mobile/Tizen.Download.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Download.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Download.Tests" category="C# Device APIs">
<auto_tcn>53</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>53</total_tcn>
- <pkg_name>mobile/Tizen.Download.Tests-6.0.zip</pkg_name>
- </suite>
- <suite name="Tizen.ElmSharp.Manual.Tests" category="C# Device APIs">
- <auto_tcn>0</auto_tcn>
- <manual_tcn>327</manual_tcn>
- <total_tcn>327</total_tcn>
- <pkg_name>mobile/Tizen.ElmSharp.Manual.Tests-6.0.zip</pkg_name>
- </suite>
- <suite name="Tizen.ElmSharp.Tests" category="C# Device APIs">
- <auto_tcn>1196</auto_tcn>
- <manual_tcn>0</manual_tcn>
- <total_tcn>1196</total_tcn>
- <pkg_name>mobile/Tizen.ElmSharp.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Download.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Email.Tests" category="C# Device APIs">
<auto_tcn>13</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>13</total_tcn>
- <pkg_name>mobile/Tizen.Email.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Email.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Feedback.Tests" category="C# Device APIs">
<auto_tcn>9</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>9</total_tcn>
- <pkg_name>mobile/Tizen.Feedback.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Feedback.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.FidoClient.Tests" category="C# Device APIs">
<auto_tcn>29</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>29</total_tcn>
- <pkg_name>mobile/Tizen.FidoClient.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.FidoClient.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Geofence.Tests" category="C# Device APIs">
<auto_tcn>69</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>69</total_tcn>
- <pkg_name>mobile/Tizen.Geofence.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Geofence.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Information.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>27</manual_tcn>
<total_tcn>27</total_tcn>
- <pkg_name>mobile/Tizen.Information.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Information.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Information.Tests" category="C# Device APIs">
<auto_tcn>62</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>62</total_tcn>
- <pkg_name>mobile/Tizen.Information.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Information.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Inputmethod.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>3</manual_tcn>
- <total_tcn>3</total_tcn>
- <pkg_name>mobile/Tizen.Inputmethod.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>19</manual_tcn>
+ <total_tcn>19</total_tcn>
+ <pkg_name>mobile/Tizen.Inputmethod.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Inputmethod.Tests" category="C# Device APIs">
- <auto_tcn>84</auto_tcn>
+ <auto_tcn>76</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>84</total_tcn>
- <pkg_name>mobile/Tizen.Inputmethod.Tests-6.0.zip</pkg_name>
+ <total_tcn>76</total_tcn>
+ <pkg_name>mobile/Tizen.Inputmethod.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Inputmethodmanager.Tests" category="C# Device APIs">
<auto_tcn>7</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>7</total_tcn>
- <pkg_name>mobile/Tizen.Inputmethodmanager.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Inputmethodmanager.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.IoTConnectivityClient.Tests" category="C# Device APIs">
<auto_tcn>143</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>143</total_tcn>
- <pkg_name>mobile/Tizen.IoTConnectivityClient.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.IoTConnectivityClient.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.IoTConnectivityServer.Tests" category="C# Device APIs">
<auto_tcn>112</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>112</total_tcn>
- <pkg_name>mobile/Tizen.IoTConnectivityServer.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.IoTConnectivityServer.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Location.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>2</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.Location.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Location.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Location.Tests" category="C# Device APIs">
<auto_tcn>127</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>127</total_tcn>
- <pkg_name>mobile/Tizen.Location.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Location.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Log.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>1</manual_tcn>
<total_tcn>1</total_tcn>
- <pkg_name>mobile/Tizen.Log.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Log.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Log.Tests" category="C# Device APIs">
<auto_tcn>6</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>6</total_tcn>
- <pkg_name>mobile/Tizen.Log.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Log.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MachineLearning.Inference.Tests" category="C# Device APIs">
- <auto_tcn>30</auto_tcn>
+ <auto_tcn>210</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>30</total_tcn>
- <pkg_name>mobile/Tizen.MachineLearning.Inference.Tests-6.0.zip</pkg_name>
+ <total_tcn>210</total_tcn>
+ <pkg_name>mobile/Tizen.MachineLearning.Inference.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Maps.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>23</manual_tcn>
<total_tcn>23</total_tcn>
- <pkg_name>mobile/Tizen.Maps.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Maps.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Maps.Tests" category="C# Device APIs">
<auto_tcn>224</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>224</total_tcn>
- <pkg_name>mobile/Tizen.Maps.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Maps.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaCodec.Tests" category="C# Device APIs">
- <auto_tcn>26</auto_tcn>
+ <auto_tcn>33</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>26</total_tcn>
- <pkg_name>mobile/Tizen.MediaCodec.Tests-6.0.zip</pkg_name>
+ <total_tcn>33</total_tcn>
+ <pkg_name>mobile/Tizen.MediaCodec.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaController.Tests" category="C# Device APIs">
- <auto_tcn>312</auto_tcn>
+ <auto_tcn>333</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>312</total_tcn>
- <pkg_name>mobile/Tizen.MediaController.Tests-6.0.zip</pkg_name>
+ <total_tcn>333</total_tcn>
+ <pkg_name>mobile/Tizen.MediaController.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaKey.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>3</manual_tcn>
<total_tcn>3</total_tcn>
- <pkg_name>mobile/Tizen.MediaKey.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.MediaKey.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaKey.Tests" category="C# Device APIs">
<auto_tcn>2</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.MediaKey.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.MediaKey.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaPlayer.Tests" category="C# Device APIs">
- <auto_tcn>358</auto_tcn>
+ <auto_tcn>338</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>358</total_tcn>
- <pkg_name>mobile/Tizen.MediaPlayer.Tests-6.0.zip</pkg_name>
+ <total_tcn>338</total_tcn>
+ <pkg_name>mobile/Tizen.MediaPlayer.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaPlayer.UI.Tests" category="C# Device APIs">
<auto_tcn>20</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>20</total_tcn>
- <pkg_name>mobile/Tizen.MediaPlayer.UI.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.MediaPlayer.UI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaVision.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>4</manual_tcn>
<total_tcn>4</total_tcn>
- <pkg_name>mobile/Tizen.MediaVision.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.MediaVision.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MediaVision.Tests" category="C# Device APIs">
- <auto_tcn>380</auto_tcn>
+ <auto_tcn>392</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>380</total_tcn>
- <pkg_name>mobile/Tizen.MediaVision.Tests-6.0.zip</pkg_name>
+ <total_tcn>392</total_tcn>
+ <pkg_name>mobile/Tizen.MediaVision.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Mediacontent.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>1</manual_tcn>
<total_tcn>1</total_tcn>
- <pkg_name>mobile/Tizen.Mediacontent.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Mediacontent.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Mediacontent.Tests" category="C# Device APIs">
- <auto_tcn>811</auto_tcn>
+ <auto_tcn>822</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>811</total_tcn>
- <pkg_name>mobile/Tizen.Mediacontent.Tests-6.0.zip</pkg_name>
+ <total_tcn>822</total_tcn>
+ <pkg_name>mobile/Tizen.Mediacontent.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Messages.Tests" category="C# Device APIs">
<auto_tcn>33</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>33</total_tcn>
- <pkg_name>mobile/Tizen.Messages.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Messages.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Metadata.Tests" category="C# Device APIs">
- <auto_tcn>77</auto_tcn>
+ <auto_tcn>101</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>77</total_tcn>
- <pkg_name>mobile/Tizen.Metadata.Tests-6.0.zip</pkg_name>
+ <total_tcn>101</total_tcn>
+ <pkg_name>mobile/Tizen.Metadata.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Mime.Tests" category="C# Device APIs">
<auto_tcn>4</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>4</total_tcn>
- <pkg_name>mobile/Tizen.Mime.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Mime.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Multimedia.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>55</manual_tcn>
- <total_tcn>55</total_tcn>
- <pkg_name>mobile/Tizen.Multimedia.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>56</manual_tcn>
+ <total_tcn>56</total_tcn>
+ <pkg_name>mobile/Tizen.Multimedia.Manual.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Multimedia.NUI.Tests" category="C# Device APIs">
+ <auto_tcn>3</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>3</total_tcn>
+ <pkg_name>mobile/Tizen.Multimedia.NUI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Multimedia.Tests" category="C# Device APIs">
- <auto_tcn>229</auto_tcn>
+ <auto_tcn>256</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>229</total_tcn>
- <pkg_name>mobile/Tizen.Multimedia.Tests-6.0.zip</pkg_name>
+ <total_tcn>256</total_tcn>
+ <pkg_name>mobile/Tizen.Multimedia.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Multimedia.UI.Tests" category="C# Device APIs">
<auto_tcn>2</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>2</total_tcn>
- <pkg_name>mobile/Tizen.Multimedia.UI.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Multimedia.UI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.MultimediaUtil.Tests" category="C# Device APIs">
- <auto_tcn>166</auto_tcn>
+ <auto_tcn>190</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>166</total_tcn>
- <pkg_name>mobile/Tizen.MultimediaUtil.Tests-6.0.zip</pkg_name>
+ <total_tcn>190</total_tcn>
+ <pkg_name>mobile/Tizen.MultimediaUtil.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.Components.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>6</manual_tcn>
- <total_tcn>6</total_tcn>
- <pkg_name>mobile/Tizen.NUI.Components.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>16</manual_tcn>
+ <total_tcn>16</total_tcn>
+ <pkg_name>mobile/Tizen.NUI.Components.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.Components.Tests" category="C# Device APIs">
- <auto_tcn>140</auto_tcn>
+ <auto_tcn>358</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>358</total_tcn>
+ <pkg_name>mobile/Tizen.NUI.Components.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.NUI.Extension.Tests" category="C# Device APIs">
+ <auto_tcn>12</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>140</total_tcn>
- <pkg_name>mobile/Tizen.NUI.Components.Tests-6.0.zip</pkg_name>
+ <total_tcn>12</total_tcn>
+ <pkg_name>mobile/Tizen.NUI.Extension.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>83</manual_tcn>
- <total_tcn>83</total_tcn>
- <pkg_name>mobile/Tizen.NUI.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>79</manual_tcn>
+ <total_tcn>79</total_tcn>
+ <pkg_name>mobile/Tizen.NUI.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.Tests" category="C# Device APIs">
- <auto_tcn>2096</auto_tcn>
+ <auto_tcn>2192</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>2096</total_tcn>
- <pkg_name>mobile/Tizen.NUI.Tests-6.0.zip</pkg_name>
+ <total_tcn>2192</total_tcn>
+ <pkg_name>mobile/Tizen.NUI.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.WindowSystem.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>1</manual_tcn>
<total_tcn>1</total_tcn>
- <pkg_name>mobile/Tizen.NUI.WindowSystem.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.NUI.WindowSystem.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NUI.WindowSystem.Tests" category="C# Device APIs">
<auto_tcn>12</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>12</total_tcn>
- <pkg_name>mobile/Tizen.NUI.WindowSystem.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.NUI.WindowSystem.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Network.Stc.Tests" category="C# Device APIs">
<auto_tcn>28</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>28</total_tcn>
- <pkg_name>mobile/Tizen.Network.Stc.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Network.Stc.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Nfc.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>35</manual_tcn>
<total_tcn>35</total_tcn>
- <pkg_name>mobile/Tizen.Nfc.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Nfc.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Nfc.Tests" category="C# Device APIs">
<auto_tcn>49</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>49</total_tcn>
- <pkg_name>mobile/Tizen.Nfc.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Nfc.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Nlp.Tests" category="C# Device APIs">
<auto_tcn>19</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>19</total_tcn>
- <pkg_name>mobile/Tizen.Nlp.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Nlp.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.NotificationEventListener.Tests" category="C# Device APIs">
<auto_tcn>85</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>85</total_tcn>
- <pkg_name>mobile/Tizen.NotificationEventListener.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.NotificationEventListener.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Notifications.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>33</manual_tcn>
<total_tcn>33</total_tcn>
- <pkg_name>mobile/Tizen.Notifications.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Notifications.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Notifications.Tests" category="C# Device APIs">
<auto_tcn>132</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>132</total_tcn>
- <pkg_name>mobile/Tizen.Notifications.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Notifications.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Nsd.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>15</manual_tcn>
<total_tcn>15</total_tcn>
- <pkg_name>mobile/Tizen.Nsd.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Nsd.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Nsd.Tests" category="C# Device APIs">
- <auto_tcn>34</auto_tcn>
+ <auto_tcn>43</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>34</total_tcn>
- <pkg_name>mobile/Tizen.Nsd.Tests-6.0.zip</pkg_name>
+ <total_tcn>43</total_tcn>
+ <pkg_name>mobile/Tizen.Nsd.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.OAuth2.Tests" category="C# Device APIs">
<auto_tcn>70</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>70</total_tcn>
- <pkg_name>mobile/Tizen.OAuth2.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.OAuth2.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Packagemanager.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>5</manual_tcn>
<total_tcn>5</total_tcn>
- <pkg_name>mobile/Tizen.Packagemanager.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Packagemanager.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Packagemanager.Tests" category="C# Device APIs">
- <auto_tcn>69</auto_tcn>
+ <auto_tcn>73</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>69</total_tcn>
- <pkg_name>mobile/Tizen.Packagemanager.Tests-6.0.zip</pkg_name>
+ <total_tcn>73</total_tcn>
+ <pkg_name>mobile/Tizen.Packagemanager.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.PhonenumberUtils.Tests" category="C# Device APIs">
<auto_tcn>7</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>7</total_tcn>
- <pkg_name>mobile/Tizen.PhonenumberUtils.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.PhonenumberUtils.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.PrivacyPrivilegeManager.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>40</manual_tcn>
<total_tcn>40</total_tcn>
- <pkg_name>mobile/Tizen.PrivacyPrivilegeManager.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.PrivacyPrivilegeManager.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Privilege.Tests" category="C# Device APIs">
<auto_tcn>19</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>19</total_tcn>
- <pkg_name>mobile/Tizen.Privilege.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Privilege.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Push.Tests" category="C# Device APIs">
<auto_tcn>22</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>22</total_tcn>
- <pkg_name>mobile/Tizen.Push.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Push.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Radio.Tests" category="C# Device APIs">
- <auto_tcn>39</auto_tcn>
+ <auto_tcn>50</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>39</total_tcn>
- <pkg_name>mobile/Tizen.Radio.Tests-6.0.zip</pkg_name>
+ <total_tcn>50</total_tcn>
+ <pkg_name>mobile/Tizen.Radio.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Recorder.Tests" category="C# Device APIs">
- <auto_tcn>113</auto_tcn>
+ <auto_tcn>132</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>113</total_tcn>
- <pkg_name>mobile/Tizen.Recorder.Tests-6.0.zip</pkg_name>
+ <total_tcn>132</total_tcn>
+ <pkg_name>mobile/Tizen.Recorder.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.RemoteView.Tests" category="C# Device APIs">
<auto_tcn>17</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>17</total_tcn>
- <pkg_name>mobile/Tizen.RemoteView.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.RemoteView.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ScreenMirroring.Tests" category="C# Device APIs">
- <auto_tcn>49</auto_tcn>
+ <auto_tcn>54</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>49</total_tcn>
- <pkg_name>mobile/Tizen.ScreenMirroring.Tests-6.0.zip</pkg_name>
+ <total_tcn>54</total_tcn>
+ <pkg_name>mobile/Tizen.ScreenMirroring.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Securerepository.Tests" category="C# Device APIs">
<auto_tcn>124</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>124</total_tcn>
- <pkg_name>mobile/Tizen.Securerepository.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Securerepository.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Sensor.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>104</manual_tcn>
- <total_tcn>104</total_tcn>
- <pkg_name>mobile/Tizen.Sensor.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>115</manual_tcn>
+ <total_tcn>115</total_tcn>
+ <pkg_name>mobile/Tizen.Sensor.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Sensor.Tests" category="C# Device APIs">
- <auto_tcn>221</auto_tcn>
+ <auto_tcn>252</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>221</total_tcn>
- <pkg_name>mobile/Tizen.Sensor.Tests-6.0.zip</pkg_name>
+ <total_tcn>252</total_tcn>
+ <pkg_name>mobile/Tizen.Sensor.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Shortcut.Tests" category="C# Device APIs">
<auto_tcn>70</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>70</total_tcn>
- <pkg_name>mobile/Tizen.Shortcut.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Shortcut.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Smartcard.Tests" category="C# Device APIs">
- <auto_tcn>11</auto_tcn>
+ <auto_tcn>9</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>9</total_tcn>
+ <pkg_name>mobile/Tizen.Smartcard.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.Sticker.Tests" category="C# Device APIs">
+ <auto_tcn>90</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>11</total_tcn>
- <pkg_name>mobile/Tizen.Smartcard.Tests-6.0.zip</pkg_name>
+ <total_tcn>90</total_tcn>
+ <pkg_name>mobile/Tizen.Sticker.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.StreamRecorder.Tests" category="C# Device APIs">
<auto_tcn>88</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>88</total_tcn>
- <pkg_name>mobile/Tizen.StreamRecorder.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.StreamRecorder.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Stt.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>19</manual_tcn>
<total_tcn>19</total_tcn>
- <pkg_name>mobile/Tizen.Stt.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Stt.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Stt.Tests" category="C# Device APIs">
<auto_tcn>40</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>40</total_tcn>
- <pkg_name>mobile/Tizen.Stt.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Stt.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.SttEngine.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>25</manual_tcn>
<total_tcn>25</total_tcn>
- <pkg_name>mobile/Tizen.SttEngine.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.SttEngine.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.SyncManager.Tests" category="C# Device APIs">
<auto_tcn>31</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>31</total_tcn>
- <pkg_name>mobile/Tizen.SyncManager.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.SyncManager.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.System.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>3</manual_tcn>
<total_tcn>3</total_tcn>
- <pkg_name>mobile/Tizen.System.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.System.Manual.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.System.PowerUsage.Tests" category="C# Device APIs">
+ <auto_tcn>20</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>20</total_tcn>
+ <pkg_name>mobile/Tizen.System.PowerUsage.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.System.Tests" category="C# Device APIs">
<auto_tcn>17</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>17</total_tcn>
- <pkg_name>mobile/Tizen.System.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.System.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Systemsettings.Tests" category="C# Device APIs">
<auto_tcn>10</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>10</total_tcn>
- <pkg_name>mobile/Tizen.Systemsettings.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Systemsettings.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.TEEC.Tests" category="C# Device APIs">
<auto_tcn>10</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>10</total_tcn>
- <pkg_name>mobile/Tizen.TEEC.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.TEEC.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Telephony.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>13</manual_tcn>
<total_tcn>13</total_tcn>
- <pkg_name>mobile/Tizen.Telephony.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Telephony.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Telephony.Tests" category="C# Device APIs">
<auto_tcn>53</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>53</total_tcn>
- <pkg_name>mobile/Tizen.Telephony.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Telephony.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.ToastMessage.Tests" category="C# Device APIs">
<auto_tcn>3</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>3</total_tcn>
- <pkg_name>mobile/Tizen.ToastMessage.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.ToastMessage.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Tracer.Tests" category="C# Device APIs">
<auto_tcn>5</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>5</total_tcn>
- <pkg_name>mobile/Tizen.Tracer.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Tracer.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Tts.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
- <manual_tcn>11</manual_tcn>
- <total_tcn>11</total_tcn>
- <pkg_name>mobile/Tizen.Tts.Manual.Tests-6.0.zip</pkg_name>
+ <manual_tcn>12</manual_tcn>
+ <total_tcn>12</total_tcn>
+ <pkg_name>mobile/Tizen.Tts.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Tts.Tests" category="C# Device APIs">
- <auto_tcn>39</auto_tcn>
+ <auto_tcn>46</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>39</total_tcn>
- <pkg_name>mobile/Tizen.Tts.Tests-6.0.zip</pkg_name>
+ <total_tcn>46</total_tcn>
+ <pkg_name>mobile/Tizen.Tts.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.TtsEngine.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>22</manual_tcn>
<total_tcn>22</total_tcn>
- <pkg_name>mobile/Tizen.TtsEngine.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.TtsEngine.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Usb.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>4</manual_tcn>
<total_tcn>4</total_tcn>
- <pkg_name>mobile/Tizen.Usb.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Usb.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Usb.Tests" category="C# Device APIs">
<auto_tcn>57</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>57</total_tcn>
- <pkg_name>mobile/Tizen.Usb.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Usb.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.VoiceControl.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>9</manual_tcn>
<total_tcn>9</total_tcn>
- <pkg_name>mobile/Tizen.VoiceControl.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.VoiceControl.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.VoiceControl.Tests" category="C# Device APIs">
<auto_tcn>64</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>64</total_tcn>
- <pkg_name>mobile/Tizen.VoiceControl.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.VoiceControl.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WatchApplication.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>17</manual_tcn>
<total_tcn>17</total_tcn>
- <pkg_name>mobile/Tizen.WatchApplication.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WatchApplication.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WatchApplication.Tests" category="C# Device APIs">
<auto_tcn>35</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>35</total_tcn>
- <pkg_name>mobile/Tizen.WatchApplication.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WatchApplication.Tests-7.0.zip</pkg_name>
+ </suite>
+ <suite name="Tizen.WebRTC.Tests" category="C# Device APIs">
+ <auto_tcn>211</auto_tcn>
+ <manual_tcn>0</manual_tcn>
+ <total_tcn>211</total_tcn>
+ <pkg_name>mobile/Tizen.WebRTC.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WebView.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>8</manual_tcn>
<total_tcn>8</total_tcn>
- <pkg_name>mobile/Tizen.WebView.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WebView.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WebView.Tests" category="C# Device APIs">
- <auto_tcn>92</auto_tcn>
+ <auto_tcn>95</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>92</total_tcn>
- <pkg_name>mobile/Tizen.WebView.Tests-6.0.zip</pkg_name>
+ <total_tcn>95</total_tcn>
+ <pkg_name>mobile/Tizen.WebView.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WiFi.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>5</manual_tcn>
<total_tcn>5</total_tcn>
- <pkg_name>mobile/Tizen.WiFi.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WiFi.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WiFi.Tests" category="C# Device APIs">
<auto_tcn>101</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>101</total_tcn>
- <pkg_name>mobile/Tizen.WiFi.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WiFi.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WidgetApplication.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>10</manual_tcn>
<total_tcn>10</total_tcn>
- <pkg_name>mobile/Tizen.WidgetApplication.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WidgetApplication.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WidgetApplication.Tests" category="C# Device APIs">
<auto_tcn>6</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>6</total_tcn>
- <pkg_name>mobile/Tizen.WidgetApplication.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WidgetApplication.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WidgetControl.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>5</manual_tcn>
<total_tcn>5</total_tcn>
- <pkg_name>mobile/Tizen.WidgetControl.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.WidgetControl.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.WidgetControl.Tests" category="C# Device APIs">
- <auto_tcn>21</auto_tcn>
+ <auto_tcn>23</auto_tcn>
<manual_tcn>0</manual_tcn>
- <total_tcn>21</total_tcn>
- <pkg_name>mobile/Tizen.WidgetControl.Tests-6.0.zip</pkg_name>
+ <total_tcn>23</total_tcn>
+ <pkg_name>mobile/Tizen.WidgetControl.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Wifidirect.Manual.Tests" category="C# Device APIs">
<auto_tcn>0</auto_tcn>
<manual_tcn>43</manual_tcn>
<total_tcn>43</total_tcn>
- <pkg_name>mobile/Tizen.Wifidirect.Manual.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Wifidirect.Manual.Tests-7.0.zip</pkg_name>
</suite>
<suite name="Tizen.Wifidirect.Tests" category="C# Device APIs">
<auto_tcn>96</auto_tcn>
<manual_tcn>0</manual_tcn>
<total_tcn>96</total_tcn>
- <pkg_name>mobile/Tizen.Wifidirect.Tests-6.0.zip</pkg_name>
+ <pkg_name>mobile/Tizen.Wifidirect.Tests-7.0.zip</pkg_name>
</suite>
</ns3:testplan>
-<?xml version="1.0" encoding="UTF-8"?>
-<buildinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:noNamespaceSchemaLocation="buildinfo.xsd">
- <buildinfo name="model" support="true" type="String">
- <value>SM-Z130H</value>
- </buildinfo>
- <buildinfo name="manufacturer" support="true" type="String">
- <value>samsung</value>
- </buildinfo>
- <buildinfo name="buildVersion" support="true" type="String">
- <value>Z130HDDE0ANL7</value>
- </buildinfo>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<buildinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+xsi:noNamespaceSchemaLocation="buildinfo.xsd">\r
+ <buildinfo name="model" support="true" type="String">\r
+ <value>SM-Z130H</value>\r
+ </buildinfo>\r
+ <buildinfo name="manufacturer" support="true" type="String">\r
+ <value>samsung</value>\r
+ </buildinfo>\r
+ <buildinfo name="buildVersion" support="true" type="String">\r
+ <value>Z130HDDE0ANL7</value>\r
+ </buildinfo>\r
</buildinfos>
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+
+TMP_FILE="/tmp/model-config.xml"
+MODEL_FILE="/etc/config/model-config.xml"
+HAL_MODEL_FILE="/hal/etc/config/model-config.xml"
+
+PREFIX='<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<model-config version="6.5" model="TizenIOT">\n\t<platform>'
+POSTFIX='\t</platform>\n\t<custom>\n\t</custom>\n</model-config>'
+
+if [ ! -e $HAL_MODEL_FILE ]
+then
+ cp -f $MODEL_FILE $TMP_FILE
+ exit 0
+fi
+
+echo -e $PREFIX > $TMP_FILE
+
+while read line
+do
+ if [[ $line == *"tizen.org/"* ]]
+ then
+ echo -n ""
+ else
+ continue
+ fi
+
+ INFO=`echo $line | sed -e "s/^.\+key.\+name=\"\(.\+\)\".\+type=\"\(.\+\)\">\(.\+\)<.\+$/\1 \2 \3/"`
+ FEATURE=`echo $INFO | awk '{print $1}'`
+ if [[ $FEATURE == *"tizen.org/system/build"* ]]
+ then
+ continue
+ fi
+ TYPE=`echo $INFO | awk '{print $2}'`
+ VAL=`echo $INFO | awk '{print $3}'`
+ echo -n -e "\033[2KProcessing : $FEATURE\r"
+ hal_line=`grep "\"$FEATURE\"" $HAL_MODEL_FILE`
+ if [ $? == 0 ]
+ then
+ HAL_INFO=`echo $hal_line | sed -e "s/^.\+key.\+name=\"\(.\+\)\".\+type=\"\(.\+\)\">\(.\+\)<.\+$/\1 \2 \3/"`
+ VALUE=`echo $HAL_INFO | awk '{print $3}'`
+ HAL_EXIST="true"
+ else
+ HAL_EXIST="false"
+ fi
+
+ if [ $HAL_EXIST == "true" ]
+ then
+ if [ $TYPE == "bool" ]
+ then
+ if [ $VAL == "true" -a $VALUE == "true" ]
+ then
+ C_VAL="true"
+ else
+ C_VAL="false"
+ fi
+ else
+ C_VAL=$VALUE
+ fi
+ else
+ C_VAL=$VAL
+ fi
+
+ echo -e "\t\t<key name=\"$FEATURE\" type=\"$TYPE\">$C_VAL</key>" >> $TMP_FILE
+
+done < $MODEL_FILE
+echo ""
+
+echo -e $POSTFIX >> $TMP_FILE
+
-Reference : http://168.219.209.56/confluence/display/Tizen3/Running+Web+TCT+for+Tizen+3.0
-
----------------------------------------------------------------------------------------
-
-1. Please push the below attached 2 files in the below location(target) before the test start.
-
-file name :
-
-capability.xml
-buildinfo.xml
-
-
-location :
-
-/home/owner/content/Documents/tct/
-
-
-ex) sdb push capability.xml /home/owner/content/Documents/tct/
-ex) sdb push buildinfo.xml /home/owner/content/Documents/tct/
-
-
----------------------------------------------------------------------------------------
+Reference : http://168.219.209.56/confluence/display/Tizen3/Running+Web+TCT+for+Tizen+3.0\r
+\r
+---------------------------------------------------------------------------------------\r
+\r
+1. Please push the below attached 2 files in the below location(target) before the test start.\r
+\r
+file name : \r
+\r
+capability.xml\r
+buildinfo.xml\r
+\r
+\r
+location :\r
+\r
+/home/owner/content/Documents/tct/\r
+\r
+\r
+ex) sdb push capability.xml /home/owner/content/Documents/tct/\r
+ex) sdb push buildinfo.xml /home/owner/content/Documents/tct/\r
+\r
+\r
+---------------------------------------------------------------------------------------\r
--- /dev/null
+#
+# Copyright (c) 2021 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.
+#############################################################################
+import os, shutil, sys
+import re
+from lxml import etree as et
+
+################################################################################
+# @function file_copy
+# @author SRID(ankit.sri1)
+# @reviewer SRID(manu.tiwari)
+# @description Copying module specific files
+# @parameter path, items, dest_dir, dest_location, first_directory
+# @return NA
+################################################################################
+def file_copy(path, items, dest_dir, dest_location, first_directory):
+ for item in items:
+ location = os.path.join(path, item)
+ if os.path.isdir(location) and item != first_directory and item != dest_dir:
+ files = os.listdir(location)
+ module_files = []
+ modules = []
+ for file in files:
+ match = re.search("\.(?:auto|manual).xml$", file)
+ if match:
+ module_files.append(file)
+ for module_file in module_files:
+ words = re.split('[-.]', module_file)
+ #if splitting is not possible
+ if len(words) == 3:
+ print("Can't find module file with a hyphen or a dot")
+ print("Merge Script Finished")
+ sys.exit()
+ else:
+ module = words[1]
+
+ #extract all word with this module -- comment
+ copying_files = []
+ #if module is already present in modules file - continue
+ if modules.count(module) == 0:
+ modules.append(module)
+ for file in files:
+ match = re.search(module, file)
+ if match:
+ copying_files.append(file)
+ for file in copying_files:
+ shutil.copy(os.path.join(location,file),dest_location)
+
+################################################################################
+# @function xml_file_append
+# @author SRID(ankit.sri1)
+# @reviewer SRID(manu.tiwari)
+# @description Merging XML file tags
+# @parameter path, items, dest_dir, dest_location, first_directory
+# @return NA
+################################################################################
+def xml_file_append(path, items, dest_dir, dest_location, first_directory):
+ for filename in os.listdir(dest_location):
+ if filename == "summary.xml":
+ dest_fullname = os.path.join(dest_location, filename)
+ dest_tree = et.parse(dest_fullname)
+ break
+ dest_root = dest_tree.getroot()
+ #for all the other directory we will find summary.xml file and copy it into dest directory
+ for item in items:
+ location = os.path.join(path, item)
+ if os.path.isdir(location) and item != first_directory and item != dest_dir:
+ source_dir = location
+ for filename in os.listdir(source_dir):
+ if filename == "summary.xml":
+ source_fullname = os.path.join(source_dir, filename)
+ source_tree = et.parse(source_fullname)
+ source_tags = source_tree.findall('//suite')
+ for tag in source_tags:
+ # append the tag
+ dest_root.append(tag)
+ # overwrite the xml file
+ et.ElementTree(dest_root).write(dest_fullname , pretty_print=True, encoding='utf-8', xml_declaration=True)
+
+#################### Start Script #####################
+
+print("Merging Script Running...")
+
+#Current directory path
+path = os.getcwd()
+
+#User given final result directory path
+if len(sys.argv) > 1:
+ cwd=sys.argv[1]
+ resultpath = os.path.dirname(cwd)
+else:
+ #Default result directory path
+ resultpath = os.getcwd()
+
+dest = "Merged_Report"
+dest_dir = dest
+new_location = os.path.join(resultpath, dest)
+
+#for deleting previous content if any
+if os.path.isdir(new_location):
+ shutil.rmtree(new_location, ignore_errors=True)
+
+#Listing only directories in current path
+items = list(filter(os.path.isdir, os.listdir(path)))
+
+#if no directory is present
+if len(items) == 0:
+ print("No Directory Found")
+ print("Merge Script Finished")
+#if only one directory is present
+elif len(items) == 1:
+ print("Can't merge, only one directory is present!")
+ print("Merge Script Finished")
+else:
+ location = ''
+ #if any directory present with first manual module in it
+ for item in items:
+ manual_module_location = os.path.join(path,item)
+ files = os.listdir(manual_module_location)
+ for file in files:
+ match = re.search("\.manual.xml$", file)
+ if match:
+ location = manual_module_location
+ first_directory = item
+ break
+ if location == '':
+ #copying any one directory content to a new directory
+ for item in items:
+ location = os.path.join(path, item)
+ if os.path.isdir(location):
+ first_directory = item
+ break
+ dest = shutil.copytree(location, new_location)
+ file_copy(path, items, dest_dir, new_location, first_directory)
+ xml_file_append(path, items, dest_dir, new_location, first_directory)
+ print("Merging Finished!!")
+ print("Merged report is created at:"+new_location)
\ No newline at end of file
-URLDOWNLOAD_URL=
-URLDOWNLOAD_DOWNLOADURL=
-URLDOWNLOAD_URLWITHETAG=
-WIFI_WPSACCESSPOINTNAME=
-WIFI_EAPACCESSPOINTNAME=
-WIFI_ACCESSPOINTPIN=
-MESSAGES_MOBILE_NUMBER=
-EMAIL_RECIPIENT=
-PLAYER_DOWNLOAD_URL=
-PLAYER_DOWNLOAD_PROGRESS_URL=
-PLAYER_ADAPTIVE_STREAMING_URL=
-PUSH_APPID=
-PUSH_APPSECRET=
-HERE_MAPS_PROVIDER_KEY=
\ No newline at end of file
+URLDOWNLOAD_URL=\r
+URLDOWNLOAD_DOWNLOADURL=\r
+URLDOWNLOAD_URLWITHETAG=\r
+WIFI_WPSACCESSPOINTNAME=\r
+WIFI_EAPACCESSPOINTNAME=\r
+WIFI_ACCESSPOINTPIN=\r
+MESSAGES_MOBILE_NUMBER=\r
+EMAIL_RECIPIENT=\r
+PLAYER_DOWNLOAD_URL=\r
+PLAYER_DOWNLOAD_PROGRESS_URL=\r
+PLAYER_ADAPTIVE_STREAMING_URL=\r
+PUSH_APPID=\r
+PUSH_APPSECRET=\r
+HERE_MAPS_PROVIDER_KEY=\r
import sys
import subprocess
import string
-import ConfigParser
+import configparser
from optparse import OptionParser, make_option
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_30 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
def doCMD(cmd):
# Do not need handle timeout in this short script, let tool do it
- print ("-->> \"%s\"" % cmd)
+ print("-->> \"%s\"" % cmd)
output = []
cmd_return_code = 1
cmd_proc = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
while True:
- output_line = cmd_proc.stdout.readline().decode('utf-8').strip("\r\n")
+ output_line = cmd_proc.stdout.readline().decode("utf-8").strip("\r\n")
cmd_return_code = cmd_proc.poll()
if output_line == '' and cmd_return_code != None:
break
(return_code, output) = doRemoteCMD("rm " + \
SRC_DIR + "/tct/portconfigure.json")
- for file in ['preconfigure.json', 'tests.xml', 'tct-testconfig.ini', 'portconfigure.json', 'TC_Config.txt']:
+ for file in ['preconfigure.json', 'tests.xml', 'tct-testconfig.ini', 'portconfigure.json', 'TCT_Preconditions.txt']:
(return_code, output) = doRemoteCMD("rm %s/%s" % (PKG_SRC_DIR, file))
if return_code != 0:
action_status = False
action_status = True
(return_code, output) = doRemoteCMD("mkdir -p %s" % PKG_SRC_DIR)
- for file in ['preconfigure.json', 'tests.xml', 'tct-testconfig.ini', 'portconfigure.json', 'TC_Config.txt']:
+ for file in ['preconfigure.json', 'tests.xml', 'tct-testconfig.ini', 'portconfigure.json', 'TCT_Preconditions.txt']:
if not doRemoteCopy(SCRIPT_DIR + '/' + file, "%s/%s" % (PKG_SRC_DIR, file)):
action_status = False
global PARAMETERS
(PARAMETERS, args) = opts_parser.parse_args()
except Exception as e:
- print ("Got wrong option: %s, exit ..." % e)
+ print("Got wrong option: %s, exit ..." % e)
sys.exit(1)
if not PARAMETERS.user:
PARAMETERS.mode = "SSH"
if not PARAMETERS.device:
- print ("No device provided")
+ print("No device provided")
sys.exit(1)
user_info = getUSERID()
userid = user_info[1][0]
XW_ENV = "export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%s/dbus/user_bus_socket"%str(userid)
else:
- print ("[Error] cmd commands error : %s"%str(user_info[1]))
+ print("[Error] cmd commands error : %s"%str(user_info[1]))
sys.exit(1)
if PARAMETERS.binstpkg and PARAMETERS.buninstpkg:
- print ("-i and -u are conflict")
+ print("-i and -u are conflict")
sys.exit(1)
if PARAMETERS.buninstpkg:
</specs>
</testcase>
</set>
+ <set name="tct-deprecatedapi-tizen-tests">
+ <testcase execution_type="manual" id="DeprecatedapiConfiguration" purpose="tct-deprecatedapi-tizen-tests configuration" status="approved" type="compliance">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>The 'tct-bt-helper' web application MUST be installed on the remote device whose address is REMOTE_DEVICE_ADDRESS.
+The tct-bt-helper is included in the tct-deprecatedapi-tizen-tests package. Install the tct-deprecatedapi-tizen-tests package on both your test device and the remote Bluetooth device.</step_desc>
+ </step>
+ <step order="2">
+ <step_desc>Turn on the Bluetooth of your test device and the remote device. Make the two devices discoverable to each other.</step_desc>
+ </step>
+ <step order="3">
+ <step_desc>Before manual testing, launch the 'tct-bt-helper' web application installed on the remote device, click 'Register service' on the 'tct-bt-helper', and then execute the TCs tests manually.</step_desc>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0" timeout="90"/>
+ </description>
+ </testcase>
+ </set>
<set name="tct-download-tizen-tests">
<testcase purpose="tct-download-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="DownloadConfiguration">
<description>
<expected>TBD</expected>
</step>
<step order="3">
- <step_desc>There MUST be several email messages in your mailbox to be used for searching and removing messages tests</step_desc>
+ <step_desc>There MUST be several email messages in your mailbox to be used for searching and removing messages tests, but no more than 3. Please clean your mailbox before running test</step_desc>
<expected>TBD</expected>
</step>
<step order="4">
<expected>TBD</expected>
</step>
<step order="4">
- <step_desc>'Display language' MUST be set as English.</step_desc>
+ <step_desc>'Display language' MUST be set as English(United States).</step_desc>
<expected>TBD</expected>
</step>
<step order="5">
- <step_desc>'Region' MUST be set as English(following time format D, M d y ).</step_desc>
- <expected>TBD</expected>
- </step>
- <step order="6">
- <step_desc>Time format MUST be set as AM/PM format,</step_desc>
+ <step_desc>[mobile]Time format MUST be set as AM/PM format(following time format h:m:s ap), [odroid or tv]Change DATE_FORMAT to D,m d y.</step_desc>
<expected>TBD</expected>
</step>
</steps>
</specs>
</testcase>
</set>
+ <set name="tct-secureelement-tizen-tests">
+ <testcase purpose="tct-secureelement-tizen-tests configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="SecureelementConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>For TW2 test, please make sure that the device supports NFC and NFC is enabled. And for public binary, this test is not suitable.</step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
<set name="tct-networkbearerselection-tizen-tests">
<testcase purpose="tct-networkbearerselection-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="NetworkbearerselectionConfiguration">
<description>
</specs>
</testcase>
</set>
+ <set name="tct-tv-was-tizen-tests">
+ <testcase purpose="tct-tv-was-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="TVWasConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>Make sure the YouTube application is installed.</step_desc>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-tv-window-tizen-tests">
+ <testcase purpose="tct-tv-window-tizen-tests configuration" type="compliance" status="approved" component="WebAPI/Tizen/configuration" execution_type="manual" priority="P0" id="TVWindowConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>TCT need valid TV signal on the device, please connect RF cable from antenna and 'Scan' channels. Before testing one need to be able to watch TV programs on TV.</step_desc>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-capability-tests">
+ <testcase purpose="tct-capability-tests configuration" type="compliance" status="approved" component="WebAPI/Tizen/configuration" execution_type="manual" priority="P0" id="capabilityconfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>tct-capability-tests : network should be connected(ex. 3g, wifi..).</step_desc>
+ <expected>TBD</expected>
+ </step>
+ <step order="2">
+ <step_desc>Execute command: sdb shell touch /opt/share/askuser_disable</step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-microphone-tizen-tests">
+ <testcase purpose="tct-microphone-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="MicrophoneConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>Make sure microphone is inserted.</step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-tv-hybridchannelinfo-tizen-tests">
+ <testcase purpose="tct-tv-hybridchannelinfo-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="HybridchannelinfoConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>Make sure TVPlus channel is setuped correctly.</step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-tv-billing-tizen-tests">
+ <testcase purpose="tct-tv-billing-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="TVBilingConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>Need to login Samsung account after app sync
+ id: q@q1.com
+ passwd: 123456
+ </step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="tct-tv-sso-tizen-tests">
+ <testcase purpose="tct-tv-sso-tizen-tests Configuration" type="compliance" status="approved" component="WebAPI/Tizen/Configuration" execution_type="manual" priority="P0" id="TVSsoConfiguration">
+ <description>
+ <pre_condition/>
+ <post_condition/>
+ <steps>
+ <step order="1">
+ <step_desc>Need to login Samsung account after app sync
+ id: q@q1.com
+ passwd: 123456
+ </step_desc>
+ <expected>TBD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90" test_script_expected_result="0"/>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="TBD" element_name="TBD" interface="TBD" specification="TBD" section="TBD" category="TBD"/>
+ <spec_url>TBD</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
def get_device_arch():
global DEV_ARCH
#ARCHCMD = SDB_SERNO + " shell \"cat /etc/products.d/tizen.prod |grep \<arch\""
- arch_cmd = "cat /etc/config/model-config.xml | grep tizen.org/feature/platform.core.cpu.arch"
+ #arch_cmd = "cat /etc/config/model-config.xml | grep tizen.org/feature/platform.core.cpu.arch"
+ arch_cmd = "cat /etc/tizen-build.conf | grep TZ_BUILD_ARCH"
#result example : <key name="tizen.org/feature/platform.core.cpu.arch" type="string">armv7</key>
result = SdbManager.sdbShell(DEVID, arch_cmd)
if result and len(result) > 0:
arch_str = result.split('\n')[0]
- if arch_str and arch_str.find('armv') > -1:
+ if arch_str and arch_str.find('arm') > -1:
DEV_ARCH = "arm"
print("info: [* Arch Type : arm *]")
elif arch_str and arch_str.find("aarch64") > -1:
-TIZENV=tizen_web_2.3,tizen_native_2.3,tizen_web_2.3.1,tizen_native_2.3.1,tizen_web_2.3.2,tizen_native_2.3.2,tizen_web_2.4,tizen_native_2.4,tizen_web_3.0,tizen_native_3.0,tizen_csharp_3.0,tizen_web_4.0,tizen_native_4.0,tizen_csharp_4.0,tizen_web_5.0,tizen_native_5.0,tizen_csharp_5.0,tizen_web_5.5,tizen_native_5.5,tizen_csharp_5.5,tizen_web_6.0,tizen_native_6.0,tizen_csharp_6.0,tizen_web_6.5,tizen_native_6.5,tizen_csharp_6.5
+TIZENV=tizen_web_6.0,tizen_native_6.0,tizen_csharp_6.0,tizen_web_6.5,tizen_native_6.5,tizen_csharp_6.5,tizen_web_7.0,tizen_native_7.0,tizen_csharp_7.0
PROFILE=mobile,wearable,tv,tizeniot
<td>
<a>
<xsl:attribute name="href"><xsl:value-of
- select="@name" />.xml</xsl:attribute>
+ select="@name" />.html</xsl:attribute>
<xsl:value-of select="@name" />
</a>
</td>
<td>
<a>
<xsl:attribute name="href"><xsl:value-of
- select="@name" />.xml</xsl:attribute>
+ select="@name" />.html</xsl:attribute>
<xsl:value-of select="@name" />
</a>
</td>
<td>
<a>
<xsl:attribute name="href"><xsl:value-of
- select="@name" />.xml</xsl:attribute>
+ select="@name" />.html</xsl:attribute>
<xsl:value-of select="@name" />
</a>
</td>
<td>
<a>
<xsl:attribute name="href"><xsl:value-of
- select="@name" />.xml</xsl:attribute>
+ select="@name" />.html</xsl:attribute>
<xsl:value-of select="@name" />
</a>
</td>
<a href="#" class="see_na">Show only not executed</a>
</td>
<td>
- <a href="summary.xml">Summary</a>
+ <a href="report.html">Summary</a>
</td>
</tr>
</table>
-#!/usr/bin/python
+#!/usr/bin/python3
#
# Copyright (C) 2012 Intel Corporation
#
DEFAULT_TIZENV = ""
DEFAULT_TIMEOUT = ""
+
+ IS_SORT_ENABLE = False
#SDB Command
SDB_PUSH = "sdb -s %s push"
LOCAL_SHELL_TEMP_PATH = "/opt/tools/shell/tmp/%s/"
SOURCE_XML_PATH = "/opt/tct/%s/resource"
- DEVICE_MODEL_CONFIG_PATH = "/etc/config/model-config.xml"
+ DEVICE_ETC_PATH = "/etc/"
+ CUSTOM_MODEL_CONFIG_SCRIPT = "custom_model_config.sh"
+
+ DEVICE_MODEL_CONFIG_PATH_TEMP = "/tmp/model-config.xml"
+ DEVICE_MODEL_CONFIG_PATH_ETC = "/etc/config/model-config.xml"
DEVICE_INFO_INI_PATH = "/etc/info.ini"
DEVICE_CPU_INFO_PATH = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq"
EMUL_CPU_INFO_PATH = "/proc/cpuinfo"
#Testkit-Lite
- LITE_CMD1 = "testkit-lite1.0"
- LITE_CMD2 = "testkit-lite2.0"
+ LITE_CMD1 = "testkit-lite_native"
+ LITE_CMD2 = "testkit-lite_web_csharp"
PRIORITY_VALUE = False
PRIORITY = "--priority P0 P1"
LOCAL_PRE = "-f "
tct_binV = ver_file.readline().strip()
return tct_binV
+ @staticmethod
+ def set_sort_enable(_issorted):
+ Constants.IS_SORT_ENABLE = _issorted
+
+ @staticmethod
+ def get_sort_enable():
+ return Constants.IS_SORT_ENABLE
+
self.autoworker.auto_test_inhost()
def _kill_liteprocess(self):
- cmd = "ps aux | grep 'python /opt/testkit/lite[0-9].[0-9]/testkit-lite'"
+ cmd = "ps aux | grep 'python /opt/testkit/lite_web_csharp/testkit-lite'"
result = SdbManager.hostCommandwithResult(cmd)
if isinstance(result, (bytes, bytearray)):
result = result.decode('utf-8')
selectedVersion = self.tVerMenus[i].get()
if not ("Select " in selectedPlan + selectedDevice + selectedVersion):
strDevlist = [str(dev) for dev in self.devices]
- print strDevlist
- print self.devices
+ print(strDevlist)
+ print(self.devices)
self.scenario.append([selectedPlan, self.devices[strDevlist.index(selectedDevice)], selectedVersion])
self.parent.quit()
self.root.quit()
def onStart(self):
- print "START"
+ print("START")
from .logmanager import LOGGER
from .shellplanner import *
+g_wrapper = None
def _verifyPlan(planfile, tizenVersion):
xml_tree = ElementTree.parse(planfile)
xml_root = xml_tree.getroot()
post_test=post_test)
suites.append(suite)
+ sortPkg = g_wrapper.isSortPackage()
+ if (sortPkg == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ suites.sort(key=sortSuite)
plan = TctShellPlan(plan_name, devmgr, deviceId, profile, executeType, \
suites, tizenVersion, resultFolder, stubPort)
if Constants.isDistMode():
- if not plan.setup_distribute():
+ if not plan.setup_distribute(sortPkg):
raise
return [plan]
suites.append(suite)
Constants.clean_unzip_file()
-
+ sortPkg = g_wrapper.isSortPackage()
+ if (sortPkg == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ suites.sort(key=sortSuite)
temp_plan_name = profile
plan = TctShellPlan(temp_plan_name, devmgr, deviceId, profile, executeType, \
suites, tizenV, resultFolder, stubPort)
if Constants.isDistMode():
- if not plan.setup_distribute():
+ if not plan.setup_distribute(sortPkg):
raise
return [plan]
def _parsTestSuite(path_suites, deviceId, executeType, tizenVersion, tc_name, \
- resultFolder, stubPort, devmgr, skip_tc=None, \
+ resultFolder, stubPort, devmgr, skip_package, skip_tc=None, \
pre_test=None, post_test=None):
#type(suites) -> list
suites = []
suite_tizenVer = tizenVersion
suite_pkg_name = os.path.join(suite_profile, \
- os.path.basename(suite_path))
-
- suite = TctShellSuite(suite_name, tc_name, auto_num, manual_num, \
- suite_pkg_name, suite_launcher, suite_category, \
- suite_tizenVer, skip_tc, devmgr, \
- pre_test=pre_test, \
- post_test=post_test)
-
- suites.append(suite)
+ os.path.basename(suite_path))
+ if (skip_package and str(skip_package).find(suite_name) > -1):
+ LOGGER.info("[skip package : %s]" % suite_name)
+ else:
+ suite = TctShellSuite(suite_name, tc_name, auto_num, manual_num, \
+ suite_pkg_name, suite_launcher, suite_category, \
+ suite_tizenVer, skip_tc, devmgr, \
+ pre_test=pre_test, \
+ post_test=post_test)
+ suites.append(suite)
Constants.clean_unzip_file()
temp_plan_name = "temp_plan_name"
if (Constants.GlobalProfile is None) or (Constants.GlobalProfile == ""):
Constants.GlobalProfile = suite_profile
+ sortPkg = g_wrapper.isSortPackage()
+ if (sortPkg == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ suites.sort(key=sortSuite)
plan = TctShellPlan(temp_plan_name, devmgr, deviceId, Constants.GlobalProfile, executeType, \
suites, tizenVersion, resultFolder, stubPort)
if Constants.isDistMode():
- if not plan.setup_distribute():
+ if not plan.setup_distribute(sortPkg):
raise
return [plan]
def _parsTestCase(path_suites, deviceId, executeType, tizenVersion, \
- testcase_id, resultFolder, stubPort, devmgr):
+ testcase_id, resultFolder, stubPort, skip_package, devmgr):
LOGGER.debug("parsing Test Case : " + str(testcase_id))
return _parsTestSuite(path_suites, deviceId, executeType, tizenVersion, \
- testcase_id, resultFolder, stubPort, devmgr)
+ testcase_id, resultFolder, stubPort, devmgr, skip_package)
def _parsAutoPlan(planFile, plan_name, executeType, tizenVer, \
% suite.suiteName)
return None
suites.append(suite)
- suites.sort(key=lambda x: x.expectedTime, reverse=True)
+ sortPkg = g_wrapper.isSortPackage()
+ if (sortPkg == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ suites.sort(key=sortSuite)
+ else:
+ suites.sort(key=lambda x: x.expectedTime, reverse=True)
for suite in suites:
minPlan = min(planList, key=lambda x: x.expectedTime)
minPlan.addExpectedTime(suite.getExpectedTime())
suites.append(suite)
elif dist_res:
suites.append(suite)
-
+ sortPkg = g_wrapper.isSortPackage()
+ if (sortPkg == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ suites.sort(key=sortSuite)
plan = TctShellPlan(plan_name, devmgr, deviceId, profile, executeType, suites,\
tizenVer, resultFolderPath, wrapper.get_default_stubPort())
plan.setRerunning(True)
if Constants.isDistMode():
for plan in plans:
- if not plan.setup_distribute():
+ if not plan.setup_distribute(sortPkg):
raise
return plans
pre_test = wrapper.get_pre_test()
post_test = wrapper.get_post_test()
distribute_count = wrapper.get_distribute_count()
-
+ global g_wrapper
+ g_wrapper = wrapper
+ sortPkg = wrapper.isSortPackage()
+ if (sortPkg == True):
+ Constants.set_sort_enable(sortPkg);
if wrapper.get_running_mode() == Constants.RUNNING_MODE_RERUN:
return _parsResultForRerun(wrapper, skip_package, \
skip_tc, devmgr, distribute_count)
resultFolderPath = wrapper.get_resultFolderPath()
stubPort = wrapper.get_default_stubPort()
+ if (sortPkg == True):
+ suites.sort()
if intention_type == -1:
return None
post_test=post_test)
elif intention_type == IntentionType.TestCase:
plans = _parsTestCase(suites, deviceId, executeType, tizenVer, \
- tcId, resultFolderPath, stubPort, devmgr)
+ tcId, resultFolderPath, stubPort, skip_package, devmgr)
elif intention_type == IntentionType.TestSuite:
if(Constants.GlobalProfile == None) or (Constants.GlobalProfile == ""):
profile = wrapper.get_profile()
Constants.GlobalProfile = profile
plans = _parsTestSuite(suites, deviceId, executeType, tizenVer, \
- None, resultFolderPath, stubPort, devmgr, \
+ None, resultFolderPath, stubPort, devmgr, skip_package, \
skip_tc, pre_test=pre_test, post_test=post_test)
elif intention_type == IntentionType.AutoPlan:
name = wrapper.get_plan_name()
self.planid = None
self.plans = plans
self.planDict = {}
+ self.wrapper = None
if plans:
headplan = plans[0]
self.head_profile = headplan.getProfile()
root.append(self.env.to_xml())
root.append(self.summary.to_xml())
root.append(self.capability.to_xml())
+ suites = []
for suite in self.suites:
+ suites.append(suite)
+ if (Constants.get_sort_enable() == True):
+ def sortSuite(suites):
+ return suites.name
+ suites.sort(key=sortSuite)
+ for suite in suites:
root.append(suite.summary_to_xml())
Constants.indent(root)
decl_root.append(root)
tree.write(dest, encoding="UTF-8")
LOGGER.info("SUMMARY TO XML: writing into %s\n" % dest)
+ def setSortValue(self,wrapper):
+ self.wrapper = wrapper;
+
def _findResultSuites(self, _resultFolder=None):
if Constants.RERUNING_MODE:
auto_suffix = Constants.RERUN_AUTO_RESULT_SUFFIX
def getDevTctTmpPath(self):
return Constants.getDEVICE_SUITE_TARGET(self.tizenVer) + "tmp/"
- def setup_distribute(self):
+ def setup_distribute(self, isSorted):
self.devmgr.loadDeviceList()
runningDevs = self.devmgr.getSdbDeviceList()
if len(runningDevs) < 1:
% (self.name, len(runningDevs), \
str([dev.devId for dev in runningDevs])))
self.deviceId = None
- self.sortSuites()
+ if (isSorted == True):
+ def sortSuite(suites):
+ return suites.suiteName
+ self.getSuites().sort(key=sortSuite)
+ else:
+ self.sortSuites()
return True
def sortSuites(self):
cmd = ""
if self.tizenV.find("native") > -1 or self.tizenV.find("2.4") > -1:
tests = Constants.getDEVICE_TESTS_FILE(self.tizenV) % self.suiteName
- cmd = "ps aux | grep 'python /opt/testkit/lite[0-9].[0-9]/testkit-lite -f device:%s'" % tests
+ cmd = "ps aux | grep 'python /opt/testkit/lite_native/testkit-lite -f device:%s'" % tests
else:
tests = Constants.LOCAL_SHELL_TEMP_PATH % deviceId + "opt/" + self.suiteName + "/tests.xml"
- cmd = "ps aux | grep 'python /opt/testkit/lite[0-9].[0-9]/testkit-lite -f %s'" % tests
+ cmd = "ps aux | grep 'python /opt/testkit/lite_web_csharp/testkit-lite -f %s'" % tests
result = str(SdbManager.hostCommandwithResult(cmd))
grep_lines = result.split('\n')
isRerun, stubport, True)
SdbManager.hostRecLiteCommand(exCmd)
else:
- reverse_tests = self._naitve_installSuiteinHost()
+ reverse_tests = self._native_installSuiteinHost()
exCmd = self._liteCommand(deviceId, resultFolder, exeType, tcName, \
isRerun, stubport, True, reverse_tests)
SdbManager.hostRecLiteCommand(exCmd)
make_option("--deviceid", "-d", dest="deviceid", \
action="callback", callback=varnarg, \
help="Set sdb device serial information."),
+ make_option("--sort", "-s", dest="sort_packages", \
+ action="store_true", help="Execute sorted packages"),
make_option("--dbutedevid", dest="dbutedevid", action="callback", callback=varnarg, help="Set sdb device serial information for distribute mode"),
make_option("--disable", dest="disable_preconfigure", action="store_false", default=True, help="disable the function of pre_configure"),
make_option("--output", "-o", dest="resultfile", \
def getDbuteDevIds(self):
return self.options.dbutedevid
+ def isSortPackage(self):
+ if self.options.sort_packages is not None:
+ return True
+ else:
+ return False
+
+
def get_distribute_count(self):
if self.options.dist_mode and len(self.options.dist_mode) > 0:
return self.options.dist_mode[0]
self._isDeviceReady()
if self.isPreconSet:
self._reset_health_res_indevice()
-
+ if self.tizenVer == 'tizen_native_6.5' or self.tizenVer == 'tizen_web_6.5' or self.tizenVer == 'tizen_csharp_6.5' or self.tizenVer == 'tizen_native_7.0' or self.tizenVer == 'tizen_web_7.0' or self.tizenVer == 'tizen_csharp_7.0':
+ if not self._getCustomModelConfig():
+ self.queue.put('no model config')
+ return
self._getDeviceCapability()
if not self._isHealthCheckPassed():
os.remove(cpu_max_freq)
if os.path.exists(cpu_info):
os.remove(cpu_info)
+ if self.tizenVer == 'tizen_native_6.5' or self.tizenVer == 'tizen_web_6.5' or self.tizenVer == 'tizen_csharp_6.5' or self.tizenVer == 'tizen_native_7.0' or self.tizenVer == 'tizen_web_7.0' or self.tizenVer == 'tizen_csharp_7.0':
+ LOGGER.info("Pull /tmp/model_config.xml = /etc/config/model-config.xml AND /hal/etc/config/model-config.xml")
+ SdbManager.sdbPull(self.deviceId, Constants.DEVICE_MODEL_CONFIG_PATH_TEMP, shell_tmp_dir)
+ else:
+ LOGGER.info("Pull /etc/config/model-config.xml")
+ SdbManager.sdbPull(self.deviceId, Constants.DEVICE_MODEL_CONFIG_PATH_ETC, shell_tmp_dir)
- SdbManager.sdbPull(self.deviceId, Constants.DEVICE_MODEL_CONFIG_PATH, shell_tmp_dir)
SdbManager.sdbPull(self.deviceId, Constants.DEVICE_INFO_INI_PATH, shell_tmp_dir)
SdbManager.sdbPull(self.deviceId, Constants.DEVICE_CPU_INFO_PATH, shell_tmp_dir)
SdbManager.sdbPull(self.deviceId, Constants.EMUL_CPU_INFO_PATH, shell_tmp_dir)
+ def _getCustomModelConfig(self):
+ if Constants.checkFileExists(os.path.join(Constants.SOURCE_XML_PATH % \
+ self.tizenVer, Constants.CUSTOM_MODEL_CONFIG_SCRIPT)) is False:
+ LOGGER.error("custom_model_config.sh file not found on given Source path")
+ return False
+ scriptmountrw_cmd = "mount -o rw,remount /"
+ SdbManager.sdbShell(self.deviceId, scriptmountrw_cmd)
+ custom_model_config_script = os.path.join(Constants.SOURCE_XML_PATH % \
+ self.tizenVer, Constants.CUSTOM_MODEL_CONFIG_SCRIPT)
+ LOGGER.info("push CustomModelConfig script in DEVICE_ETC_PATH")
+ SdbManager.sdbPush(self.deviceId, custom_model_config_script, Constants.DEVICE_ETC_PATH)
+
+ scriptrun_cmd = Constants.DEVICE_ETC_PATH + Constants.CUSTOM_MODEL_CONFIG_SCRIPT
+ scriptdel_cmd = "rm " + Constants.DEVICE_ETC_PATH + Constants.CUSTOM_MODEL_CONFIG_SCRIPT
+
+ LOGGER.info("Executing CustomModelCoonfig script");
+ SdbManager.sdbShell(self.deviceId, scriptrun_cmd)
+ LOGGER.info("Deleting CustomModelCoonfig script from DEVICE_ETC_PATH");
+ SdbManager.sdbShell(self.deviceId, scriptdel_cmd)
+ return True
+
def _getDeviceCapability(self):
buil_file = Constants.LOCAL_BUILD_INFO_PATH % self.deviceId
counter = 0
counter_loop = 0
- if Constants.GlobalProfile == "tizeniot" or Constants.GlobalProfile == "":
+
+ if Constants.GlobalProfile == "":
counter = len(healtlist) - 1
else:
counter = len(healtlist)
autoplan_time = stop_autoplan - start_autoplan
distribute_time = stop_distribute - start_distribute
-print "-"*50
+print("-"*50)
-print "\nTest Plan Mode: %d\nAuto Plan Mode: %d\nDistribute Plan Mode: %d\n" %(plan_time, autoplan_time, distribute_time)
+print("\nTest Plan Mode: %d\nAuto Plan Mode: %d\nDistribute Plan Mode: %d\n" %(plan_time, autoplan_time, distribute_time))
-print "-"*50
+print("-"*50)
class TestNetstatLogger:
def __init__(self):
- print ''
+ print('')
if __name__ == "__main__":
- print "====================== START TestNetstatLogger ========================"
+ print("====================== START TestNetstatLogger ========================")
netins = NetstatMonitor('10.113.74.133:26101')
netins.start()
time.sleep(2)
netins.waitThread()
time.sleep(2)
netins.restartThread()
- print "====================== FINISH TestNetstatLogger ========================"
+ print("====================== FINISH TestNetstatLogger ========================")
def __init__(self):
self.usbins = None
self.devins = DeviceManager.getInstance()
- print ''
+ print('')
def testThread(self):
self.usbins = UsbMonitor()
tctshell_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
os.chdir(tctshell_path)
-print tctshell_path
+print(tctshell_path)
rerun_only = None
while not rerun_only in ['y', 'n']:
rerun_only = raw_input("rerun_only? ")
rs.genSummary()
-print p.getUnpass()
+print(p.getUnpass())
SdbManager.sdbRootOn(self.deviceId)
if __name__ == "__main__":
- print "==================== START TestSDManager ====================="
+ print("==================== START TestSDManager =====================")
ins = TestSdbManager()
ins.testSdbPush()
ins.testSdbPull()
ins.testSdbShell()
ins. testSdbRootOn()
- print "==================== FINISH TestSDManager ====================="
+ print("==================== FINISH TestSDManager =====================")
class TestShellWorker:
def __init__(self):
- print ''
+ print('')
def testInitPlanExecutor(self, plan, count):
return PlanExecutor(plan, 1)
multiins.addPlan(plan2.getPlanName(), plan2)
multiins.setCurrPlanRunning(plan1)
- print multiins.getRunnDevice()
+ print(multiins.getRunnDevice())
def testIsSelectedDevAvailable(self):
planner = TestShellPlanner()
multiins.setCurrPlanRunning(plan1)
ins2 = MultiRunnPlan._getInstance()
- print ins2.isSelectedDevAvailable(plan2)
+ print(ins2.isSelectedDevAvailable(plan2))
def testCheckRecoveryDevice(self):
planner = TestShellPlanner()
ins = AutoSuiteWorker(planner)
- print ins.checkRecoveryDevice('10.113.74.133:26101')
+ print(ins.checkRecoveryDevice('10.113.74.133:26101'))
if __name__ == "__main__":
def __init__(self):
self.usbins = None
- print ''
+ print('')
def testThread(self):
self.usbins = UsbMonitor()
try:
summary1.unmarshal()
except Exception, e:
- print "[ Error: reading suite result fail, error %s ]\n" % e
+ print("[ Error: reading suite result fail, error %s ]\n" % e)
'''
SUBDIRS = impl
-commoduledir = /usr/lib/python2.7/dist-packages/commodule
+commoduledir = /usr/lib/python3/dist-packages/commodule
dist_commodule_SCRIPTS = *.py
import subprocess
from datetime import datetime
+from .log import LOGGER
from .killall import killall
from .str2 import str2str
result = []
else:
result = proc.stdout.readlines() or proc.stderr.readlines()
+ for idx, r in enumerate(result):
+ result[idx] = r.decode("utf-8")
return [exit_code, result]
break
time.sleep(0.1)
- stdout_log = str2str(cmd_open.stdout.read())
- stderr_log = str2str(cmd_open.stderr.read())
+ try:
+ stdout_log = cmd_open.stdout.read().decode("utf-8")
+ except:
+ LOGGER.info("Cannot decode bytes using utf-8, hence using latin-1 decoder")
+ stdout_log = cmd_open.stdout.read().decode("latin-1")
+ stderr_log = cmd_open.stderr.read().decode("utf-8")
if 'returncode=' in stdout_log:
index = stdout_log.find('returncode=') + 11
exit_code = str(stdout_log[index:]).strip('\r\n')
"""Test connector for test instance and target instance"""
from .log import LOGGER
-
+from .impl.tizenmobile import get_target_conn as tizenmobile_conn
+from .impl.localhost import get_target_conn as localhost_conn
class Connector:
self.conn = None
if "testmode" in config:
try:
- exec "from impl.%s import get_target_conn" % config[
- "testmode"]
+ #exec("from impl.%s import get_target_conn" % config[
+ # "testmode"])
+ if config["testmode"]=="tizenmobile":
+ get_target_conn = tizenmobile_conn
+ else:
+ get_target_conn = localhost_conn
device_no = config.get('deviceid', None)
if device_no is not None:
self.conn = get_target_conn(device_no)
# Yuanyuan,Zou <zouyuanx@intel.com>
-commoduleimpldir = /usr/lib/python2.7/dist-packages/commodule/impl
+commoduleimpldir = /usr/lib/python3/dist-packages/commodule/impl
dist_commoduleimpl_SCRIPTS = *.py
import threading
import re
import shutil
-import ConfigParser
+import configparser
import platform
import xml.etree.ElementTree as etree
from commodule.killall import killall
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_24 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_24')
def debug_trace(cmdline, logfile):
global debug_flag, metux
- wbuffile = file(logfile, "w")
+ wbuffile = open(logfile, "wb")
import subprocess
exit_code = None
proc = subprocess.Popen(args=cmdline,
pid = pidgrp.pop()
try:
os.kill(int(pid), signal.SIGKILL)
- except OSError, error:
+ except OSError as error:
pattern = re.compile('No such process')
match = pattern.search(str(error))
if not match:
- print "[ Error: fail to kill pid: %s," \
- " error: %s ]\n" % (int(pid), error)
+ print("[ Error: fail to kill pid: %s," \
+ " error: %s ]\n" % (int(pid), error))
# kill for windows platform
else:
kernel32 = ctypes.windll.kernel32
handle = kernel32.OpenProcess(1, 0, int(ppid))
kernel32.TerminateProcess(handle, 0)
- except OSError, error:
+ except OSError as error:
pattern = re.compile('No such process')
match = pattern.search(str(error))
if not match:
- print "[ Error: fail to kill pid: %s, error: %s ]\n" \
- % (int(ppid), error)
+ print("[ Error: fail to kill pid: %s, error: %s ]\n" \
+ % (int(ppid), error))
return None
# Wendong,Sui <weidongx.sun@intel.com>
""" string convertor"""
-from types import IntType, FloatType, LongType
import string
def str2str(src):
"""string to printable string"""
- if isinstance(src, unicode):
+ if isinstance(src, str):
return src.encode("utf8")
if isinstance(src, str):
accept = string.punctuation + string.letters + string.digits + ' \r\n'
- return filter(lambda x: x in accept, src)
+ return [x for x in src if x in accept]
return ""
def str2number(src):
"""string to boolean"""
val = str2val(str2str(src))
- if type(val) in [IntType, FloatType, LongType]:
+ if type(val) in [int, float]:
return val
else:
return None
# Set permissions
mkdir /opt/testkit/lite_native/test_packages
chmod ugo+rwx -R /opt/testkit/lite_native
-ln -fs /usr/share/pyshared/commodule /usr/lib/python2.7/dist-packages/commodule
-ln -fs /usr/share/pyshared/testkitlite /usr/lib/python2.7/dist-packages/testkitlite
+ln -fs /usr/share/pyshared/commodule /usr/lib/python3/dist-packages/commodule
+ln -fs /usr/share/pyshared/testkitlite /usr/lib/python3/dist-packages/testkitlite
-#!/usr/bin/python
+#!/usr/bin/env python3
#
# Copyright (C) 2012 Intel Corporation
#
import sys
import traceback
import platform
-import ConfigParser
+import configparser
import re
import xml.etree.ElementTree as etree
from optparse import OptionParser, make_option
# import logger
try:
from commodule.log import LOGGER
-except ImportError, err:
- print "[ Error: loading logging failed, error: %s ]\n" % err
- print "try to run command " \
+except ImportError as err:
+ print("[ Error: loading logging failed, error: %s ]\n" % err)
+ print("try to run command " \
"'export PYTHONPATH=/usr/lib/python2.7/dist-packages' and " \
- "'export PYTHONPATH=/usr/share/pyshared/' to resolve this issue"
+ "'export PYTHONPATH=/usr/share/pyshared/' to resolve this issue")
sys.exit(1)
# import process kill
try:
from testkitlite.common.process_killall import kill_testkit_lite, clean_testxml
-except ImportError, err:
+except ImportError as err:
LOGGER.error("[ Error: loading module killall failed, error: %s ]\n" % err)
LOGGER.info("try to run command \
'export PYTHONPATH=/usr/lib/python2.7/dist-packages' and \
#LOGGER.info("\n[ makedirs LOG_DIR: %s ]\n" % LOG_DIR)
if not EXISTS(LOG_DIR):
os.makedirs(LOG_DIR)
- except OSError, err:
+ except OSError as err:
LOGGER.error("[ Error: create results directory:"
" %s failed, error: %s ]\n" % (LOG_DIR, err))
with open(PID_FILE, "w") as fd:
PID = str(os.getpid())
fd.writelines(PID + '\n')
-except OSError, e:
+except OSError as e:
LOGGER.error("[ Error: can't create pid log file: %s, error: %s ]\n" %
(PID_FILE, err))
sys.exit(1)
try:
- os.chmod(PID_FILE, 0666)
+ os.chmod(PID_FILE, 0o666)
except OSError:
pass
# detect version option
if "--version" in sys.argv:
try:
- CONFIG = ConfigParser.ConfigParser()
+ CONFIG = configparser.ConfigParser()
if platform.system() == "Linux":
CONFIG.read('/opt/testkit/lite_native/VERSION')
else:
CONFIG.read(VERSION_FILE)
VERSION = CONFIG.get('public_version', 'version')
LOGGER.info("V%s" % VERSION)
- except ConfigParser.Error, err:
+ except configparser.Error as err:
LOGGER.error(
"[ Error: fail to parse version info, error: %s ]\n" % err)
sys.exit(1)
# detect internal version option
if "--internal-version" in sys.argv:
try:
- CONFIG = ConfigParser.ConfigParser()
+ CONFIG = configparser.ConfigParser()
if platform.system() == "Linux":
CONFIG.read('/opt/testkit/lite_native/VERSION')
else:
VERSION_FILE = JOIN(sys.path[0], 'VERSION')
CONFIG.read(VERSION_FILE)
VERSION = CONFIG.get('internal_version', 'version')
- print VERSION
- except ConfigParser.Error, err:
- print "[ Error: fail to parse version info, error: %s ]\n" % err
+ print(VERSION)
+ except configparser.Error as err:
+ print("[ Error: fail to parse version info, error: %s ]\n" % err)
sys.exit(1)
try:
from testkitlite.engines.default.runner import TRunner
from commodule.connector import Connector
-except ImportError, err:
+except ImportError as err:
LOGGER.error("[ Error: loading test engine failed, error: %s ]\n" % err)
LOGGER.info("try to run command "
"'export PYTHONPATH=/usr/lib/python2.7/dist-packages' and "
5) -e option does not support -D mode\n\
6) The test cases' order in the result files might be arbitrary,\
when running same tests.xml with same options. This is caused \
-by python's API 'getiterator' from module 'xml.etree.ElementTree'\n\
+by python's API 'iter' from module 'xml.etree.ElementTree'\n\
7) run command 'testkit-lite', \
it might not be able to locate module 'testkitlite.engines.\
default.runner', \
try:
LOGGER.info("[ Quit testkit-lite now ]")
kill_testkit_lite(PID_FILE)
- except Exception, err:
+ except Exception as err:
LOGGER.error("[ Error: fail to kill existing testkit-lite,"
" error: %s ]\n" % err)
sys.exit(1)
#LOGGER.info("\n[ makedirs TEST_PACKAGES_DIR: %s ]\n" % TEST_PACKAGES_DIR)
if not EXISTS(TEST_PACKAGES_DIR):
os.makedirs(TEST_PACKAGES_DIR)
- except OSError, err:
+ except OSError as err:
LOGGER.error("[ Error: "
"can't create test package directory: %s, error: %s ]\n" %
(TEST_PACKAGES_DIR, err))
LOCAL_TESTLISTS.append(temp_xml[start:end])
start = index+1
else:
- print 'no xml found'
+ print('no xml found')
break
OPTIONS.testxml = LOCAL_TESTLISTS
os.makedirs(CURRENT_LOG_DIR)
if os.name == "posix":
os.symlink(CURRENT_LOG_DIR, LATEST_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: create session log directory: "
"%s failed, error: %s ]\n" % (CURRENT_LOG_DIR, err))
- except OSError, err:
+ except OSError as err:
LOGGER.error("error : %s" % err)
finally:
"pls check the test package ]\n")
sys.exit(1)
no_test_definition = 1
- for tf in ep.getiterator('test_definition'):
+ for tf in ep.iter('test_definition'):
no_test_definition = 0
if no_test_definition:
suiteparent = etree.Element('test_definition')
suiteparent.tail = "\n"
- for suite in ep.getiterator('suite'):
+ for suite in ep.iter('suite'):
suite.tail = "\n"
suiteparent.append(suite)
if OPTIONS.bautoonly:
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.apply_filter(suiteparent)
# just leave suite and set for merge result
- for suite in ep.getiterator('suite'):
- for tset in suite.getiterator('set'):
- for testcase in tset.getiterator('testcase'):
+ for suite in ep.iter('suite'):
+ for tset in suite.findall('set'):
+ for testcase in tset.findall('testcase'):
tset.remove(testcase)
try:
#LOGGER.info("\n[ Opening resultfile: %s ]\n" % resultfile)
- with open(resultfile, 'w') as output:
+ with open(resultfile, 'wb') as output:
tree = etree.ElementTree(element=suiteparent)
tree.write(output)
- except IOError, err:
+ except IOError as err:
LOGGER.error(
"[ Error: create filtered total result file: %s failed, "
"error: %s ]\n" % (resultfile, err))
else:
- print "[ Have no test xml found ]"
+ print("[ Have no test xml found ]")
sys.exit(1)
START_TIME = datetime.today().strftime("%Y-%m-%d_%H_%M_%S")
if not OPTIONS.bautoonly:
WFILTERS['execution_type'] = ["manual"]
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.prepare_run(t, resultdir=CURRENT_LOG_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: prepare_run test xml: "
"%s from testkit-lite failed, error: %s ]\n" % (t, err))
else:
WFILTERS['execution_type'] = ["auto"]
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.prepare_run(t, resultdir=CURRENT_LOG_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: prepare_run test xml: "
"%s from testkit-lite failed, error: %s ]\n" % (t, err))
for t in TESTXMLS:
WFILTERS['execution_type'] = ["manual"]
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.prepare_run(t, resultdir=CURRENT_LOG_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: prepare_run test xml: "
"%s from testkit-lite failed, error: %s ]\n" % (t, err))
else:
WFILTERS['execution_type'] = ["auto"]
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.prepare_run(t, resultdir=CURRENT_LOG_DIR)
- except IOError, err:
+ except IOError as err:
clean_testxml(TESTXMLS, remote_test)
LOGGER.error("[ Error: prepare_run test xml: "
"%s from testkit-lite failed, error: %s ]\n" % (t, err))
try:
can_merge_result = True
RUNNER.run_case(CURRENT_LOG_DIR)
- except Exception, err:
+ except Exception as err:
clean_testxml(TESTXMLS, remote_test)
traceback.print_exc()
LOGGER.error("[ Error: run_test_case failed ,error: %s ]\n" % err)
RUNNER.merge_resultfile(START_TIME, CURRENT_LOG_DIR)
clean_testxml(TESTXMLS, remote_test)
LOGGER.info("[ all tasks for testkit lite are accomplished, goodbye ]")
- except Exception, err:
+ except Exception as err:
traceback.print_exc()
clean_testxml(TESTXMLS,remote_test)
LOGGER.error("[ Error: merge_resultfile "
"failed,error: %s, goodbye ]\n" % err)
-except KeyboardInterrupt, err:
+except KeyboardInterrupt as err:
if RUNNER.session_id:
RUNNER.finalize_test(RUNNER.session_id)
if can_merge_result:
clean_testxml(OPTIONS.testxml, remote_test)
LOGGER.info("\n[ exiting testkit-lite on user cancel, goodbye ]\n")
sys.exit(1)
-except Exception, err:
+except Exception as err:
if RUNNER.session_id:
RUNNER.finalize_test(RUNNER.session_id)
if can_merge_result:
SUBDIRS = common engines
-testkitlitedir = /usr/lib/python2.7/dist-packages/testkitlite
+testkitlitedir = /usr/lib/python3/dist-packages/testkitlite
dist_testkitlite_SCRIPTS = __init__.py
# Zhang, Huihui <huihuix.zhang@intel.com>
# Wendong,Sui <weidongx.sun@intel.com>
-testkitlitecommondir = /usr/lib/python2.7/dist-packages/testkitlite/common
+testkitlitecommondir = /usr/lib/python3/dist-packages/testkitlite/common
dist_testkitlitecommon_SCRIPTS = *.py
pid = pidfile.readline().rstrip("\n")
if pid:
killall(pid)
- except IOError, error:
+ except IOError as error:
pattern = re.compile('No such file or directory|No such process')
match = pattern.search(str(error))
if not match:
SUBDIRS = default
-testkitliteenginesdir = /usr/lib/python2.7/dist-packages/testkitlite/engines
+testkitliteenginesdir = /usr/lib/python3/dist-packages/testkitlite/engines
dist_testkitliteengines_SCRIPTS = __init__.py
# Zhang, Huihui <huihuix.zhang@intel.com>
# Wendong,Sui <weidongx.sun@intel.com>
-testkitliteenginesdefaultdir = /usr/lib/python2.7/dist-packages/testkitlite/engines/default
+testkitliteenginesdefaultdir = /usr/lib/python3/dist-packages/testkitlite/engines/default
dist_testkitliteenginesdefault_SCRIPTS = *.py
from datetime import datetime
from shutil import copyfile
import xml.etree.ElementTree as etree
-import ConfigParser
+import configparser
from tempfile import mktemp
from shutil import move
from os import remove
from .worker import TestWorker
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_24 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_24')
def __split_test_xml(self, resultfile, resultdir):
""" split_test_xml into auto and manual"""
- casefind = etree.parse(resultfile).getiterator('testcase')
+ casefind = etree.parse(resultfile).iter('testcase')
if casefind:
test_file_name = "%s" % BASENAME(resultfile)
test_file_name = os.path.splitext(test_file_name)[0]
filename_diff = 1
parser = etree.parse(resultfile)
- for tsuite in parser.getiterator('suite'):
+ for tsuite in parser.iter('suite'):
root = etree.Element('test_definition')
suitefilename = os.path.splitext(resultfile)[0]
suitefilename += ".suite_%s.xml" % filename_diff
tsuite.tail = "\n"
root.append(tsuite)
try:
- with open(suitefilename, 'w') as output:
+ with open(suitefilename, 'wb') as output:
tree = etree.ElementTree(element=root)
tree.write(output)
except IOError as error:
LOGGER.error("[ Error: create filtered result file: %s failed,\
error: %s ]" % (suitefilename, error))
case_suite_find = etree.parse(
- suitefilename).getiterator('testcase')
+ suitefilename).iter('testcase')
if case_suite_find:
if tsuite.get('launcher'):
if tsuite.get('launcher').find('WRTLauncher'):
parse_tree = etree.parse(testxmlfile)
suiteparent = parse_tree.getroot()
no_test_definition = 1
- if parse_tree.getiterator('test_definition'):
+ if parse_tree.iter('test_definition'):
no_test_definition = 0
if no_test_definition:
suiteparent = etree.Element('test_definition')
suiteparent.tail = "\n"
- for suite in parse_tree.getiterator('suite'):
+ for suite in parse_tree.iter('suite'):
suite.tail = "\n"
suiteparent.append(suite)
self.apply_filter(suiteparent)
try:
- with open(resultfile, 'w') as output:
+ with open(resultfile, 'wb') as output:
tree = etree.ElementTree(element=suiteparent)
tree.write(output)
except IOError as error:
test_xml_set_list = []
self.resultfiles.discard(webapi_file)
test_xml_temp = etree.parse(webapi_file)
- for test_xml_temp_suite in test_xml_temp.getiterator('suite'):
- while set_number <= len(test_xml_temp_suite.getiterator('set')):
+ for test_xml_temp_suite in test_xml_temp.iter('suite'):
+ while set_number <= len(test_xml_temp_suite.findall('set')):
copy_url = os.path.splitext(webapi_file)[0]
copy_url += "_set_%s.xml" % set_number
copyfile(webapi_file, copy_url)
test_xml_set_tmp = etree.parse(test_xml_set)
set_keep_number = 1
# LOGGER.debug("[ process set: %s ]" % test_xml_set)
- for temp_suite in test_xml_set_tmp.getiterator('suite'):
- for test_xml_set_temp_set in temp_suite.getiterator('set'):
+ for temp_suite in test_xml_set_tmp.iter('suite'):
+ for test_xml_set_temp_set in temp_suite.findall('set'):
if set_keep_number != set_number:
temp_suite.remove(test_xml_set_temp_set)
else:
- if not test_xml_set_temp_set.getiterator('testcase'):
+ if not test_xml_set_temp_set.iter('testcase'):
test_xml_set_list_empty.append(test_xml_set)
set_keep_number += 1
set_number -= 1
for total in totals:
result_xml = etree.parse(total)
- for suite in result_xml.getiterator('suite'):
- if suite.getiterator('testcase'):
+ for suite in result_xml.iter('suite'):
+ if suite.iter('testcase'):
suite.tail = "\n"
root.append(suite)
# print test summary
try:
with open(mergefile, 'w') as output:
output.write(declaration_text)
- tree = etree.ElementTree(element=root)
+ with open(mergefile, 'ab') as output:
+ tree =etree.ElementTree(element=root)
tree.write(output, xml_declaration=False, encoding='utf-8')
except IOError as error:
LOGGER.error(
LOGGER.info("[ copy result dlog to output file:"
" %s ]" % afile)
dlogfile = os.path.join(root, afile)
- finalName = afile
+ finalName = afile
rerunString = self.resultfile.split('.')[-2]
if(rerunString == 'rerun'):
- extraNames = afile.split('.')
- extraName = ""
- if not extraNames[1].isdigit():
- extraName = extraNames[1] + '.'
- for i in range(2, len(extraNames)-1):
- extraName += extraNames[i]+'.'
- finalName = self.resultfile.split('/')[-1].split('.')[0]+"."+extraName[:-1]+"_rerun_"+str(datetime.now())+".dlog"
+ extraNames = afile.split('.')
+ extraName = ""
+ if not extraNames[1].isdigit():
+ extraName = extraNames[1] + '.'
+ for i in range(2, len(extraNames)-1):
+ extraName += extraNames[i]+'.'
+ finalName = self.resultfile.split('/')[-1].split('.')[0]+"."+extraName[:-1]+"_rerun_"+str(datetime.now())+".dlog"
destdfile = os.path.join(\
- os.path.dirname(self.resultfile), finalName)
- print("destdfile = "+destdfile)
+ os.path.dirname(self.resultfile), finalName)
+ print(("destdfile = "+destdfile))
copyfile(dlogfile, destdfile)
# for afile in os.listdir(os.path.dirname(self.resultfile)):
# if ".dlog" in afile and "tct" not in afile:
total_xml = etree.parse(totalfile)
# LOGGER.info("|--[ merge webapi result file: %s ]" % resultfile)
result_xml = etree.parse(resultfile)
- for total_suite in total_xml.getiterator('suite'):
- for total_set in total_suite.getiterator('set'):
- for result_suite in result_xml.getiterator('suite'):
- for result_set in result_suite.getiterator('set'):
+ for total_suite in total_xml.iter('suite'):
+ for total_set in total_suite.iter('set'):
+ for result_suite in result_xml.iter('suite'):
+ for result_set in result_suite.iter('set'):
# when total xml and result xml have same suite
# name and set name
self.__merge_result_by_name(\
# set cases that doesn't have result in result \
# set to N/A
# append cases from result set to total set
- result_case_iterator = result_set.getiterator(
+ result_case_iterator = result_set.iter(
'testcase')
if result_case_iterator:
# LOGGER.info("----[ suite: %s, set: %s, time: %s ]"
parse_tree = etree.parse(xml_set_tmp)
root_em = parse_tree.getroot()
case_tmp = []
- for tset in root_em.getiterator('set'):
+ for tset in root_em.iter('set'):
case_order = 1
parameters.setdefault(
- "casecount", str(len(tset.getiterator('testcase')))
+ "casecount", str(len(tset.findall('testcase')))
)
parameters.setdefault("current_set_name", xml_set_tmp)
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.iter('testcase'):
if self.skip_tc and str(self.skip_tc).find(tcase.get('id')) > -1:
continue
case_detail_tmp["expected_result"] = tcase.find(
'description/test_script_entry'
).get('test_script_expected_result')
- for this_step in tcase.getiterator("step"):
+ for this_step in tcase.iter("step"):
step_detail_tmp = {}
step_detail_tmp.setdefault("order", "1")
step_detail_tmp["order"] = str(this_step.get('order'))
'onload_delay'] = tcase.get('onload_delay')
# Check performance test
if tcase.find('measurement') is not None:
- measures = tcase.getiterator('measurement')
+ measures = tcase.iter('measurement')
measures_array = []
for measure in measures:
measure_json = {}
def apply_filter(self, root_em):
""" apply filter """
rules = self.filter_rules
- for tsuite in root_em.getiterator('suite'):
+ for tsuite in root_em.findall('suite'):
if rules.get('suite'):
if tsuite.get('name') not in rules['suite']:
root_em.remove(tsuite)
- for tset in tsuite.getiterator('set'):
+ for tset in tsuite.findall('set'):
if rules.get('set'):
if tset.get('name') not in rules['set']:
tsuite.remove(tset)
- for tsuite in root_em.getiterator('suite'):
- for tset in tsuite.getiterator('set'):
+ for tsuite in root_em.findall('suite'):
+ for tset in tsuite.findall('set'):
# if there are capabilities ,do filter
if self.has_capability:
tset_status = self.__apply_capability_filter_set(tset)
if not tset_status:
tsuite.remove(tset)
continue
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.findall('testcase'):
if not self.__apply_filter_case_check(tcase):
tset.remove(tcase)
def __apply_filter_case_check(self, tcase):
"""filter cases"""
rules = self.filter_rules
- for key in rules.iterkeys():
+ for key in rules.keys():
if key in ["suite", "set"]:
continue
return False
else:
# Check sub-element
- items = tcase.getiterator(key)
+ items = tcase.iter(key)
if items:
t_val = []
for i in items:
def __apply_capability_filter_set(self, tset):
""" check the set required capability with self.capabilities """
- for tcaps in tset.getiterator('capabilities'):
- for tcap in tcaps.getiterator('capability'):
+ for tcaps in tset.iter('capabilities'):
+ for tcap in tcaps.iter('capability'):
capname = None
capvalue = None
capname = tcap.get('name').lower()
LOGGER.info("[ prepare_startup_parameters ]")
try:
parse_tree = etree.parse(testxml)
- tsuite = parse_tree.getroot().getiterator('suite')[0]
- tset = parse_tree.getroot().getiterator('set')[0]
+ tsuite = next(parse_tree.getroot().iter('suite'))
+ tset = next(parse_tree.getroot().iter('set'))
if tset.get("launcher") is not None:
starup_parameters['test-launcher'] = tset.get("launcher")
else:
try:
parse_tree = etree.parse(capability_xml)
root_em = parse_tree.getroot()
- for tcap in root_em.getiterator('capability'):
+ for tcap in root_em.iter('capability'):
capability = get_capability_form_node(tcap)
capabilities = dict(capabilities, **capability)
result_em = result_tree.getroot()
dubug_file = os.path.basename(set_result_xml)
dubug_file = os.path.splitext(dubug_file)[0] + '.dlog'
- for result_suite in result_em.getiterator('suite'):
- for result_set in result_suite.getiterator('set'):
- for test_suite in test_em.getiterator('suite'):
- for test_set in test_suite.getiterator('set'):
+ for result_suite in result_em.iter('suite'):
+ for result_set in result_suite.iter('set'):
+ for test_suite in test_em.iter('suite'):
+ for test_set in test_suite.iter('set'):
if result_set.get('name') == \
test_set.get('name'):
result_set.set("set_debug_msg", dubug_file)
if tcap.get("type").lower() == 'integer':
if tcap.get("support").lower() == 'true':
- if tcap.getiterator(
+ if tcap.iter(
"value") and tcap.find("value").text is not None:
capability[tmp_key] = int(tcap.find("value").text)
if tcap.get("type").lower() == 'string':
if tcap.get("support").lower() == 'true':
- if tcap.getiterator(
+ if tcap.iter(
"value") and tcap.find("value").text is not None:
capability[tmp_key] = tcap.find("value").text
VERSION file must put in /opt/testkit/lite_native/
"""
try:
- config = ConfigParser.ConfigParser()
+ config = configparser.ConfigParser()
if platform.system() == "Linux":
config.read('/opt/testkit/lite_native/VERSION')
else:
root_em = parse_tree.getroot()
dubug_file = os.path.basename(set_result_xml)
dubug_file = os.path.splitext(dubug_file)[0] + '.dlog'
- for tset in root_em.getiterator('set'):
+ for tset in root_em.iter('set'):
tset.set("set_debug_msg", dubug_file)
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.iter('testcase'):
for case_result in case_results:
if tcase.get("id") == case_result['case_id']:
tcase.set('result', case_result['result'].upper())
# Check performance test
if tcase.find('measurement') is not None:
- for measurement in tcase.getiterator(
+ for measurement in tcase.iter(
'measurement'):
if 'measures' in case_result:
m_results = case_result['measures']
import time
import threading
import uuid
-import ConfigParser
+import configparser
from datetime import datetime
from commodule.log import LOGGER
from commodule.httprequest import get_url, http_request
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_24 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_24')
tmpname = os.path.expanduser("~") + os.sep + "mea_tmp"
if conn.download_file(fname, tmpname):
try:
- config = ConfigParser.ConfigParser()
+ config = configparser.ConfigParser()
config.read(tmpname)
item['value'] = config.get(ind, 'value')
retmeasures.append(item)
test_case["result"] = "N/A"
else:
while True:
- test_result = raw_input(
+ test_result = input(
'[ please input case result ]'
' (p^PASS, f^FAIL, b^BLOCK, n^Next, d^Done):')
if test_result.lower() == 'p':
# Zhang, Huihui <huihuix.zhang@intel.com>
# Wendong,Sui <weidongx.sun@intel.com>
-testkitxsddir = /opt/testkit/lite_native/xsd
+testkitxsddir = /opt/testkit/lite2.4/xsd
dist_testkitxsd_DATA = *.js *.xsl *.css *.png *.txt *.xml *.xsd release-notes
-= XSLT style for Test Case and Test Result =
-
-== Files structure ==
-
- readme.txt
- test_definition.xsd //The schema of test definition
- tests.css // CSS style for showing test cases and results
- testresult.xsl
- testcase.xsl
- tests.xml //example of test cases
- result.xml //example of test result
-
-
- == Applying the style ==
-
- === Update in definition and result XML ===
-
- For applying this style for the definition XML of test cases, please add below statement before the root element of XML (the tag "test_definition").
-
- <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-
- as below:
-
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
-
-For applying this style for the test-result XML, please add below statement before the root element of XML (the tag "test_definition").
-<?xml-stylesheet type="text/xsl" href="./testresult.xsl"?>
-
-as below:
-
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testresult.xsl"?>
-<test_definition>
-
-=== Deploy XSLT and CSS style ===
-
-For our test package, below 3 files should be added in each test package.
-
- tests.css
- testresult.xsl
- testcase.xsl
-
-For instance, add them under the test package "webapi-tizen-alarm-tests".
- ©¸©¤webapi-tizen-alarm-tests
- ©¸©¤...
- ©¸©¤...
- ©¸tests.css
- ©¸testresult.xsl
- ©¸testcase.xsl
- ©¸tests.xml
- ©¸...
+= XSLT style for Test Case and Test Result =\r
+\r
+== Files structure ==\r
+\r
+ readme.txt\r
+ test_definition.xsd //The schema of test definition\r
+ tests.css // CSS style for showing test cases and results\r
+ testresult.xsl\r
+ testcase.xsl\r
+ tests.xml //example of test cases\r
+ result.xml //example of test result\r
+ \r
+ \r
+ == Applying the style ==\r
+ \r
+ === Update in definition and result XML ===\r
+ \r
+ For applying this style for the definition XML of test cases, please add below statement before the root element of XML (the tag "test_definition").\r
+ \r
+ <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+ \r
+ as below: \r
+ \r
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+<test_definition>\r
+\r
+For applying this style for the test-result XML, please add below statement before the root element of XML (the tag "test_definition").\r
+<?xml-stylesheet type="text/xsl" href="./testresult.xsl"?>\r
+\r
+as below:\r
+\r
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testresult.xsl"?>\r
+<test_definition>\r
+\r
+=== Deploy XSLT and CSS style ===\r
+\r
+For our test package, below 3 files should be added in each test package. \r
+\r
+ tests.css \r
+ testresult.xsl\r
+ testcase.xsl\r
+ \r
+For instance, add them under the test package "webapi-tizen-alarm-tests".\r
+ ©¸©¤webapi-tizen-alarm-tests\r
+ ©¸©¤...\r
+ ©¸©¤...\r
+ ©¸tests.css \r
+ ©¸testresult.xsl\r
+ ©¸testcase.xsl\r
+ ©¸tests.xml\r
+ ©¸...\r
-<?xml version="1.0" encoding="UTF-8"?>
-<test_definition name="http://tempuri.org" type=""
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="test_definition.xsd">
- <environment device_id="generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys"
- device_model="unknown" device_name="MR8" firmware_version="4.0.4"
- host="zhongqing-dev.sh.intel.com (Linux - 2.6.38.6-26.rc1.fc15.i686)"
- os_version="4.0.4" resolution="1280*800" screen_size="250*150" cts_version="2.3.0-3">
- <other> Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~
- Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~
- Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~
- </other>
- </environment>
- <summary test_plan_name="tmp_test_1">
- <start_at>Fri Jul 13 04:04:59 CST 2012</start_at>
- <end_at>Fri Jul 13 05:01:53 CST 2012</end_at>
- </summary>
- <suite name="webapi-tizen-alarm-tests" type="">
- <set name="Alarm1">
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_constructor_delay" priority="P1"
- purpose="check AlarmRelative attribute when create with delay"
- status="approved" type="compliance" result="PASS">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative create constructor with delay
- </step_desc>
- <expected>AlarmRelative create succeed with constructor with
- delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>PASS</actual_result>
- <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_get" priority="P1"
- purpose="check AlarmManager method removeAll: without input attribute"
- status="approved" type="compliance" result="BLOCK">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method get: default check
- </step_desc>
- <expected>AlarmManager method get: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>BLOCK</actual_result>
- <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>N/R</actual_result>
- <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_rel" priority="P1"
- purpose="check AlarmManager method add: add relative alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add relative alarm
- </step_desc>
- <expected>AlarmManager method add: add relative alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_getAll" priority="P1"
- purpose="check AlarmManager method getAll: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method getAll: default check
- </step_desc>
- <expected>AlarmManager method getAll: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_getAll.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_03" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="Blocked">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=3
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_getNextScheduledDate_date" priority="P1"
- purpose="check AlarmAbsolute method getNextScheduledDate when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute method getNextScheduledDate when
- create with date
- </step_desc>
- <expected>AlarmAbsolute method getNextScheduledDate return
- correct value when create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_getNextScheduledDate_date.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_constructor_date" priority="P1"
- purpose="check AlarmAbsolute create constructor with date" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute create constructor with date
- </step_desc>
- <expected>AlarmAbsolute create succeed with constructor with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_constructor_date.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_getRemainingSeconds_delay" priority="P1"
- purpose="check AlarmRelative method getNextScheduleddelay when create with delay"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative method getNextScheduleddelay when
- create with delay
- </step_desc>
- <expected>AlarmRelative method getNextScheduleddelay return
- correct value when create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_getRemainingSeconds_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_abs" priority="P1"
- purpose="check AlarmManager method add: add absolute alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add absolute alarm
- </step_desc>
- <expected>AlarmManager method add: add absolute alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_abs.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_removeAll" priority="P1"
- purpose="check AlarmManager method removeAll: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method removeAll: default check
- </step_desc>
- <expected>AlarmManager method removeAll: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_removeAll.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_remove" priority="P1"
- purpose="check AlarmManager method remove: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method remove: default check
- </step_desc>
- <expected>AlarmManager method remove: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_remove.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManagerObject_exist" priority="P1"
- purpose="check AlarmManagerObject existance" status="approved" type="compliance"
- result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManagerObject exist</step_desc>
- <expected>AlarmManagerObject exist</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManagerObject_exist.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_01" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_MINUTE" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_02" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_HOUR" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_03" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_DAY" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=3
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_04" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_WEEK" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=4
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:46 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- </set>
- <set name="Alarm">
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_constructor_delay" priority="P1"
- purpose="check AlarmRelative attribute when create with delay"
- status="approved" type="compliance" result="PASS">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative create constructor with delay
- </step_desc>
- <expected>AlarmRelative create succeed with constructor with
- delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>PASS</actual_result>
- <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_get" priority="P1"
- purpose="check AlarmManager method removeAll: without input attribute"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method get: default check
- </step_desc>
- <expected>AlarmManager method get: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_rel" priority="P1"
- purpose="check AlarmManager method add: add relative alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add relative alarm
- </step_desc>
- <expected>AlarmManager method add: add relative alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- </set>
- </suite>
- <suite name="webapi-tizen-alarm-tests1" type="">
- <set name="Alarm4">
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_constructor_delay" priority="P1"
- purpose="check AlarmRelative attribute when create with delay"
- status="approved" type="compliance" result="PASS">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative create constructor with delay
- </step_desc>
- <expected>AlarmRelative create succeed with constructor with
- delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>PASS</actual_result>
- <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_get" priority="P1"
- purpose="check AlarmManager method removeAll: without input attribute"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method get: default check
- </step_desc>
- <expected>AlarmManager method get: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_rel" priority="P1"
- purpose="check AlarmManager method add: add relative alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add relative alarm
- </step_desc>
- <expected>AlarmManager method add: add relative alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_getAll" priority="P1"
- purpose="check AlarmManager method getAll: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method getAll: default check
- </step_desc>
- <expected>AlarmManager method getAll: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_getAll.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_03" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=3
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_getNextScheduledDate_date" priority="P1"
- purpose="check AlarmAbsolute method getNextScheduledDate when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute method getNextScheduledDate when
- create with date
- </step_desc>
- <expected>AlarmAbsolute method getNextScheduledDate return
- correct value when create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_getNextScheduledDate_date.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_constructor_date" priority="P1"
- purpose="check AlarmAbsolute create constructor with date" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute create constructor with date
- </step_desc>
- <expected>AlarmAbsolute create succeed with constructor with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_constructor_date.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_getRemainingSeconds_delay" priority="P1"
- purpose="check AlarmRelative method getNextScheduleddelay when create with delay"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative method getNextScheduleddelay when
- create with delay
- </step_desc>
- <expected>AlarmRelative method getNextScheduleddelay return
- correct value when create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_getRemainingSeconds_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_abs" priority="P1"
- purpose="check AlarmManager method add: add absolute alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add absolute alarm
- </step_desc>
- <expected>AlarmManager method add: add absolute alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_abs.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_removeAll" priority="P1"
- purpose="check AlarmManager method removeAll: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method removeAll: default check
- </step_desc>
- <expected>AlarmManager method removeAll: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_removeAll.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_remove" priority="P1"
- purpose="check AlarmManager method remove: default check" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method remove: default check
- </step_desc>
- <expected>AlarmManager method remove: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_remove.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManagerObject_exist" priority="P1"
- purpose="check AlarmManagerObject existance" status="approved" type="compliance"
- result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManagerObject exist</step_desc>
- <expected>AlarmManagerObject exist</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManagerObject_exist.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_01" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_MINUTE" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_02" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_HOUR" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_03" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_DAY" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=3
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_const_check_04" priority="P1"
- purpose="Check AlarmManager constants:PERIOD_WEEK" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Check AlarmManager constants:</step_desc>
- <expected>AlarmManager constants value is correct:</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=4
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:46:46 GMT+0900 (KST)</end>
- <stdout>Can't find variable: tizen</stdout>
- </result_info>
- </testcase>
- </set>
- <set name="Alarm3">
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_constructor_delay" priority="P1"
- purpose="check AlarmRelative attribute when create with delay"
- status="approved" type="compliance" result="PASS">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative create constructor with delay
- </step_desc>
- <expected>AlarmRelative create succeed with constructor with
- delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>PASS</actual_result>
- <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_get" priority="P1"
- purpose="check AlarmManager method removeAll: without input attribute"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method get: default check
- </step_desc>
- <expected>AlarmManager method get: default check succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"
- purpose="check AlarmAbsolute attribute when create with date"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmAbsolute attribute when create with date
- </step_desc>
- <expected>AlarmAbsolute attribute return correct value when
- create with date
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmManager_add_rel" priority="P1"
- purpose="check AlarmManager method add: add relative alarm" status="approved"
- type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmManager method add: add relative alarm
- </step_desc>
- <expected>AlarmManager method add: add relative alarm succeed
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>
- <stdout>Test time out</stdout>
- </result_info>
- </testcase>
- <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"
- id="Alarm_AlarmRelative_attri_delay_02" priority="P1"
- purpose="check AlarmAbsolute attribute when create with period"
- status="approved" type="compliance" result="FAIL">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>check AlarmRelative attribute when create with delay
- </step_desc>
- <expected>AlarmRelative attribute return correct value when
- create succeed with with delay
- </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2
- </test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- <result_info>
- <actual_result>FAIL</actual_result>
- <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>
- <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>
- <stdout />
- </result_info>
- </testcase>
- </set>
- </suite>
-</test_definition>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<test_definition name="http://tempuri.org" type=""\r
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:noNamespaceSchemaLocation="test_definition.xsd">\r
+ <environment device_id="generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys"\r
+ device_model="unknown" device_name="MR8" firmware_version="4.0.4"\r
+ host="zhongqing-dev.sh.intel.com (Linux - 2.6.38.6-26.rc1.fc15.i686)"\r
+ os_version="4.0.4" resolution="1280*800" screen_size="250*150" cts_version="2.3.0-3">\r
+ <other> Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~\r
+ Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~\r
+ Here is a Long String for testing ~~~~~~~~~~~~~~~~~~~\r
+ </other>\r
+ </environment>\r
+ <summary test_plan_name="tmp_test_1">\r
+ <start_at>Fri Jul 13 04:04:59 CST 2012</start_at>\r
+ <end_at>Fri Jul 13 05:01:53 CST 2012</end_at>\r
+ </summary>\r
+ <suite name="webapi-tizen-alarm-tests" type="">\r
+ <set name="Alarm1">\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_constructor_delay" priority="P1"\r
+ purpose="check AlarmRelative attribute when create with delay"\r
+ status="approved" type="compliance" result="PASS">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative create constructor with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative create succeed with constructor with\r
+ delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>PASS</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_get" priority="P1"\r
+ purpose="check AlarmManager method removeAll: without input attribute"\r
+ status="approved" type="compliance" result="BLOCK">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method get: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method get: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>BLOCK</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>N/R</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_rel" priority="P1"\r
+ purpose="check AlarmManager method add: add relative alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add relative alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add relative alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_getAll" priority="P1"\r
+ purpose="check AlarmManager method getAll: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method getAll: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method getAll: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_getAll.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_03" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="Blocked">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=3\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_getNextScheduledDate_date" priority="P1"\r
+ purpose="check AlarmAbsolute method getNextScheduledDate when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute method getNextScheduledDate when\r
+ create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute method getNextScheduledDate return\r
+ correct value when create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_getNextScheduledDate_date.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_constructor_date" priority="P1"\r
+ purpose="check AlarmAbsolute create constructor with date" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute create constructor with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute create succeed with constructor with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_constructor_date.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_getRemainingSeconds_delay" priority="P1"\r
+ purpose="check AlarmRelative method getNextScheduleddelay when create with delay"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative method getNextScheduleddelay when\r
+ create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative method getNextScheduleddelay return\r
+ correct value when create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_getRemainingSeconds_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_abs" priority="P1"\r
+ purpose="check AlarmManager method add: add absolute alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add absolute alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add absolute alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_abs.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_removeAll" priority="P1"\r
+ purpose="check AlarmManager method removeAll: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method removeAll: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method removeAll: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_removeAll.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_remove" priority="P1"\r
+ purpose="check AlarmManager method remove: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method remove: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method remove: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_remove.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManagerObject_exist" priority="P1"\r
+ purpose="check AlarmManagerObject existance" status="approved" type="compliance"\r
+ result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManagerObject exist</step_desc>\r
+ <expected>AlarmManagerObject exist</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManagerObject_exist.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_01" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_MINUTE" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_02" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_HOUR" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_03" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_DAY" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=3\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_04" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_WEEK" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=4\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:46 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ </set>\r
+ <set name="Alarm">\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_constructor_delay" priority="P1"\r
+ purpose="check AlarmRelative attribute when create with delay"\r
+ status="approved" type="compliance" result="PASS">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative create constructor with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative create succeed with constructor with\r
+ delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>PASS</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_get" priority="P1"\r
+ purpose="check AlarmManager method removeAll: without input attribute"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method get: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method get: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_rel" priority="P1"\r
+ purpose="check AlarmManager method add: add relative alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add relative alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add relative alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
+ <suite name="webapi-tizen-alarm-tests1" type="">\r
+ <set name="Alarm4">\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_constructor_delay" priority="P1"\r
+ purpose="check AlarmRelative attribute when create with delay"\r
+ status="approved" type="compliance" result="PASS">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative create constructor with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative create succeed with constructor with\r
+ delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>PASS</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_get" priority="P1"\r
+ purpose="check AlarmManager method removeAll: without input attribute"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method get: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method get: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_rel" priority="P1"\r
+ purpose="check AlarmManager method add: add relative alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add relative alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add relative alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_getAll" priority="P1"\r
+ purpose="check AlarmManager method getAll: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method getAll: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method getAll: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_getAll.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_03" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=3\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:39 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_getNextScheduledDate_date" priority="P1"\r
+ purpose="check AlarmAbsolute method getNextScheduledDate when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute method getNextScheduledDate when\r
+ create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute method getNextScheduledDate return\r
+ correct value when create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_getNextScheduledDate_date.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:41 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_constructor_date" priority="P1"\r
+ purpose="check AlarmAbsolute create constructor with date" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute create constructor with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute create succeed with constructor with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_constructor_date.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:57 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_getRemainingSeconds_delay" priority="P1"\r
+ purpose="check AlarmRelative method getNextScheduleddelay when create with delay"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative method getNextScheduleddelay when\r
+ create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative method getNextScheduleddelay return\r
+ correct value when create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_getRemainingSeconds_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:13 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:30 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_abs" priority="P1"\r
+ purpose="check AlarmManager method add: add absolute alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add absolute alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add absolute alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_abs.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:32 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:48 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_removeAll" priority="P1"\r
+ purpose="check AlarmManager method removeAll: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method removeAll: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method removeAll: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_removeAll.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:45:50 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_remove" priority="P1"\r
+ purpose="check AlarmManager method remove: default check" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method remove: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method remove: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_remove.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:06 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManagerObject_exist" priority="P1"\r
+ purpose="check AlarmManagerObject existance" status="approved" type="compliance"\r
+ result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManagerObject exist</step_desc>\r
+ <expected>AlarmManagerObject exist</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManagerObject_exist.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:22 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_01" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_MINUTE" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:38 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_02" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_HOUR" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:40 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_03" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_DAY" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=3\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:42 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_const_check_04" priority="P1"\r
+ purpose="Check AlarmManager constants:PERIOD_WEEK" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Check AlarmManager constants:</step_desc>\r
+ <expected>AlarmManager constants value is correct:</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_const_check.htm?total_num=4&locator_key=id&value=4\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:46:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:46:46 GMT+0900 (KST)</end>\r
+ <stdout>Can't find variable: tizen</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ </set>\r
+ <set name="Alarm3">\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_constructor_delay" priority="P1"\r
+ purpose="check AlarmRelative attribute when create with delay"\r
+ status="approved" type="compliance" result="PASS">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative create constructor with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative create succeed with constructor with\r
+ delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_constructor_delay.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>PASS</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:44 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_get" priority="P1"\r
+ purpose="check AlarmManager method removeAll: without input attribute"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method get: default check\r
+ </step_desc>\r
+ <expected>AlarmManager method get: default check succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_get.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:43:46 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmAbsolute_attri_date_01" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with date"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmAbsolute attribute when create with date\r
+ </step_desc>\r
+ <expected>AlarmAbsolute attribute return correct value when\r
+ create with date\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmAbsolute_attri_date.htm?total_num=3&locator_key=id&value=1\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:02 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmManager_add_rel" priority="P1"\r
+ purpose="check AlarmManager method add: add relative alarm" status="approved"\r
+ type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmManager method add: add relative alarm\r
+ </step_desc>\r
+ <expected>AlarmManager method add: add relative alarm succeed\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmManager_add_rel.htm\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:05 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</end>\r
+ <stdout>Test time out</stdout>\r
+ </result_info>\r
+ </testcase>\r
+ <testcase component="WebAPI/Tizen/Alarm" execution_type="auto"\r
+ id="Alarm_AlarmRelative_attri_delay_02" priority="P1"\r
+ purpose="check AlarmAbsolute attribute when create with period"\r
+ status="approved" type="compliance" result="FAIL">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>check AlarmRelative attribute when create with delay\r
+ </step_desc>\r
+ <expected>AlarmRelative attribute return correct value when\r
+ create succeed with with delay\r
+ </expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry test_script_expected_result="0">/opt/webapi-tizen-alarm-tests/Alarm/Alarm_AlarmRelative_attri_delay.htm?total_num=2&locator_key=id&value=2\r
+ </test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ <result_info>\r
+ <actual_result>FAIL</actual_result>\r
+ <start>Sat Jan 01 2000 13:44:21 GMT+0900 (KST)</start>\r
+ <end>Sat Jan 01 2000 13:44:23 GMT+0900 (KST)</end>\r
+ <stdout />\r
+ </result_info>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
+</test_definition>\r
-@charset "UTF-8";
-/* CSS Document */
-#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
- {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 0.96em;
- font-family: arial;
- vertical-align: baseline;
-}
-
-#testcasepage p {
- text-align: left;
-}
-
-#suite_title {
- text-align: left;
-}
-
-#btc {
- text-align: right;
-}
-
-#testcasepage table {
- border-collapse: separate;
- border-spacing: 0;
- margin-bottom: 1.4em;
- vertical-align: middle;
-}
-
-#testcasepage th,#testcasepage td {
- text-align: left;
- font-weight: normal;
- padding: 4px 10px 4px 5px;
- vertical-align: middle;
-}
-
-#cases table {
- width: 101%;
-}
-
-#fail_cases table {
- width: 101%;
-}
-
-#title table {
- width: 101%;
-}
-
-#device table {
- width: 50%;
-}
-
-#summary table {
- width: 50%;
-}
-
-#testcasepage th {
- border-bottom: 1px solid #000;
- background-color: #AAAAAA;
- border-left: 1px solid #000;
- border-top: 1px solid #000;
- color: #000;
- font-weight: bold;
- vertical-align: bottom;
-}
-
-#testcasepage th:last-child,#testcasepage td:last-child {
- border-right: 1px solid #000;
-}
-
-#testcasepage td {
- border-left: 1px solid;
- font-weight: normal;
- border-bottom: 1px solid;
-}
-
-#testcasepage td.yellow_rate {
- background-color: #ffcc00;
-}
-
-#testcasepage td.green_rate {
- background-color: #33cc33;
-}
-
-#testcasepage td.dgreen_rate {
- background-color: #339933;
-}
-
-#testcasepage td.red_rate {
- background-color: #FF3333;
-}
-
-#title table,#title tr,#title td {
- border-left: none;
- border-bottom: none;
- text-align: center;
-}
-
-#title td:last-child {
- border-right: none;
-}
-
-#testcasepage h1 {
- font-size: 2em;
- font-family: Arial, sans-serif;
- font-weight: bold;
- line-height: 1;
- color: #000;
- margin-bottom: 0.75em;
- padding-top: 0.25em;
- font-weight: bold;
-}
-
-#goTopBtn {
- right: 0px;
- bottom: 0px;
- position: fixed; +position: absolute;
- top: expression(parseInt(document.body.scrollTop)+document.body.clientHeight-40);
+@charset "UTF-8";\r
+/* CSS Document */\r
+#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td\r
+ {\r
+ margin: 0;\r
+ padding: 0;\r
+ border: 0;\r
+ font-weight: inherit;\r
+ font-style: inherit;\r
+ font-size: 0.96em;\r
+ font-family: arial;\r
+ vertical-align: baseline;\r
+}\r
+\r
+#testcasepage p {\r
+ text-align: left;\r
+}\r
+\r
+#suite_title {\r
+ text-align: left;\r
+}\r
+\r
+#btc {\r
+ text-align: right;\r
+}\r
+\r
+#testcasepage table {\r
+ border-collapse: separate;\r
+ border-spacing: 0;\r
+ margin-bottom: 1.4em;\r
+ vertical-align: middle;\r
+}\r
+\r
+#testcasepage th,#testcasepage td {\r
+ text-align: left;\r
+ font-weight: normal;\r
+ padding: 4px 10px 4px 5px;\r
+ vertical-align: middle;\r
+}\r
+\r
+#cases table {\r
+ width: 101%;\r
+}\r
+\r
+#fail_cases table {\r
+ width: 101%;\r
+}\r
+\r
+#title table {\r
+ width: 101%;\r
+}\r
+\r
+#device table {\r
+ width: 50%;\r
+}\r
+\r
+#summary table {\r
+ width: 50%;\r
+}\r
+\r
+#testcasepage th {\r
+ border-bottom: 1px solid #000;\r
+ background-color: #AAAAAA;\r
+ border-left: 1px solid #000;\r
+ border-top: 1px solid #000;\r
+ color: #000;\r
+ font-weight: bold;\r
+ vertical-align: bottom;\r
+}\r
+\r
+#testcasepage th:last-child,#testcasepage td:last-child {\r
+ border-right: 1px solid #000;\r
+}\r
+\r
+#testcasepage td {\r
+ border-left: 1px solid;\r
+ font-weight: normal;\r
+ border-bottom: 1px solid;\r
+}\r
+\r
+#testcasepage td.yellow_rate {\r
+ background-color: #ffcc00;\r
+}\r
+\r
+#testcasepage td.green_rate {\r
+ background-color: #33cc33;\r
+}\r
+\r
+#testcasepage td.dgreen_rate {\r
+ background-color: #339933;\r
+}\r
+\r
+#testcasepage td.red_rate {\r
+ background-color: #FF3333;\r
+}\r
+\r
+#title table,#title tr,#title td {\r
+ border-left: none;\r
+ border-bottom: none;\r
+ text-align: center;\r
+}\r
+\r
+#title td:last-child {\r
+ border-right: none;\r
+}\r
+\r
+#testcasepage h1 {\r
+ font-size: 2em;\r
+ font-family: Arial, sans-serif;\r
+ font-weight: bold;\r
+ line-height: 1;\r
+ color: #000;\r
+ margin-bottom: 0.75em;\r
+ padding-top: 0.25em;\r
+ font-weight: bold;\r
+}\r
+\r
+#goTopBtn {\r
+ right: 0px;\r
+ bottom: 0px;\r
+ position: fixed; +position: absolute;\r
+ top: expression(parseInt(document.body.scrollTop)+document.body.clientHeight-40);\r
}
\ No newline at end of file
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="testcase.xsl"?>
-<test_definition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="test_definition.xsd">
- <suite name="webapi-w3c-widget-tests">
- <set name="WidgetPackaging">
- <testcase
- purpose="Tests the user agent's ability to process files with no file extension. "
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="auto" priority="P3" id="dm">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dm</step_desc>
- <expected>
- To pass, the user agent start file of the widget must be index.htm</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dm</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Tizen" specification="Tizen Packaging and XML Configuration"
- interface="Tizen" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests the user agent's ability to process files with a file extension other than .wgt."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dn">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dn.test</step_desc>
- <expected>
- To pass, the user agent start file of the widget must be index.htm</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dn.test</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" usage="true" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the ability of the UA to verify a zip archive."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="do">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/split.wgt.001</step_desc>
- <expected>
- To pass, the user agent must treat this as an invalid widget (archive is spanned).</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/split.wgt.001</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the user agent's ability to get a widget over HTTP and respect the application/widget mimetype. The server from which this test is served from has been set up to label the 'test' resource as an 'application/widget'."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="z3">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z3</step_desc>
- <expected>
- To pass, a user agent must correctly process this resource as a widget because of the 'application/widget' mimetype (i.e., not only because of sniffing).</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z3</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the user agent's ability to get a widget over HTTP and respect the 'application/widget' mimetype. The server from which this test is served from has been set up to label the 'test.html' resource as an 'application/widget'."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="z4">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z4.html</step_desc>
- <expected>
- To pass, a user agent must correctly process this resource as a widget because of the 'application/widget' mimetype (i.e., not only via sniffing).</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z4.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that an empty defaultlocale attribute is ignored (and does not cause the widget to be treated as invalid)."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocignore00">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocignore00.wgt</step_desc>
- <expected>
- To pass, the widget must simply run..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocignore00.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the user agent applies rule for getting a single attribute value to the defaultlocale attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocignore01">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-001.wgt</step_desc>
- <expected> To pass, the name of the widget must be the value PASS..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-001.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the user agent matches obscure, yet valid, language tags."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocignore02">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-002.wgt</step_desc>
- <expected> To pass, the widgets description must be the value PASS..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-002.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that a language tag already part of the UA's locales list is ignored when it is repeated for defaultlocale attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocignore03">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-003.wgt</step_desc>
- <expected>
- To pass, the specified value should not be added twice to the locales list of the UA..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-003.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the default locale is added to the end of the user agent's locale list
- (and does not override the default language, which is assumed to be 'en')."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocignore04">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-004.wgt</step_desc>
- <expected>
- To pass, the name of the widget must be PASS..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-004.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the value of defaultlocale is also used to in folder-based localization."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocuse00">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-000.wgt</step_desc>
- <expected>
- To pass, the index.html of the folder 'locales/esx-al/' should be loaded and say PASS..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-000.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the value of defaultlocale works in conjunction to xml:lang on the widget element."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="dlocuse01">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocuse01.wgt</step_desc>
- <expected>
- To pass, the name of the widget must be PASS..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocuse01.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the UA rejects configuration documents that don't have
- correct widget element at the root."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="aa">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aa.wgt</step_desc>
- <expected> To pass, the UA must treat this as an
- invalid widget (the root element is not widget)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aa.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the UA rejects configuration documents that don't have correct
- widget element at the root."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ab">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ab.wgt</step_desc>
- <expected> To pass, the UA must treat this as an invalid widget (the namespace is wrong)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ab.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the UA rejects configuration documents that don't have correct widget
- element at the root."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ac">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ac.wgt</step_desc>
- <expected>To pass, the UA must treat this as an invalid widget (the namespace is missing)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ac.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly processes a author element."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="af">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/af.wgt</step_desc>
- <expected>
- To pass, the author name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/af.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ag">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ag.wgt</step_desc>
- <expected>
- To pass, the widget author must be the string "P A S S" (i.e., white space collapsed to single space)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ag.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ah">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ah.wgt</step_desc>
- <expected>
- To pass, the author name must be the string "PASS" (i.e., all white space collapsed to single space, spaces at start/end trimmed)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ah.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ai">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ai.wgt</step_desc>
- <expected>
- To pass, the author email must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ai.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value and the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="aj">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aj.wgt</step_desc>
- <expected>
- To pass, the author name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aj.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value and the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ak">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ak.wgt</step_desc>
- <expected>
- To pass, the author name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ak.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the ability of the user agent to handle an empty author element."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="al">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/al.wgt</step_desc>
- <expected>
- To pass, the author name must be an empty string..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/al.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the ability of the user agent to correctly process the author href attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="am">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/am.wgt</step_desc>
- <expected>
- To pass, the value of author href must be "PASS:PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/am.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the ability of the user agent to correctly process the author href attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="an">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/an.wgt</step_desc>
- <expected>
- To pass, the value of author href must be ignored..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/an.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly processes a name element."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ao">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ao.wgt</step_desc>
- <expected>
- To pass, the widget name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ao.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ap">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ap.wgt</step_desc>
- <expected>
- To pass, the widget name must be the string "P A S S" (i.e., white space collapsed to single space)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ap.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="aq">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aq.wgt</step_desc>
- <expected>
- To pass, the widget name must be the string "PASS" (i.e., all white space collapsed to single space, spaces at front/back trimmed)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aq.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ar">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ar.wgt</step_desc>
- <expected>
- To pass, the widget short name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ar.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value and
- the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="as">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/as.wgt</step_desc>
- <expected>
- To pass, the widget short name must be the string "PASS" and the widget name must be "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/as.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly applies the rule for getting a single attribute value and
- the Rule for Getting Text Content with Normalized White Space."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="at">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/at.wgt</step_desc>
- <expected>
- To pass, the widget short name must be the string "PASS" and the widget name must be "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/at.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly processes the short attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="au">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/au.wgt</step_desc>
- <expected>
- To pass, the widget short name must be an empty string..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/au.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the ability of the user agent to handle an empty name element."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="av">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/av.wgt</step_desc>
- <expected>
- To pass, the widget name must be an empty string..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/av.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that a user agent correctly processes a name element with xml:lang attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="oa">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/oa.wgt</step_desc>
- <expected>
- To pass, the widget name must be the string "PASS"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/oa.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the user agent does not attempt to load a default start file when a custom start file has been declared."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="aw">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aw.wgt</step_desc>
- <expected>
- To pass, the widget start file must point to "pass.html" and the icons list must contain a pointer to "icon.png" at the root of the widget..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aw.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ax">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ax.wgt</step_desc>
- <expected>
- To pass, the widget height must be either the numeric value 123 or a value greater than 0..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ax.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ay">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ay.wgt</step_desc>
- <expected>
- To pass, the user agent must ignore the value of the height attribute (the value is composed of characters)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ay.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="az">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/az.wgt</step_desc>
- <expected>
- To pass, the widget height must be the numeric value 100 or a value greater than 0 (resulting from rule for parsing a non-negative integer)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/az.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a1">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a1.wgt</step_desc>
- <expected>
- To pass, the widget height must be the numeric value 123 or a value greater than 0 (resulting from rule for parsing a non-negative integer)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a1.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a2">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a2.wgt</step_desc>
- <expected>
- To pass, the widget height must be ignored (the value is an empty string, hence it would be ignored)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a2.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a3">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a3.wgt</step_desc>
- <expected>
- To pass, the widget height must be ignored (the value is a sequence of space characters, hence it would be ignored)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a3.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test the UA's ability process the height attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a4">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a4.wgt</step_desc>
- <expected>
- To pass, the widget height must be ignored (the value is an empty string)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a4.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA skips preference elements without a name attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a5">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a5.wgt</step_desc>
- <expected>
- To pass, widget preferences must remain an empty list (i.e., the preference is skipped)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a5.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA skips preference element already defined."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a6">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a6.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a6.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA does a case sensitive comparison on the value of the readonly attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a7">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a7.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a7.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA does a case sensitive comparison on the value of the readonly attribute."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a8">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a8.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "true"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a8.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA sets the readonly attribute to false by default."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="a9">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a9.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a9.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test that the UA skips multiple preference element already defined."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="ba">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ba.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "a" and whose value is "a" and whose readonly attr value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ba.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test the UA's ability store preferences whose name vary only in case."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="bb">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bb.wgt</step_desc>
- <expected>
- To pass, widget preference must contain two preferences: 1 must have a name "a" and whose value is "a" and whose readonly attr value must be "false". 2 must have a name "A" and whose value is "b" and whose readonly attribute value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bb.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Tests that the UA applies the rule for getting a single attribute value to name, value, and readonly attributes."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="bc">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bc.wgt</step_desc>
- <expected>
- To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bc.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test to make sure that the UA only checks the root of the widget for config files, and not in an arbitrary folder."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="bg">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bg.wgt</step_desc>
- <expected>
- To pass, the user agent must treat this widget as an invalid widget (config file is not at the root)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bg.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase
- purpose="Test to make sure that the UA only checks the root of the widget for config files, and not in a locale folder."
- type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"
- execution_type="manual" priority="P3" id="bh">
- <description>
- <pre_condition />
- <post_condition />
- <steps>
- <step order="1">
- <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bh.wgt</step_desc>
- <expected>
- To pass, the user agent must treat this widget as an invalid widget (config file is not at the root, but in locale folder)..</expected>
- </step>
- </steps>
- <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bh.wgt</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion category="Tizen Device API Specifications"
- section="Widget" specification="Widget Packaging and XML Configuration"
- interface="Widget" element_name="constructor" element_type="method" />
- <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>
- <spec_statement>spec_statement</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- </suite>
-</test_definition>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="testcase.xsl"?>\r
+<test_definition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:noNamespaceSchemaLocation="test_definition.xsd">\r
+ <suite name="webapi-w3c-widget-tests">\r
+ <set name="WidgetPackaging">\r
+ <testcase\r
+ purpose="Tests the user agent's ability to process files with no file extension. "\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="auto" priority="P3" id="dm">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dm</step_desc>\r
+ <expected> \r
+ To pass, the user agent start file of the widget must be index.htm</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dm</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Tizen" specification="Tizen Packaging and XML Configuration"\r
+ interface="Tizen" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests the user agent's ability to process files with a file extension other than .wgt."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dn">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dn.test</step_desc>\r
+ <expected> \r
+ To pass, the user agent start file of the widget must be index.htm</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dn.test</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" usage="true" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the ability of the UA to verify a zip archive."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="do">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/split.wgt.001</step_desc>\r
+ <expected> \r
+ To pass, the user agent must treat this as an invalid widget (archive is spanned).</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/split.wgt.001</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the user agent's ability to get a widget over HTTP and respect the application/widget mimetype. The server from which this test is served from has been set up to label the 'test' resource as an 'application/widget'."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="z3">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z3</step_desc>\r
+ <expected> \r
+ To pass, a user agent must correctly process this resource as a widget because of the 'application/widget' mimetype (i.e., not only because of sniffing).</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z3</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the user agent's ability to get a widget over HTTP and respect the 'application/widget' mimetype. The server from which this test is served from has been set up to label the 'test.html' resource as an 'application/widget'."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="z4">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z4.html</step_desc>\r
+ <expected> \r
+ To pass, a user agent must correctly process this resource as a widget because of the 'application/widget' mimetype (i.e., not only via sniffing).</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/z4.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that an empty defaultlocale attribute is ignored (and does not cause the widget to be treated as invalid)."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocignore00">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocignore00.wgt</step_desc>\r
+ <expected> \r
+ To pass, the widget must simply run..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocignore00.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the user agent applies rule for getting a single attribute value to the defaultlocale attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocignore01">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-001.wgt</step_desc>\r
+ <expected> To pass, the name of the widget must be the value PASS..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-001.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the user agent matches obscure, yet valid, language tags."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocignore02">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-002.wgt</step_desc>\r
+ <expected> To pass, the widgets description must be the value PASS..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-002.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that a language tag already part of the UA's locales list is ignored when it is repeated for defaultlocale attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocignore03">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-003.wgt</step_desc>\r
+ <expected> \r
+ To pass, the specified value should not be added twice to the locales list of the UA..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-003.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the default locale is added to the end of the user agent's locale list \r
+ (and does not override the default language, which is assumed to be 'en')."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocignore04">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-004.wgt</step_desc>\r
+ <expected> \r
+ To pass, the name of the widget must be PASS..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-004.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the value of defaultlocale is also used to in folder-based localization."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocuse00">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-000.wgt</step_desc>\r
+ <expected>\r
+ To pass, the index.html of the folder 'locales/esx-al/' should be loaded and say PASS..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ta-de-000.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the value of defaultlocale works in conjunction to xml:lang on the widget element."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="dlocuse01">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocuse01.wgt</step_desc>\r
+ <expected>\r
+ To pass, the name of the widget must be PASS..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/dlocuse01.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the UA rejects configuration documents that don't have\r
+ correct widget element at the root."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="aa">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aa.wgt</step_desc>\r
+ <expected> To pass, the UA must treat this as an\r
+ invalid widget (the root element is not widget)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aa.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the UA rejects configuration documents that don't have correct\r
+ widget element at the root."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ab">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ab.wgt</step_desc>\r
+ <expected> To pass, the UA must treat this as an invalid widget (the namespace is wrong)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ab.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the UA rejects configuration documents that don't have correct widget\r
+ element at the root."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ac">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ac.wgt</step_desc>\r
+ <expected>To pass, the UA must treat this as an invalid widget (the namespace is missing)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ac.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly processes a author element."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="af">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/af.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/af.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ag">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ag.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget author must be the string "P A S S" (i.e., white space collapsed to single space)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ag.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ah">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ah.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author name must be the string "PASS" (i.e., all white space collapsed to single space, spaces at start/end trimmed)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ah.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ai">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ai.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author email must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ai.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value and the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="aj">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aj.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aj.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value and the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ak">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ak.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ak.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the ability of the user agent to handle an empty author element."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="al">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/al.wgt</step_desc>\r
+ <expected>\r
+ To pass, the author name must be an empty string..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/al.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the ability of the user agent to correctly process the author href attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="am">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/am.wgt</step_desc>\r
+ <expected>\r
+ To pass, the value of author href must be "PASS:PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/am.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the ability of the user agent to correctly process the author href attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="an">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/an.wgt</step_desc>\r
+ <expected>\r
+ To pass, the value of author href must be ignored..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/an.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly processes a name element."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ao">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ao.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ao.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ap">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ap.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget name must be the string "P A S S" (i.e., white space collapsed to single space)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ap.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="aq">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aq.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget name must be the string "PASS" (i.e., all white space collapsed to single space, spaces at front/back trimmed)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aq.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ar">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ar.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget short name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ar.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value and\r
+ the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="as">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/as.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget short name must be the string "PASS" and the widget name must be "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/as.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly applies the rule for getting a single attribute value and\r
+ the Rule for Getting Text Content with Normalized White Space."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="at">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/at.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget short name must be the string "PASS" and the widget name must be "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/at.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly processes the short attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="au">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/au.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget short name must be an empty string..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/au.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the ability of the user agent to handle an empty name element."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="av">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/av.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget name must be an empty string..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/av.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that a user agent correctly processes a name element with xml:lang attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="oa">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/oa.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget name must be the string "PASS"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/oa.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the user agent does not attempt to load a default start file when a custom start file has been declared."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="aw">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aw.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget start file must point to "pass.html" and the icons list must contain a pointer to "icon.png" at the root of the widget..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/aw.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ax">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ax.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be either the numeric value 123 or a value greater than 0..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ax.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ay">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ay.wgt</step_desc>\r
+ <expected>\r
+ To pass, the user agent must ignore the value of the height attribute (the value is composed of characters)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ay.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="az">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/az.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be the numeric value 100 or a value greater than 0 (resulting from rule for parsing a non-negative integer)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/az.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a1">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a1.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be the numeric value 123 or a value greater than 0 (resulting from rule for parsing a non-negative integer)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a1.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a2">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a2.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be ignored (the value is an empty string, hence it would be ignored)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a2.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a3">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a3.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be ignored (the value is a sequence of space characters, hence it would be ignored)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a3.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test the UA's ability process the height attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a4">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a4.wgt</step_desc>\r
+ <expected>\r
+ To pass, the widget height must be ignored (the value is an empty string)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a4.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA skips preference elements without a name attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a5">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a5.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preferences must remain an empty list (i.e., the preference is skipped)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a5.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA skips preference element already defined."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a6">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a6.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a6.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA does a case sensitive comparison on the value of the readonly attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a7">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a7.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a7.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA does a case sensitive comparison on the value of the readonly attribute."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a8">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a8.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "true"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a8.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA sets the readonly attribute to false by default."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="a9">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a9.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/a9.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test that the UA skips multiple preference element already defined."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="ba">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ba.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "a" and whose value is "a" and whose readonly attr value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/ba.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test the UA's ability store preferences whose name vary only in case."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="bb">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bb.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain two preferences: 1 must have a name "a" and whose value is "a" and whose readonly attr value must be "false". 2 must have a name "A" and whose value is "b" and whose readonly attribute value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bb.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Tests that the UA applies the rule for getting a single attribute value to name, value, and readonly attributes."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="bc">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bc.wgt</step_desc>\r
+ <expected>\r
+ To pass, widget preference must contain one preference whose name is "PASS" and whose value is "PASS" and whose readonly attr value must be "false"..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bc.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test to make sure that the UA only checks the root of the widget for config files, and not in an arbitrary folder."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="bg">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bg.wgt</step_desc>\r
+ <expected>\r
+ To pass, the user agent must treat this widget as an invalid widget (config file is not at the root)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bg.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase\r
+ purpose="Test to make sure that the UA only checks the root of the widget for config files, and not in a locale folder."\r
+ type="compliance" status="ready" component="WebAPI/W3C_Widget/WidgetPackaging"\r
+ execution_type="manual" priority="P3" id="bh">\r
+ <description>\r
+ <pre_condition />\r
+ <post_condition />\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Install /opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bh.wgt</step_desc>\r
+ <expected>\r
+ To pass, the user agent must treat this widget as an invalid widget (config file is not at the root, but in locale folder)..</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/webapi-w3c-widget-tests/WidgetPackaging/w3c/bh.wgt</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion category="Tizen Device API Specifications"\r
+ section="Widget" specification="Widget Packaging and XML Configuration"\r
+ interface="Widget" element_name="constructor" element_type="method" />\r
+ <spec_url>http://www.w3.org/TR/widgets-apis/</spec_url>\r
+ <spec_statement>spec_statement</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
+</test_definition>\r
-#!/usr/bin/python
+#!/usr/bin/env python3
#
# Copyright (C) 2012 Intel Corporation
#
import traceback
import platform
import signal
-import ConfigParser
+import configparser
import re
import xml.etree.ElementTree as etree
from optparse import OptionParser, make_option
try:
# import logger
from testkitlite.util.log import LOGGER
-except ImportError, err:
- print "[ Error: loading logging failed, error: %s ]\n" % err
- print "try to run command " \
+except ImportError as err:
+ print("[ Error: loading logging failed, error: %s ]\n" % err)
+ print("try to run command " \
"'export PYTHONPATH=/usr/local/lib/python2.7/dist-packages' or " \
- "'export PYTHONPATH=/usr/local/lib/python2.7/site-packages' to resolve module missed issue"
+ "'export PYTHONPATH=/usr/local/lib/python2.7/site-packages' to resolve module missed issue")
sys.exit(1)
# detect version option
if "--version" in sys.argv:
try:
- CONFIG = ConfigParser.ConfigParser()
+ CONFIG = configparser.ConfigParser()
if platform.system() == "Linux":
CONFIG.read('/opt/testkit/lite_web_csharp/VERSION')
else:
VERSION = CONFIG.get('public_version', 'version')
LOGGER.info("V%s" % VERSION)
sys.exit()
- except ConfigParser.Error, err:
+ except configparser.Error as err:
LOGGER.error(
"[ Error: fail to parse version info, error: %s ]\n" % err)
sys.exit(1)
# detect internal version option
if "--internal-version" in sys.argv:
try:
- CONFIG = ConfigParser.ConfigParser()
+ CONFIG = configparser.ConfigParser()
if platform.system() == "Linux":
CONFIG.read('/opt/testkit/lite_web_csharp/VERSION')
else:
VERSION_FILE = JOIN(sys.path[0], 'VERSION')
CONFIG.read(VERSION_FILE)
VERSION = CONFIG.get('internal_version', 'version')
- print VERSION
+ print(VERSION)
sys.exit()
- except ConfigParser.Error, err:
- print "[ Error: fail to parse version info, error: %s ]\n" % err
+ except configparser.Error as err:
+ print("[ Error: fail to parse version info, error: %s ]\n" % err)
sys.exit(1)
#try:
# CONFIG = ConfigParser.ConfigParser()
RUNNER.merge_resultfile(START_TIME, CURRENT_LOG_DIR)
if down_status:
clean_testxml(OPTIONS.testxml, remote_test)
- except (KeyboardInterrupt, Exception), err:
+ except (KeyboardInterrupt, Exception) as err:
pass
def sig_exit_handler(*args):
5) -e option does not support -D mode\n\
6) The test cases' order in the result files might be arbitrary,\
when running same tests.xml with same options. This is caused \
-by python's API 'getiterator' from module 'xml.etree.ElementTree'\n\
+by python's API 'iter' from module 'xml.etree.ElementTree'\n\
7) run command 'testkit-lite', \
it might not be able to locate module 'testkitlite.engines.\
default.runner', \
os.environ[k.strip()] = "app_launcher -s"
else:
os.environ[k.strip()] = v.strip()
- if cmp(k.strip(),"wd-debugip") == 0:
+ if k.strip() == "wd-debugip":
debugip = v.strip()
- if not os.environ.has_key('TIZEN_USER'):
+ if 'TIZEN_USER' not in os.environ:
try:
- CONFIG = ConfigParser.ConfigParser()
+ CONFIG = configparser.ConfigParser()
CONFIG.read('/opt/testkit/lite_web_csharp/commodule/CONFIG')
tizen = CONFIG.get('TIZEN','tizen_user')
if tizen:
# load profile for wedrvier
if targetplatform:
webdriver_vars = {}
- exec 'from testkitlite.capability.%s import initCapability' % targetplatform
+ exec('from testkitlite.capability.%s import initCapability' % targetplatform)
if targetplatform.upper().find('TIZEN') >= 0:
if not debugip:
raise ValueError("For tizen xwalk, option --debugip is needed!")
try:
if not EXISTS(TEST_PACKAGES_DIR):
os.makedirs(TEST_PACKAGES_DIR)
- except OSError, err:
+ except OSError as err:
LOGGER.error("[ Error: "
"can't create test package directory: %s, error: %s ]\n" %
(TEST_PACKAGES_DIR, err))
workername = OPTIONS.worker or 'default'
try:
- exec "from testkitlite.engines.%s import TestWorker" % workername
+ exec("from testkitlite.engines.%s import TestWorker" % workername)
except Exception as error:
raise TestEngineException(workername)
WORKER = TestWorker(CONNECTOR)
os.makedirs(CURRENT_LOG_DIR)
if os.name == "posix":
os.symlink(CURRENT_LOG_DIR, LATEST_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: create session log directory: "
"%s failed, error: %s ]\n" % (CURRENT_LOG_DIR, err))
- except OSError, err:
+ except OSError as err:
LOGGER.error("error : %s" % err)
finally:
if not EXISTS(CURRENT_LOG_DIR):
"pls check the test package ]\n")
unlock_and_exit()
no_test_definition = 1
- for tf in ep.getiterator('test_definition'):
+ for tf in ep.iter('test_definition'):
no_test_definition = 0
if no_test_definition:
suiteparent = etree.Element('test_definition')
suiteparent.tail = "\n"
- for suite in ep.getiterator('suite'):
+ for suite in ep.iter('suite'):
suite.tail = "\n"
suiteparent.append(suite)
WFILTERS['execution_type'] = exec_types
RUNNER.apply_filter(suiteparent)
# merge duplicated test set under suite node
tset_list = set()
- for suite in ep.getiterator('suite'):
- for tset in suite.getiterator('set'):
- for testcase in tset.getiterator('testcase'):
+ for suite in ep.findall('suite'):
+ for tset in suite.findall('set'):
+ for testcase in tset.findall('testcase'):
tset.remove(testcase)
if tset.get('name') in tset_list:
suite.remove(tset)
else:
tset_list.add(tset.get('name'))
try:
- with open(resultfile, 'w') as output:
+ with open(resultfile, 'wb') as output:
tree = etree.ElementTree(element=suiteparent)
tree.write(output)
- except IOError, err:
+ except IOError as err:
LOGGER.error(
"[ Error: create filtered total result file: %s failed, "
"error: %s ]\n" % (resultfile, err))
WFILTERS['execution_type'] = [e_type]
RUNNER.add_filter_rules(**WFILTERS)
RUNNER.prepare_run(t, resultdir=CURRENT_LOG_DIR)
- except IOError, err:
+ except IOError as err:
LOGGER.error("[ Error: prepare_run test xml: "
"%s from testkit-lite failed, error: %s ]\n" % (t, err))
try:
can_merge_result = True
RUNNER.run_case(CURRENT_LOG_DIR)
- except TestCaseNotFoundException, err:
+ except TestCaseNotFoundException as err:
LOGGER.info("\n[ Error: exiting testkit-lite on error: %s ]\n" % err)
unlock_and_exit()
- except Exception, err:
+ except Exception as err:
clean_testxml(TESTXMLS, remote_test)
traceback.print_exc()
LOGGER.error("[ Error: run test failed, error: %s ]\n" % err)
clean_testxml(TESTXMLS, remote_test)
LOGGER.info("[ all tasks for testkit lite are accomplished, goodbye ]")
unlock_and_exit(0)
- except Exception, err:
+ except Exception as err:
traceback.print_exc()
clean_testxml(TESTXMLS,remote_test)
LOGGER.error("[ Error: merge result failed, error: %s ]\n" % err)
unlock_and_exit()
-except (TestEngineException, KeyboardInterrupt), err:
+except (TestEngineException, KeyboardInterrupt) as err:
final_clean_test()
LOGGER.info("\n[ exiting testkit-lite on user cancel ]\n")
unlock_and_exit()
-except Exception, err:
+except Exception as err:
final_clean_test()
LOGGER.error("\n[ Error: exiting testkit-lite due to critical error: %s ]\n" % err)
traceback.print_exc()
-#!/usr/bin/python
+#!/usr/bin/env python3
#
# Copyright (C) 2014 Intel Corporation
#
argparser.add_argument('-o', '--outdir', help='output directory of final result file', required=True)
argparser.add_argument('-n', '--name', help ='name of the final result file', default='result.xml')
args = argparser.parse_args()
- print args
+ print(args)
parser = etree.XMLParser(strip_cdata=False)
sourcexmltree = None
for resultxml in args.files:
if not os.path.isfile(resultxml):
- print "Error: the file '" + resultxml + "'doesn't exist !"
+ print("Error: the file '" + resultxml + "'doesn't exist !")
exit(1)
if not resultxml.endswith('.xml'):
- print "Error: '" + resultxml + "' is not an xml file !"
+ print("Error: '" + resultxml + "' is not an xml file !")
exit(1)
for index in range(len(args.files)):
sourcexmltree = etree.parse(args.files[index], parser)
def debug_trace(cmdline, logfile):
global debug_flag, metux
- wbuffile = file(logfile, "a")
+ wbuffile = open(logfile, "w")
import subprocess
exit_code = None
proc = subprocess.Popen(args=cmdline,
HOST_NS = "127.0.0.1"
os.environ['no_proxy'] = HOST_NS
os.environ['TEST_PLATFORM'] = 'localhost'
-if not os.environ.has_key('CONNECT_TYPE'):
+if 'CONNECT_TYPE' not in os.environ:
os.environ['CONNECT_TYPE'] = 'local'
APP_QUERY_STR = "ps aux | grep %s | grep -v grep"
import time
import socket
import threading
-import ConfigParser
+import configparser
import re
import sys
from shutil import copyfile
try:
import paramiko
-except ImportError, err:
+except ImportError as err:
LOGGER.info("Failed to import 'paramiko' module, please check your installation:")
LOGGER.info(" You can use 'sudo pip install paramiko' to install the module!")
sys.exit(1)
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_30 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
#XWALK_MAIN = "xwalkctl"
#XWALK_MAIN = "open_app"
XWALK_MAIN = os.environ.get("Launcher","app_launcher -s")
-if cmp(XWALK_MAIN,'app_launcher') == 0:
+if XWALK_MAIN =='app_launcher':
XWALK_MAIN = 'app_launcher -s '
#XWALK_QUERY_STR = "ssh %s \"su - app -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket;xwalkctl' \"| grep -w %s | awk '{print $(NF-1)}'"
XWALK_QUERY_STR = "ssh %s \"su - %s -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%s/dbus/user_bus_socket;app_launcher -l' \"| grep -w %s | awk '{print $2}'"
# crosswalk constants
#XWALK_MAIN = "xwalkctl"
XWALK_MAIN = os.environ.get("Launcher","app_launcher -s")
-if cmp(XWALK_MAIN, 'app_launcher') == 0:
+if XWALK_MAIN == 'app_launcher':
XWALK_MAIN = "app_launcher -s "
#XWALK_MAIN = "open_app"
#XWALK_QUERY_STR = "ail_list | grep -w %s | awk '{print $(NF-1)}'"
def debug_trace(cmdline, logfile):
global debug_flag, metux
- wbuffile = file(logfile, "w")
+ wbuffile = open(logfile, "w")
import subprocess
exit_code = None
proc = subprocess.Popen(args=cmdline,
import threading
import re
import shutil
-import ConfigParser
+import configparser
import xml.etree.ElementTree as etree
import platform
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_30 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
#XWALK_MAIN = "xwalkctl"
#XWALK_MAIN = "open_app"
XWALK_MAIN = os.environ.get("Launcher","app_launcher -s")
-if cmp(XWALK_MAIN,'app_launcher') == 0:
+if XWALK_MAIN == 'app_launcher':
XWALK_MAIN = 'app_launcher -s '
#XWALK_QUERY_STR = "sdb -s %s shell su - app -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket;ail_list' | grep -w %s | awk '{print $(NF-1)}'"
XWALK_QUERY_STR = "sdb -s %s shell su - %s -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%s/dbus/user_bus_socket;app_launcher -l' | grep -w %s | awk '{print $2}'"
def debug_trace(cmdline, logfile):
global debug_flag, metux
- wbuffile = file(logfile, "a")
+ wbuffile = open(logfile, "w")
+ LOGGER.info("our log file is " + str(logfile))
import subprocess
exit_code = None
proc = subprocess.Popen(args=cmdline,
length = len(app_id) - 1
#test_opt["test_app_id"] = '''%s''' % app_id[1:length]
test_opt["test_app_id"] = app_id
- print app_id
+ print(app_id)
cmd_app_id = app_id.split('.')[0]
cmd1 = WRT_SMACK_STR % (self.deviceid, cmd_app_id[1:])
cmd2 = WRT_SMACK_REV_STR % (self.deviceid, cmd_app_id[1:])
- print cmd1
- print cmd2
+ print(cmd1)
+ print(cmd2)
shell_command(cmd1)
shell_command(cmd2)
import sys
import threading
import uuid
-import StringIO
+import io
import unittest
from unittest import TestResult
from datetime import datetime
import time
import threading
import uuid
-import ConfigParser
+import configparser
from datetime import datetime
from testkitlite.util.log import LOGGER
from testkitlite.util.result import TestSetResut
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_30 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
return_code, stdout, stderr = \
conn.shell_cmd_ext(core_cmd, time_out, False, \
stdout_file, stderr_file)
- print 'return ', return_code, stdout, stderr
+ print('return ', return_code, stdout, stderr)
if return_code is not None and return_code != "timeout":
test_case["result"] = "pass" if str(
return_code) == expected_result else "fail"
tmpname = FILES_ROOT + test_session + "_mea_tmp"
if conn.download_file(fname, tmpname):
try:
- config = ConfigParser.ConfigParser()
+ config = configparser.ConfigParser()
config.read(tmpname)
item['value'] = config.get(ind, 'value')
retmeasures.append(item)
test_case["result"] = "N/A"
else:
while True:
- test_result = raw_input(
+ test_result = input(
'[ please input case result ]'
' (p^PASS, f^FAIL, b^BLOCK, n^Next, d^Done):')
if test_result.lower() == 'p':
})
def set_TizenVersion(self, tizenversion):
- print ""
+ print("")
def __init_test_stub(self, stub_app, stub_port, debug_opt):
# init testkit-stub deamon process
import sys
import threading
import uuid
-import StringIO
+import io
import unittest
from unittest import TestResult
from datetime import datetime
import re
import time
import sys
-import thread
+import _thread
import threading
import socket
import json
import signal
import logging
import subprocess
-import ConfigParser
+import configparser
from testkitlite.util import tr_utils
from testkitlite.util.log import LOGGER as g_logger
-from urlparse import urlparse
+from urllib.parse import urlparse
try:
from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.support.ui import WebDriverWait
-except ImportError, err:
+except ImportError as err:
g_logger.info("Failed to import 'selenium' module, please check your installation:")
g_logger.info(" You can use 'sudo pip install selenium' to install the module!")
raise ImportError
test_app = test_ext = ''
driver_env = {}
try:
- exec 'from testkitlite.capability.%s import initCapability' % self.target_platform
+ exec('from testkitlite.capability.%s import initCapability' % self.target_platform)
if self.target_platform.upper().find('TIZEN') >= 0:
test_app = self.appid
test_ext = self.debugip
url_compon = urlparse(self.web_driver.current_url)
self.__updateTestPrefix()
return True
- except Exception, e:
+ except Exception as e:
if self.target_platform.upper().find('ANDROID') >= 0:
try:
test_ext = test_ext.strip('.').replace('Activity', '')
self.web_driver = WebDriver(self.wd_url, driver_env['desired_capabilities'])
self.__updateTestPrefix()
return True
- except Exception, e:
+ except Exception as e:
try:
test_app, test_ext = self.appid.split('/')
test_ext = test_ext.replace('Activity', '')
self.web_driver = WebDriver(self.wd_url, driver_env['desired_capabilities'])
self.__updateTestPrefix()
return True
- except Exception, e:
+ except Exception as e:
self.TE_LOG.error('Retry to init Web Driver get failed: %s' % e)
return False
else:
exe_json = json.loads(exe_data)
command = exe_json['COMMAND']
data = exe_json['DATA']
- except Exception, e:
+ except Exception as e:
self.TE_LOG.debug('Receive data failed, %s' % e)
time.sleep(2)
return (None, None)
def __talkWithRunnerSend(self, data=None):
try:
self.exe_socket.send(json.dumps(data))
- except Exception, e:
+ except Exception as e:
self.TE_LOG.debug('Send data failed, %s' % e)
time.sleep(2)
return False
harness_page_file = open(MH_FILE)
harness_page_raw = harness_page_file.read()
harness_page_file.close()
- except Exception, e:
+ except Exception as e:
self.TE_LOG.debug('Read manual harness file failed: %s' % e)
return False
harness_page_raw = harness_page_raw.replace(
i_case = i_case - 1
else:
break
- except Exception, e:
+ except Exception as e:
self.tests_json['cases'][i_case]['result'] = STR_BLOCK
self.TE_LOG.error("Run %s: failed: %s, exit from executer" %
(self.tests_json['cases'][i_case]['case_id'], e))
return False
else:
return True
- except Exception, e:
+ except Exception as e:
self.TE_LOG.error("Failed to get current url")
return False
"%Y-%m-%d %H:%M:%S", time.localtime())
try:
i_case_timeout = i_case['timeout']
- except Exception, e:
+ except Exception as e:
i_case_timeout = DEFAULT_TIMEOUT
i_page_url = '%s%s' % (self.test_prefix, i_case['entry'])
self.web_driver.set_page_load_timeout(i_case_timeout)
self.web_driver.implicitly_wait(i_case['onload_delay'])
self.web_driver.get(i_page_url)
- except Exception, e:
+ except Exception as e:
i_case['result'] = STR_BLOCK
self.TE_LOG.info(
"Cases %s: blocked by %s" % (i_case['case_id'], e))
try:
test01_md5 = hashlib.md5(
self.web_driver.get_screenshot_as_base64()).hexdigest().upper()
- except Exception, e:
+ except Exception as e:
i_case['result'] = STR_BLOCK
self.TE_LOG.info(
"Cases %s: blocked by %s" % (i_case['case_id'], e))
try:
i_refer_case_timeout = i_case['refer_timeout']
- except Exception, e:
+ except Exception as e:
i_refer_case_timeout = DEFAULT_TIMEOUT
i_ref_page_url = '%s%s' % (self.test_prefix, i_case['refer_entry'])
self.web_driver.set_page_load_timeout(i_refer_case_timeout)
self.web_driver.implicitly_wait(i_case['onload_delay'])
self.web_driver.get(i_ref_page_url)
- except Exception, e:
+ except Exception as e:
i_case['result'] = STR_BLOCK
self.TE_LOG.info(
"Cases %s: blocked by %s" % (i_case['case_id'], e))
try:
test02_md5 = hashlib.md5(
self.web_driver.get_screenshot_as_base64()).hexdigest().upper()
- except Exception, e:
+ except Exception as e:
i_case['result'] = STR_BLOCK
self.TE_LOG.info(
"Cases %s: blocked by %s" % (i_case['case_id'], e))
sub_value = eq_value[eq_index + 1:]
if sub_value is not None:
return sub_value
- except Exception, e:
+ except Exception as e:
return 0
def __checkUrlSame(self, pre_url, url):
element_index - 1]['entry']
url_equal = self.__checkUrlSame(pre_url, i_case['entry'])
i_case_timeout = i_case['timeout']
- except Exception, e:
+ except Exception as e:
i_case_timeout = DEFAULT_TIMEOUT
#self.test_prefix = '/home/app/.config/xwalk-service/applications/css3backgr.WebAPICSS3BackgroundsTests'
i_page_url = '%s%s' % (self.test_prefix, i_case['entry'])
if not url_equal:
self.web_driver.implicitly_wait(i_case['onload_delay'])
self.web_driver.get(i_page_url)
- except Exception, e:
- print 'exception'
+ except Exception as e:
+ print('exception')
i_case['result'] = STR_BLOCK
self.TE_LOG.debug(
"Cases %s: blocked by %s" % (i_case['case_id'], e))
i_case['result'] = STR_BLOCK
i_case['end_at'] = time.strftime(
"%Y-%m-%d %H:%M:%S", time.localtime())
- except Exception, e:
+ except Exception as e:
try:
result = self.web_driver.find_element_by_class_name('pass')
except:
return False
try:
i_case_timeout = int(i_case['timeout'])
- except Exception, e:
+ except Exception as e:
i_case_timeout = DEFAULT_TIMEOUT
try:
i_case['result'] = STR_FAIL
break
time.sleep(1)
- except Exception, e:
+ except Exception as e:
i_case['result'] = STR_BLOCK
self.TE_LOG.error(
"Run %s: failed: %s, exit from executer" % (i_case['case_id'], e))
self.web_driver = None
self.TE_LOG.error("Exit from executer")
return False
- except Exception, e:
+ except Exception as e:
if self.web_driver:
self.web_driver.quit()
self.TE_LOG.error(
with EXE_LOCK:
self.exe_status = 'RUNNING'
self.tests_json = exe_data['data']
- self.exe_thread = thread.start_new_thread(
+ self.exe_thread = _thread.start_new_thread(
self.__runTests, (1, 2))
self.__talkWithRunnerSend(
{'COMMAND': exe_command, 'DATA': 'OK'})
import uuid
import threading
import re
-import ConfigParser
+import configparser
from datetime import datetime
from tempfile import mktemp
import xml.etree.ElementTree as etree
LOGGER.debug('Runner Proc: %s, Executer Proc: %s' %
(self.runner_proc, self.exe_proc))
return True
- except OSError, e:
+ except OSError as e:
return False
def __exitExecuter(self):
self.exe_socket = None
try:
os.remove(self.exe_socket_file)
- except Exception, e:
+ except Exception as e:
pass
if self.exe_proc and tr_utils.pidExists(self.exe_proc):
socket.AF_UNIX, socket.SOCK_STREAM)
self.exe_socket.bind(self.exe_socket_file)
self.exe_socket.listen(1)
- except Exception, e:
+ except Exception as e:
LOGGER.error('Setup socket failed')
return False
if not self.__initExecuter():
command = exe_json['COMMAND']
if exe_json['DATA']:
data = exe_json['DATA']
- except Exception, e:
+ except Exception as e:
LOGGER.error('Talk with executer failed: %s, kill executer' % e)
self.__exitExecuter()
return (None, None)
import time
import subprocess
+from .log import LOGGER
from testkitlite.util.killall import killall
from testkitlite.util.str2 import str2str
result = []
elif not cmd.endswith('&'):
while True:
- line = proc.stdout.readline()
+ line = proc.stdout.readline().decode('utf-8')
if not line or line.find('daemon started') >= 0:
break
result.append(line)
stderr_file = os.path.expanduser("~") + os.sep + "shell_stderr"
exit_code = None
- wbuffile1 = file(stdout_file, "w")
- wbuffile2 = file(stderr_file, "w")
- rbuffile1 = file(stdout_file, "r")
- rbuffile2 = file(stderr_file, "r")
+ wbuffile1 = open(stdout_file, "wb")
+ wbuffile2 = open(stderr_file, "wb")
+ rbuffile1 = open(stdout_file, "r")
+ rbuffile2 = open(stderr_file, "r")
cmd_open = subprocess.Popen(args=cmd,
shell=True,
stdout=wbuffile1,
print_log()
rbuffile1.seek(0)
rbuffile2.seek(0)
- stdout_log = str2str(rbuffile1.read())
- stderr_log = str2str(rbuffile2.read())
+ try:
+ stdout_log = str2str(rbuffile1.read()).decode("utf-8")
+ except:
+ LOGGER.info("Cannot decode bytes using utf-8, hence using latin-1 decoder")
+ stdout_log = str2str(rbuffile1.read()).decode("latin-1")
+ stderr_log = str2str(rbuffile2.read()).decode("utf-8")
if 'returncode=' in stdout_log:
index = stdout_log.find('returncode=') + 11
exit_code = str(stdout_log[index:]).strip('\r\n')
"""General Config Class"""
import os
-import ConfigParser
-from ConfigParser import NoOptionError, NoSectionError
+import configparser
+from configparser import NoOptionError, NoSectionError
CONFIG_FILE = "/opt/testkit/lite_web_csharp/testkitlite/commodule/CONFIG"
-cfg = ConfigParser.ConfigParser()
+cfg = configparser.ConfigParser()
if os.path.exists(CONFIG_FILE):
cfg.read(CONFIG_FILE)
else:
"""Test connector for test instance and target instance"""
from testkitlite.util.log import LOGGER
-
+from ..commodule.tizenmobile import get_target_conn as tizenmobile_conn
+from ..commodule.localhost import get_target_conn as localhost_conn
class ConnectorBuilder:
self.conn = None
if "commodule" in config:
try:
- exec "from testkitlite.commodule.%s import get_target_conn" % config[
- "commodule"]
+ #exec("from testkitlite.commodule.%s import get_target_conn" % config[
+ # "commodule"])
+ if config["commodule"]=="tizenmobile":
+ get_target_conn = tizenmobile_conn
+ else:
+ get_target_conn = localhost_conn
device_no = config.get('deviceid', None)
if device_no is not None:
self.conn = get_target_conn(device_no)
try:
import requests
-except ImportError, err:
+except ImportError as err:
LOGGER.info("Failed to import 'requests' module, please check your installation:")
LOGGER.info(" You can use 'sudo pip install requests' to install the module!")
raise ImportError
pid = pidgrp.pop()
try:
os.kill(int(pid), signal.SIGKILL)
- except OSError, error:
+ except OSError as error:
pattern = re.compile('No such process')
match = pattern.search(str(error))
if not match:
- print "[ Error: fail to kill pid: %s," \
- " error: %s ]\n" % (int(pid), error)
+ print("[ Error: fail to kill pid: %s," \
+ " error: %s ]\n" % (int(pid), error))
# kill for windows platform
else:
kernel32 = ctypes.windll.kernel32
handle = kernel32.OpenProcess(1, 0, int(ppid))
kernel32.TerminateProcess(handle, 0)
- except OSError, error:
+ except OSError as error:
pattern = re.compile('No such process')
match = pattern.search(str(error))
if not match:
- print "[ Error: fail to kill pid: %s, error: %s ]\n" \
- % (int(ppid), error)
+ print("[ Error: fail to kill pid: %s, error: %s ]\n" \
+ % (int(ppid), error))
return None
def info(self, msg):
"""info level message"""
if msg is not None:
- sys.stdout.write(msg + '\r\n')
+ if (type(msg) == bytes):
+ sys.stdout.write(msg.decode('utf-8') + '\r\n')
+ else:
+ sys.stdout.write(msg + '\r\n')
sys.stdout.flush()
def warning(self, msg):
-#!/usr/bin/python
+#!/usr/bin/env python3
#
# Copyright (C) 2012 Intel Corporation
#
from datetime import datetime
from shutil import copyfile
import xml.etree.ElementTree as etree
-import ConfigParser
+import configparser
from tempfile import mktemp
from shutil import move
from os import remove
import copy
import re
-import ConfigParser
from testkitlite.util.log import LOGGER
from testkitlite.util.str2 import str2xmlstr
from testkitlite.util.errors import TestCaseNotFoundException
OPT_test_set_src = 'test-set-src'
TCT_CONFIG_FILE = "/opt/tools/TCT_CONFIG"
-tct_parser = ConfigParser.ConfigParser()
+tct_parser = configparser.ConfigParser()
tct_parser.read(TCT_CONFIG_FILE)
DEVICE_SUITE_TARGET_30 = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
def __split_test_xml(self, resultfile, resultdir):
""" split_test_xml into auto and manual"""
- setfind = etree.parse(resultfile).getiterator('set')
+ setfind = etree.parse(resultfile).iter('set')
if setfind:
test_file_name = "%s" % BASENAME(resultfile)
test_file_name = os.path.splitext(test_file_name)[0]
filename_diff = 1
parser = etree.parse(resultfile)
- for tsuite in parser.getiterator('suite'):
+ for tsuite in parser.iter('suite'):
root = etree.Element('test_definition')
suitefilename = os.path.splitext(resultfile)[0]
suitefilename += ".suite_%s.xml" % filename_diff
tsuite.tail = "\n"
root.append(tsuite)
try:
- with open(suitefilename, 'w') as output:
+ with open(suitefilename, 'wb') as output:
tree = etree.ElementTree(element=root)
tree.write(output)
except IOError as error:
LOGGER.error("[ Error: create filtered result file: %s failed,\
error: %s ]" % (suitefilename, error))
case_suite_find = etree.parse(
- suitefilename).getiterator('testcase')
+ suitefilename).iter('testcase')
if case_suite_find:
#add by yangx.zhou@intel.com. 2014.09.12
- set_type = tsuite.find('set').get('type')
- if set_type == 'script' or set_type == 'pyunit' or set_type == 'androidunit':
- if set_type == 'script':
- self.external_test = None
- if self.filter_rules["execution_type"] == ["auto"]:
- self.core_auto_files.append(suitefilename)
- else:
- self.core_manual_files.append(suitefilename)
- self.resultfiles.add(suitefilename)
-
- #if tsuite.get('launcher'):
- elif set_type in ['js', 'ref','wrt', 'qunit']:
- #elif set_type in ['js','wrt', 'qunit']:
- testsuite_dict_value_list.append(suitefilename)
- if testsuite_dict_add_flag == 0:
- self.exe_sequence.append(test_file_name)
- testsuite_dict_add_flag = 1
- self.resultfiles.add(suitefilename)
-
- # elif set_type =='ref' and self.worker_name == "webdriver":
- # testsuite_dict_value_list.append(suitefilename)
- # if testsuite_dict_add_flag == 0:
- # self.exe_sequence.append(test_file_name)
- # testsuite_dict_add_flag = 1
- # self.resultfiles.add(suitefilename)
+ if(tsuite.find('set') != None):
+ set_type = tsuite.find('set').get('type')
+ if set_type == 'script' or set_type == 'pyunit' or set_type == 'androidunit':
+ if set_type == 'script':
+ self.external_test = None
+ if self.filter_rules["execution_type"] == ["auto"]:
+ self.core_auto_files.append(suitefilename)
+ else:
+ self.core_manual_files.append(suitefilename)
+ self.resultfiles.add(suitefilename)
+
+ #if tsuite.get('launcher'):
+ elif set_type in ['js', 'ref','wrt', 'qunit']:
+ #elif set_type in ['js','wrt', 'qunit']:
+ testsuite_dict_value_list.append(suitefilename)
+ if testsuite_dict_add_flag == 0:
+ self.exe_sequence.append(test_file_name)
+ testsuite_dict_add_flag = 1
+ self.resultfiles.add(suitefilename)
+
+ #elif set_type =='ref' and self.worker_name == "webdriver":
+ # testsuite_dict_value_list.append(suitefilename)
+ # if testsuite_dict_add_flag == 0:
+ # self.exe_sequence.append(test_file_name)
+ # testsuite_dict_add_flag = 1
+ # self.resultfiles.add(suitefilename)
- else:
- if self.filter_rules["execution_type"] == ["auto"]:
- self.core_auto_files.append(suitefilename)
else:
- self.core_manual_files.append(suitefilename)
- self.resultfiles.add(suitefilename)
+ if self.filter_rules["execution_type"] == ["auto"]:
+ self.core_auto_files.append(suitefilename)
+ else:
+ self.core_manual_files.append(suitefilename)
+ self.resultfiles.add(suitefilename)
else:
self.unit_test_files.append(suitefilename)
self.resultfiles.add(suitefilename)
parse_tree = etree.parse(testxmlfile)
suiteparent = parse_tree.getroot()
no_test_definition = 1
- if parse_tree.getiterator('test_definition'):
+ if parse_tree.iter('test_definition'):
no_test_definition = 0
if no_test_definition:
suiteparent = etree.Element('test_definition')
suiteparent.tail = "\n"
- for suite in parse_tree.getiterator('suite'):
+ for suite in parse_tree.iter('suite'):
suite.tail = "\n"
suiteparent.append(suite)
self.apply_filter(suiteparent)
try:
- with open(resultfile, 'w') as output:
+ with open(resultfile, 'wb') as output:
tree = etree.ElementTree(element=suiteparent)
tree.write(output)
except IOError as error:
test_xml_set_list = []
self.resultfiles.discard(webapi_file)
test_xml_temp = etree.parse(webapi_file)
- for test_xml_temp_suite in test_xml_temp.getiterator('suite'):
- while set_number <= len(test_xml_temp_suite.getiterator('set')):
+ for test_xml_temp_suite in test_xml_temp.iter('suite'):
+ while set_number <= len(test_xml_temp_suite.findall('set')):
#print 'debug',test_xml_temp_suite.find('set')[set_number].get('type')
copy_url = os.path.splitext(webapi_file)[0]
copy_url += "_set_%s.xml" % set_number
for test_xml_set in test_xml_set_list:
test_xml_set_tmp = etree.parse(test_xml_set)
set_keep_number = 1
- for temp_suite in test_xml_set_tmp.getiterator('suite'):
- for test_xml_set_temp_set in temp_suite.getiterator('set'):
+ for temp_suite in test_xml_set_tmp.findall('suite'):
+ for test_xml_set_temp_set in temp_suite.findall('set'):
if set_keep_number != set_number:
temp_suite.remove(test_xml_set_temp_set)
else:
- if not test_xml_set_temp_set.getiterator('testcase'):
+ if not test_xml_set_temp_set.iter('testcase'):
test_xml_set_list_empty.append(test_xml_set)
set_keep_number += 1
set_number -= 1
ov = pywintypes.OVERLAPPED()
win32file.LockFileEx(hfile, win32con.LOCKFILE_EXCLUSIVE_LOCK, 0, -0x10000, ov)
except:
- print traceback.print_exc()
+ print(traceback.print_exc())
return False
else:
return True
totals = self.__merge_result(resultfiles, totals)
for total in totals:
result_xml = etree.parse(total)
- for suite in result_xml.getiterator('suite'):
- if suite.getiterator('testcase'):
+ for suite in result_xml.iter('suite'):
+ if suite.iter('testcase'):
suite.tail = "\n"
root.append(suite)
try:
with open(mergefile, 'w') as output:
output.write(declaration_text)
+ with open(mergefile, 'ab') as output:
tree = etree.ElementTree(element=root)
tree.write(output, xml_declaration=False, encoding='utf-8')
except IOError as error:
# LOGGER.info("|--[ merge webapi result file: %s ]" % resultfile)
result_xml = etree.parse(resultfile)
root = result_xml.getroot()
- for total_suite in total_xml.getiterator('suite'):
- for total_set in total_suite.getiterator('set'):
- for result_suite in result_xml.getiterator('suite'):
- for result_set in result_suite.getiterator('set'):
+ for total_suite in total_xml.iter('suite'):
+ for total_set in total_suite.iter('set'):
+ for result_suite in result_xml.iter('suite'):
+ for result_set in result_suite.iter('set'):
# when total xml and result xml have same suite, set
# print result_set.get('type'),'debug',resultfile
if result_set.get('type') =='pyunit':
- for test_case in result_set.getiterator('testcase'):
+ for test_case in result_set.iter('testcase'):
#print test_case.find('description/test_script_entry').text
if (test_case.find('description/test_script_entry') is not None) and test_case.find('description/test_script_entry').text:
result_set.remove(test_case)
and result_suite.get('name') == total_suite.get('name'):
if result_set.get('set_debug_msg'):
total_set.set("set_debug_msg", result_set.get('set_debug_msg'))
- result_case_iterator = result_set.getiterator(
+ result_case_iterator = result_set.iter(
'testcase')
if result_case_iterator:
for result_case in result_case_iterator:
try:
parse_tree = etree.parse(xml_set_tmp)
root_em = parse_tree.getroot()
- tsuite = root_em.getiterator('suite')[0]
+ #tsuite = next(root_em.iter('suite'))[0]
case_tmp = []
- parameters.setdefault("suite_name", tsuite.get('name'))
- for tset in root_em.getiterator('set'):
+ #parameters.setdefault("suite_name", tsuite.get('name'))
+ LOGGER.debug("[rootem start]")
+ for tset in root_em.iter('set'):
case_order = 1
- parameters.setdefault("casecount", str(len(tset.getiterator('testcase'))))
+ parameters.setdefault("casecount", str(len(tset.findall('testcase'))))
parameters.setdefault("current_set_name", xml_set_tmp)
parameters.setdefault("name", tset.get('name'))
parameters.setdefault("type", tset.get('type'))
# set_entry = self.test_prefix + tset.get("test_set_src")
# parameters.setdefault("test_set_src", set_entry)
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.iter('testcase'):
if self.skip_tc and str(self.skip_tc).find(tcase.get('id')) > -1:
continue
case_detail_tmp["refer_location"] = tcase.find(
'description/refer_test_script_entry').get('location')
- if tcase.getiterator("step"):
- for this_step in tcase.getiterator("step"):
+ if tcase.iter("step"):
+ for this_step in tcase.iter("step"):
step_detail_tmp = {}
step_detail_tmp.setdefault("order", "1")
step_detail_tmp["order"] = str(
'onload_delay'] = tcase.get('onload_delay')
# Check performance test
if tcase.find('measurement') is not None:
- measures = tcase.getiterator('measurement')
+ measures = tcase.iter('measurement')
measures_array = []
for measure in measures:
measure_json = {}
value = 'default'
if value != None:
try:
- exec "from testkitlite.engines.%s import TestWorker" %value
+ exec("from testkitlite.engines.%s import TestWorker" %value)
LOGGER.info("TestWorker is %s" %value)
except Exception as error:
#print 'path: ', os.getcwd()
def apply_filter(self, root_em):
""" apply filter """
rules = self.filter_rules
- for tsuite in root_em.getiterator('suite'):
+ for tsuite in root_em.iter('suite'):
if rules.get('suite'):
if tsuite.get('name') not in rules['suite']:
root_em.remove(tsuite)
- for tset in tsuite.getiterator('set'):
+ for tset in tsuite.iter('set'):
if rules.get('set'):
if tset.get('name') not in rules['set']:
tsuite.remove(tset)
- for tsuite in root_em.getiterator('suite'):
- for tset in tsuite.getiterator('set'):
+ for tsuite in root_em.findall('suite'):
+ for tset in tsuite.findall('set'):
# if there are capabilities ,do filter
if self.has_capability:
tset_status = self.__apply_capability_filter_set(tset)
if not tset_status:
tsuite.remove(tset)
continue
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.findall('testcase'):
if not self.__apply_filter_case_check(tcase):
tset.remove(tcase)
else:
def __apply_filter_case_check(self, tcase):
"""filter cases"""
rules = self.filter_rules
- for key in rules.iterkeys():
+ for key in rules.keys():
if key in ["suite", "set"]:
continue
# Check attribute
return False
else:
# Check sub-element
- items = tcase.getiterator(key)
+ items = tcase.iter(key)
if items:
t_val = []
for i in items:
def __apply_capability_filter_set(self, tset):
""" check the set required capability with self.capabilities """
- for tcaps in tset.getiterator('capabilities'):
- for tcap in tcaps.getiterator('capability'):
+ for tcaps in tset.iter('capabilities'):
+ for tcap in tcaps.iter('capability'):
capname = None
capvalue = None
capname = tcap.get('name').lower()
LOGGER.info("[ preparing for startup options ]")
try:
parse_tree = etree.parse(testxml)
- tsuite = parse_tree.getroot().getiterator('suite')[0]
- tset = parse_tree.getroot().getiterator('set')[0]
- #if tset.get("launcher") is not None:
- # starup_parameters[OPT_LAUNCHER] = tset.get("launcher")
- #else:
- # starup_parameters[OPT_LAUNCHER] = tsuite.get("launcher")
+# tsuite = parse_tree.getroot().iter('suite')[1]
+# tset = parse_tree.getroot().iter('set')[1]
+ tsuite = next(parse_tree.getroot().iter('suite'))
+ tset = next(parse_tree.getroot().iter('set'))
+ if tset.get("launcher") is not None:
+ starup_parameters[OPT_LAUNCHER] = tset.get("launcher")
+ else:
+ starup_parameters[OPT_LAUNCHER] = tsuite.get("launcher")
if self.external_test is not None:
try:
parse_tree = etree.parse(capability_xml)
root_em = parse_tree.getroot()
- for tcap in root_em.getiterator('capability'):
+ for tcap in root_em.iter('capability'):
capability = get_capability_form_node(tcap)
capabilities = dict(capabilities, **capability)
if tcap.get("type").lower() == 'integer':
if tcap.get("support").lower() == 'true':
- if tcap.getiterator(
+ if tcap.iter(
"value") and tcap.find("value").text is not None:
capability[tmp_key] = int(tcap.find("value").text)
if tcap.get("type").lower() == 'string':
if tcap.get("support").lower() == 'true':
- if tcap.getiterator(
+ if tcap.iter(
"value") and tcap.find("value").text is not None:
capability[tmp_key] = tcap.find("value").text
VERSION file must put in /opt/testkit/lite_web_csharp/
"""
try:
- config = ConfigParser.ConfigParser()
+ config = configparser.ConfigParser()
if platform.system() == "Linux":
config.read('/opt/testkit/lite_web_csharp/VERSION')
else:
result_tree = etree.parse(result_file)
result_em = result_tree.getroot()
dubug_file = BASENAME(debug_log_file)
- for result_suite in result_em.getiterator('suite'):
- for result_set in result_suite.getiterator('set'):
- for test_suite in test_em.getiterator('suite'):
- for test_set in test_suite.getiterator('set'):
+ for result_suite in result_em.findall('suite'):
+ for result_set in result_suite.findall('set'):
+ for test_suite in test_em.findall('suite'):
+ for test_set in test_suite.findall('set'):
if result_set.get('name') == \
test_set.get('name'):
result_set.set("set_debug_msg", dubug_file)
tset.append(sub_case)
else:
for i in range(sub_num):
- print 'debug', detail[i], i
+ print('debug', detail[i], i)
sub_case = copy.deepcopy(tcase)
sub_case.set("id", "/".join([tcase.get("id"), str(i+1)]))
sub_case.set("purpose", "/".join([tcase.get("purpose"), str(i+1)]))
def __write_by_caseid(tset, case_results):
#tset.set("set_debug_msg", "N/A")
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.findall('testcase'):
for case_result in case_results:
if tcase.get("id") == case_result['case_id']:
tcase.set('result', case_result['result'].upper())
# Check performance test
if tcase.find('measurement') is not None:
- for measurement in tcase.getiterator(
+ for measurement in tcase.findall(
'measurement'):
if 'measures' in case_result:
m_results = case_result['measures']
def __write_by_class(tset, case_results):
tset.set("set_debug_msg", "N/A")
- for tcase in tset.getiterator('testcase'):
+ for tcase in tset.findall('testcase'):
#for key in case_results.keys():
sub_no = int(tcase.get('subcase'))
text = tcase.find('description/test_script_entry').text
#print 'debug tree', debug_log_file
root_em = parse_tree.getroot()
dubug_file = BASENAME(debug_log_file)
- for tset in root_em.getiterator('set'):
+ for tset in root_em.iter('set'):
tset.set("set_debug_msg", dubug_file)
if tset.get('type') == 'pyunit':
cm = tset.find('testcase').get('component')
# Wendong,Sui <weidongx.sun@intel.com>
""" string convertor"""
-from types import IntType, FloatType, LongType
import string
def str2str(src):
"""string to printable string"""
- if isinstance(src, unicode):
+ if isinstance(src, str):
return src.encode("utf8")
if isinstance(src, str):
accept = string.punctuation + string.letters + string.digits + ' \r\n'
- return filter(lambda x: x in accept, src)
+ return [x for x in src if x in accept]
return ""
def str2number(src):
"""string to boolean"""
val = str2val(str2str(src))
- if type(val) in [IntType, FloatType, LongType]:
+ if type(val) in [int, float]:
return val
else:
return None
Raises:
ElementError
"""
- for attrname, attrvalue in element.attrib.items():
- if attrname in attrdico.keys():
+ for attrname, attrvalue in list(element.attrib.items()):
+ if attrname in list(attrdico.keys()):
if not attrvalue and attrdico.get(attrname):
raise ElementError("Attribute '" + attrname + "' of element '" + element.tag
+ "' is not defined")
else:
raise ElementError("Attribute '" + attrname + "' is not authorized as an attribute of the '" + element.tag + "' element")
for child in list(element):
- if (child.tag not in childsdico.keys()):
+ if (child.tag not in list(childsdico.keys())):
raise ElementError("Element '" + child.tag + " should not be a child element of '" + element.tag + "'")
elif (not child.text and childsdico.get(child.tag)):
raise ElementError("The element '" + child.tag + "' should contain some text")
"""
root = etree.Element("test_definition")
xmltree = etree.ElementTree(root)
- print "xml tree created !"
+ print("xml tree created !")
return xmltree
An ElementTree that represents the result of the merging of the sourcexmltree
and destxmltree
"""
- print "## Checking source xml file ..."
+ print("## Checking source xml file ...")
check_testdefinition(sourcexmltree)
- print "source xml file is correct. Ok\n"
+ print("source xml file is correct. Ok\n")
if destxmltree is None:
- print "Destination xml file doesn't exist... will be created"
+ print("Destination xml file doesn't exist... will be created")
destxmltree = create_xmltree()
create_envandsum(sourcexmltree, destxmltree)
for asuite in sourcexmltree.iter('suite'):
-@charset "UTF-8";
-/* CSS Document */
-#testcasepage div,
-#testcasepage h1,
-#testcasepage p,
-#testcasepage table,
-#testcasepage tr,
-#testcasepage th,
-#testcasepage td {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 0.96em;
- font-family: arial;
- vertical-align: baseline;
-}
-
-#testcasepage p {
- text-align: left;
-}
-
-#suite_title {
- text-align: left;
-}
-
-#btc {
- text-align: right;
-}
-
-#testcasepage table {
- border-collapse: separate;
- border-spacing: 0;
- margin-bottom: 1.4em;
- vertical-align: middle;
-}
-
-#testcasepage th,
-#testcasepage td {
- text-align: left;
- font-weight: normal;
- padding: 4px 10px 4px 5px;
- vertical-align: middle;
-}
-
-#cases table {
- width: 101%;
-}
-
-#fail_cases table {
- width: 101%;
-}
-
-#title table {
- width: 101%;
-}
-
-#device table {
- width: 50%;
-}
-
-#summary table {
- width: 50%;
-}
-
-#testcasepage th {
- border-bottom: 1px solid #000;
- background-color: #AAAAAA;
- border-left: 1px solid #000;
- border-top: 1px solid #000;
- color: #000;
- font-weight: bold;
- vertical-align: bottom;
-}
-
-#testcasepage th:last-child,
-#testcasepage td:last-child {
- border-right: 1px solid #000;
-}
-
-#testcasepage td {
- border-left: 1px solid;
- font-weight: normal;
- border-bottom: 1px solid;
-}
-
-#testcasepage td.yellow_rate {
- background-color: #ffcc00;
-}
-
-#testcasepage td.green_rate {
- background-color: #33cc33;
-}
-
-#testcasepage td.dgreen_rate {
- background-color: #339933;
-}
-
-#testcasepage td.red_rate {
- background-color: #FF3333;
-}
-
-#title table,
-#title tr,
-#title td {
- border-left: none;
- border-bottom: none;
- text-align: center;
-}
-
-#title td:last-child {
- border-right: none;
-}
-
-#testcasepage h1 {
- font-size: 2em;
- font-family: Arial, sans-serif;
- font-weight: bold;
- line-height: 1;
- color: #000;
- margin-bottom: 0.75em;
- padding-top: 0.25em;
- font-weight: bold;
-}
-
-#goTopBtn {
- right: 0px;
- bottom: 0px;
- position: fixed; +position: absolute;
- top: expression(parseInt(document.body.scrollTop) + document.body.clientHeight - 40);
-}
+@charset "UTF-8";\r
+/* CSS Document */\r
+#testcasepage div,\r
+#testcasepage h1,\r
+#testcasepage p,\r
+#testcasepage table,\r
+#testcasepage tr,\r
+#testcasepage th,\r
+#testcasepage td {\r
+ margin: 0;\r
+ padding: 0;\r
+ border: 0;\r
+ font-weight: inherit;\r
+ font-style: inherit;\r
+ font-size: 0.96em;\r
+ font-family: arial;\r
+ vertical-align: baseline;\r
+}\r
+\r
+#testcasepage p {\r
+ text-align: left;\r
+}\r
+\r
+#suite_title {\r
+ text-align: left;\r
+}\r
+\r
+#btc {\r
+ text-align: right;\r
+}\r
+\r
+#testcasepage table {\r
+ border-collapse: separate;\r
+ border-spacing: 0;\r
+ margin-bottom: 1.4em;\r
+ vertical-align: middle;\r
+}\r
+\r
+#testcasepage th,\r
+#testcasepage td {\r
+ text-align: left;\r
+ font-weight: normal;\r
+ padding: 4px 10px 4px 5px;\r
+ vertical-align: middle;\r
+}\r
+\r
+#cases table {\r
+ width: 101%;\r
+}\r
+\r
+#fail_cases table {\r
+ width: 101%;\r
+}\r
+\r
+#title table {\r
+ width: 101%;\r
+}\r
+\r
+#device table {\r
+ width: 50%;\r
+}\r
+\r
+#summary table {\r
+ width: 50%;\r
+}\r
+\r
+#testcasepage th {\r
+ border-bottom: 1px solid #000;\r
+ background-color: #AAAAAA;\r
+ border-left: 1px solid #000;\r
+ border-top: 1px solid #000;\r
+ color: #000;\r
+ font-weight: bold;\r
+ vertical-align: bottom;\r
+}\r
+\r
+#testcasepage th:last-child,\r
+#testcasepage td:last-child {\r
+ border-right: 1px solid #000;\r
+}\r
+\r
+#testcasepage td {\r
+ border-left: 1px solid;\r
+ font-weight: normal;\r
+ border-bottom: 1px solid;\r
+}\r
+\r
+#testcasepage td.yellow_rate {\r
+ background-color: #ffcc00;\r
+}\r
+\r
+#testcasepage td.green_rate {\r
+ background-color: #33cc33;\r
+}\r
+\r
+#testcasepage td.dgreen_rate {\r
+ background-color: #339933;\r
+}\r
+\r
+#testcasepage td.red_rate {\r
+ background-color: #FF3333;\r
+}\r
+\r
+#title table,\r
+#title tr,\r
+#title td {\r
+ border-left: none;\r
+ border-bottom: none;\r
+ text-align: center;\r
+}\r
+\r
+#title td:last-child {\r
+ border-right: none;\r
+}\r
+\r
+#testcasepage h1 {\r
+ font-size: 2em;\r
+ font-family: Arial, sans-serif;\r
+ font-weight: bold;\r
+ line-height: 1;\r
+ color: #000;\r
+ margin-bottom: 0.75em;\r
+ padding-top: 0.25em;\r
+ font-weight: bold;\r
+}\r
+\r
+#goTopBtn {\r
+ right: 0px;\r
+ bottom: 0px;\r
+ position: fixed; +position: absolute;\r
+ top: expression(parseInt(document.body.scrollTop) + document.body.clientHeight - 40);\r
+}\r
cd $TCT_PATH
cd ../../tool/script
-sudo python3 auto_binary.py
\ No newline at end of file
+sudo python3 auto_binary.py