[ComponentManager][Non-ACR][Fix wrong testcase] 23/215723/3
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 14 Oct 2019 23:04:41 +0000 (08:04 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 15 Oct 2019 01:19:21 +0000 (10:19 +0900)
- Changes component IDs
- Changes the localized lable of frame component

Change-Id: Ic6ee07fc0ea00b4bac23dedba69655bc5da12792
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tct-suite-vs/Resource/Tizen.Applications.ComponentBased.ComponentManager.Tests/ComponentBasedSample/ComponentBasedSample/ComponentBasedSample.cs
tct-suite-vs/Resource/Tizen.Applications.ComponentBased.ComponentManager.Tests/ComponentBasedSample/ComponentBasedSample/tizen-manifest.xml
tct-suite-vs/Resource/Tizen.Applications.ComponentBased.ComponentManager.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk
tct-suite-vs/Tizen.Applications.ComponentBased.ComponentManager.Tests/testcase/TSComponentInfo.cs [moved from tct-suite-vs/Tizen.Applications.ComponentBased.ComponentManager.Tests/testcase/TSComponentInfocs.cs with 96% similarity]
tct-suite-vs/Tizen.Applications.ComponentBased.ComponentManager.Tests/testcase/TSComponentManager.cs
tct-suite-vs/Tizen.Applications.ComponentBased.ComponentManager.Tests/testcase/TSComponentRunningContext.cs

index 3af0c15..835b626 100755 (executable)
@@ -29,9 +29,9 @@ namespace ComponentBasedSample
         {
             Log.Info(LogTag, "Main()");
             Dictionary<Type, string> _typeInfo = new Dictionary<Type, string>();
-            _typeInfo.Add(typeof(FrameComponentSample), "org.example.frame-component");
-            _typeInfo.Add(typeof(ServiceComponentSample), "org.example.service-component");
-            _typeInfo.Add(typeof(ServiceComponentSample2), "org.example.bg-service-component");
+            _typeInfo.Add(typeof(FrameComponentSample), "org.tizen.example.frame-component");
+            _typeInfo.Add(typeof(ServiceComponentSample), "org.tizen.example.service-component");
+            _typeInfo.Add(typeof(ServiceComponentSample2), "org.tizen.example.bg-service-component");
             var app = new EFLComponentBasedApplication(_typeInfo);
             app.Run(args);
         }
index cf2f396..35f1fc2 100755 (executable)
     <label>ComponentBasedSample</label>
     <icon>ComponentBasedSample.png</icon>
     <metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
-    <frame-component id="org.example.frame-component" taskmanage="true" icon-display="true" main="true">
+    <frame-component id="org.tizen.example.frame-component" taskmanage="true" icon-display="true" main="true">
       <label>FrameComponentSample</label>
       <icon>FrameComponentSample.png</icon>
+      <label xml:lang="en-gb">FrameComponentSample</label>
+      <label xml:lang="ko-kr">프레임 컴포넌트 샘플</label>
     </frame-component>
-    <service-component id="org.example.service-component" main="false">
+    <service-component id="org.tizen.example.service-component" main="false">
       <label>ServiceComponentSample</label>
     </service-component>
   </component-based-application>
@@ -28,7 +30,7 @@
     <label>ComponentBasedSample2</label>
     <icon>ComponentBasedSample2.png</icon>
     <metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
-    <service-component id="org.example.bg-service-component" main="true">
+    <service-component id="org.tizen.example.bg-service-component" main="true">
       <label>BGServiceComponentSample</label>
     </service-component>
   </component-based-application>
index 1e5b883..bab7396 100755 (executable)
Binary files a/tct-suite-vs/Resource/Tizen.Applications.ComponentBased.ComponentManager.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Applications.ComponentBased.ComponentManager.Tests/org.tizen.example.ComponentBasedSample-1.0.0.tpk differ
@@ -26,15 +26,15 @@ namespace Tizen.Applications.ComponentBased.Tests
 {
     [TestFixture]
     [Description("Tizen.Applications.ComponentBased.ComponentInfo Tests")]
-    public class TSComponentInfocs
+    public class TSComponentInfo
     {
         private const string LogTag = "ComponentManager.Tests";
-        private const string CompoId = "org.example.frame-component";
-        private const string ServiceCompoId = "org.example.service-component";
+        private const string CompoId = "org.tizen.example.frame-component";
+        private const string ServiceCompoId = "org.tizen.example.service-component";
         private const string AppId = "org.tizen.example.ComponentBasedSample";
         private const string IconPath = "shared/res/FrameComponentSample.png";
         private const string CompoLabel = "FrameComponentSample";
-        private const string CompoLocalizedLabel = "FrameComponentSample";
+        private const string CompoLocalizedLabel = "ÇÁ·¹ÀÓ ÄÄÆ÷³ÍÆ® »ùÇÃ";
         private ComponentInfo _compoInfo;
         private ComponentInfo _svcCompoInfo;
 
index b722ebf..2ddd8c3 100755 (executable)
@@ -32,7 +32,7 @@ namespace Tizen.Applications.ComponentBased.Tests
         private IEnumerable<ComponentInfo> _listCompo;\r
         private IEnumerable<ComponentRunningContext> _listCompoRun;\r
         private const string AppId = "org.tizen.example.ComponentBasedSample2";\r
-        private const string CompoId = "org.example.bg-service-component";\r
+        private const string CompoId = "org.tizen.example.bg-service-component";\r
         private bool _flag;\r
 \r
         [SetUp]\r
index 76eac71..32b9c04 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.Applications.ComponentBased.Tests
     {
         private const string LogTag = "ComponentManager.Tests";
         private const string AppId = "org.tizen.example.ComponentBasedSample";
-        private const string CompoId = "org.example.frame-component";
+        private const string CompoId = "org.tizen.example.frame-component";
         private ComponentRunningContext _context;
 
         [SetUp]