Minor Changes in tct as per antman_srib branch
authoryuvaraj.s <yuvaraj.s@samsung.com>
Fri, 17 Jun 2016 10:04:49 +0000 (15:34 +0530)
committeryuvaraj.s <yuvaraj.s@samsung.com>
Mon, 20 Jun 2016 06:36:06 +0000 (12:06 +0530)
Change-Id: Icefa474e1c471f4733b930cdf1475674745254f4
Signed-off-by: yuvaraj.s <yuvaraj.s@samsung.com>
tct-download-tizen-tests/org.test.tizen.download.tpk
tct-download-tizen-tests/res/Result/Download.xml [new file with mode: 0644]
tct-download-tizen-tests/res/Result/summary.xml
tct-download-tizen-tests/res/pull.sh
tct-download-tizen-tests/src/Testcase/TSNotification.cs
tct-download-tizen-tests/src/Testcase/TSRequest.cs

index c3be4b7..ed66108 100644 (file)
Binary files a/tct-download-tizen-tests/org.test.tizen.download.tpk and b/tct-download-tizen-tests/org.test.tizen.download.tpk differ
diff --git a/tct-download-tizen-tests/res/Result/Download.xml b/tct-download-tizen-tests/res/Result/Download.xml
new file mode 100644 (file)
index 0000000..0b7b729
--- /dev/null
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet type="text/xsl" href="./style/testresult.xsl"?>
+<?xml-stylesheet type="text/xsl" href="testresult.xsl"?>
+<test_definition>
+  <environment build_id="" device_id="csharp_device" device_model="" device_name="N/A" host="" lite_version="" />
+  <summary test_plan_name="Empty test_plan_name">
+    <start_at>
+    </start_at>
+    <end_at>
+    </end_at>
+  </summary>
+  <suite category="" extension="" name="C#" set_debug_msg="N/A" type="js">
+    <set>
+      <capabilities>
+        <capability name="http://sample.cSharp.org/feature" />
+      </capabilities>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSNotification.Notitification_INIT" priority="" purpose="Test : Notification constructor - Object should not be null after initialization" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSNotification.Notitification_PROPERTIES_SET_GET" priority="" purpose="Test : Notification's Set/Get Properties" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.Request_INIT1" priority="" purpose="Test : Request constructor with url as parameter - Object should not be null after initialization" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.Request_INIT2" priority="" purpose="Test : Request constructor with url, destination path, file name and network type as parameters - Object should not be null after initialization" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.Request_INIT3" priority="" purpose="Test : Request constructor with url, destination path, file name, network type and header as parameters - Object should not be null after initialization" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.StateChanged_CB" priority="" purpose="Test : StateChanged callback" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.ProgressChanged_CB" priority="" purpose="Test : ProgressChanged callback" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.Request_PROPERTIES_GET" priority="" purpose="Test : Request's Get Properties" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+      <testcase component="" execution_type="" id="TizenTest.Download.TSRequest.Request_PROPERTIES_SET_GET" priority="" purpose="Test : Request's Set/Get Properties" onload_delay="" result="PASS">
+        <description>
+          <test_script_entry>
+          </test_script_entry>
+        </description>
+        <result_info>
+          <actual_result>PASS</actual_result>
+          <start>
+          </start>
+          <end>
+          </end>
+          <stdout>
+          </stdout>
+          <stderr>
+          </stderr>
+        </result_info>
+      </testcase>
+    </set>
+  </suite>
+</test_definition>
\ No newline at end of file
index 4d8de53..9941902 100644 (file)
@@ -8,7 +8,7 @@
     <start_at>2016-04-20_18_37_38</start_at>
     <end_at>2016-04-20_18_37_38</end_at>
   </summary>
-  <suite name="Content">
+  <suite name="Download">
     <total_case>9</total_case>
     <pass_case>9</pass_case>
     <pass_rate>100</pass_rate>
index afe2d28..595d7c4 100755 (executable)
@@ -1,4 +1,4 @@
 # pull result file
 sdb root on
-sdb pull /home/owner/share/Content/Content.xml Result/
-sdb pull /home/owner/share/Content/summary.xml Result/
+sdb pull /home/owner/share/Download/Download.xml Result/
+sdb pull /home/owner/share/Download/summary.xml Result/
index 5dcc53d..afd2b65 100644 (file)
@@ -4,7 +4,7 @@ using Tizen.Content.Download;
 using TestFramework;
 using Tizen.Applications;
 
-namespace TizenTest.Content.Download {
+namespace TizenTest.Download {
     [TestFixture]
     [Description("Tizen.Content.Download.Notification Tests.")]
     public static class TSNotification {
index c7f6a5d..291fee1 100644 (file)
@@ -16,7 +16,7 @@ using System.Collections.ObjectModel;
 using System.Collections.Specialized;
 using System.Runtime.InteropServices;
 
-namespace TizenTest.Content.Download {
+namespace TizenTest.Download {
            
     [TestFixture]
     [Description("Tizen.Content.Download.Request Tests.")]