Fix bug TTS-1767 update code format
authoryuex.ma <yuex.ma@intel.com>
Wed, 17 Jul 2013 09:49:02 +0000 (02:49 -0700)
committeryuex.ma <yuex.ma@intel.com>
Wed, 17 Jul 2013 09:49:02 +0000 (02:49 -0700)
Change-Id: I1a4db0d9c5275e896b5eb2ca274602a74410264f
Signed-off-by: yuex.ma <yuex.ma@intel.com>
tct-ext01-wrt-tests/README
tct-ext01-wrt-tests/application-privilege/config.xml
tct-ext01-wrt-tests/application-privilege/test_index.html
tct-ext01-wrt-tests/setting-install-location-auto/config.xml
tct-ext01-wrt-tests/setting-install-location-auto/test_index.html
tct-ext01-wrt-tests/tests.xml

index 21c5f78..781dcdf 100644 (file)
@@ -43,10 +43,10 @@ Test Environment
      sudo apt-get install python-pip
      sudo pip install requests
      sudo dpkg -i testkit-lite-<version>.deb
-  2. Push "httpserver" into test device.
+  2. Push "testkit-stub" into test device.
      sdb root on
-     sdb push httpserver /usr/bin
-     sdb shell chmod +x /usr/bin/httpserver
+     sdb push testkit-stub /usr/bin
+     sdb shell chmod +x /usr/bin/testkit-stub
   3. Run the cases as "root" user.
 
 
@@ -86,6 +86,4 @@ Note: If there is any defects in this test suite, please do not hesitate to cont
 
 ----------------------------------------------
 Todo
-----------------------------------------------
-
-
+----------------------------------------------
\ No newline at end of file
index 2f6921c..3ead1e2 100644 (file)
@@ -6,6 +6,6 @@
   <name>application-privilege</name>
   <tizen:application id="wrt5scr031.ApplicationPrivilege" package="wrt5scr031" required_version="2.1"/>
   <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
-  <tizen:privilege name="http://tizen.org/privilege/calendar.read" />
-  <tizen:privilege name="http://tizen.org/privilege/calendar.write" />
+  <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+  <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
 </widget>
index d5b4509..e4e0089 100644 (file)
@@ -33,10 +33,10 @@ Authors:
 <html>
   <head>
     <title>WRT Test: application-privilege</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check that the web runtime be able to identify the required API access privilege." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="Check that the web runtime be able to identify the required API access privilege."/>
     <meta charset="utf-8">
     <script src="resources/testharness.js"></script>
     <script src="resources/testharnessreport.js"></script>
@@ -47,8 +47,8 @@ Authors:
        test(function() {
            var calendar = tizen.calendar.getDefaultCalendar("EVENT");
            var html5seminar = new tizen.CalendarEvent({startDate: new tizen.TZDate(2012, 3, 4),
-                                              duration: new tizen.TimeDuration(3, "DAYS"),
-                                              summary: "HTML5 Seminar"});
+               duration: new tizen.TimeDuration(3, "DAYS"),
+               summary: "HTML5 Seminar"});
            calendar.add(html5seminar);
            var tizenseminar = html5seminar.clone();
        }, "Check that the web runtime be able to identify the required API access privilege");
index f7dfeb2..d347936 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
-    <access origin="*"/>
-    <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="custom.png"/>
-    <name>setting-install-location-auto</name>
-    <tizen:setting install-location="auto"/>
+  <access origin="*"/>
+  <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="custom.png"/>
+  <name>setting-install-location-auto</name>
+  <tizen:setting install-location="auto"/>
 </widget>
index 2af4054..2905d72 100644 (file)
@@ -33,10 +33,10 @@ Authors:
 <html>
   <head>
     <title>WRT Test: setting-install-location-auto</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check that when set install-location to 'auto', the install location is system defined install location." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="Check that when set install-location to 'auto', the install location is system defined install location."/>
     <meta charset="utf-8">
     <script src="resources/testharness.js"></script>
     <script src="resources/testharnessreport.js"></script>
@@ -52,4 +52,4 @@ Authors:
         }, "Check that when set install-location to 'auto', the install location is system defined install location.");
     </script>
   </body>
-</html>
+</html>
\ No newline at end of file
index 8e77a92..ca3dbe4 100644 (file)
@@ -1,50 +1,50 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
-<suite name="tct-ext01-wrt-tests" launcher="WRTLauncher -iu">
+  <suite name="tct-ext01-wrt-tests" launcher="WRTLauncher -iu">
     <set name="application-privilege">
-    <testcase purpose="Check that the web runtime is able to identify the required API access privilege." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-privilege">
-      <description>
-        <pre_condition></pre_condition>
-           <post_condition></post_condition>
-              <steps>
-                 <step order="1">
-                   <step_desc>Check if the web runtime is able to identify the required API access privilege</step_desc>
-                   <expected>The privilege can be accessed.</expected>
-                 </step>
-              </steps>
-           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-      </description>
-    <specs>
-      <spec>
-       <spec_assertion element_type="attribute" element_name="N/A" interface="0211" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
-       <spec_url></spec_url>
-       <spec_statement>TBD</spec_statement>
-      </spec>
-    </specs>
-    </testcase>
+      <testcase purpose="Check that the web runtime is able to identify the required API access privilege." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-privilege">
+        <description>
+          <pre_condition></pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Check if the web runtime is able to identify the required API access privilege</step_desc>
+              <expected>The privilege can be accessed.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0211" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+            <spec_url></spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
     </set>
     <set name="setting-install-location-auto">
-    <testcase purpose="Check that the installation location is at ҳystemҠwhen install-location is set as 'auto'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-auto">
-      <description>
-        <pre_condition></pre_condition>
-           <post_condition></post_condition>
-              <steps>
-                 <step order="1">
-                   <step_desc>Check if installation location of widget is system</step_desc>
-                   <expected>Widget application is installed at the system</expected>
-                 </step>
-              </steps>
-           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-      </description>
-    <specs>
-      <spec>
-       <spec_assertion usage="true" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
-       <spec_url></spec_url>
-       <spec_statement>TBD</spec_statement>
-      </spec>
-    </specs>
-    </testcase>
+      <testcase purpose="Check that the installation location is at ҳystemҠwhen install-location is set as 'auto'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-auto">
+        <description>
+          <pre_condition></pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Check if installation location of widget is system</step_desc>
+              <expected>Widget application is installed at the system</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+            <spec_url></spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
     </set>
   </suite>
-</test_definition>
+</test_definition>
\ No newline at end of file