[Non-ACR][Template] Modify change template some packages from UI to service 98/240198/2
authorraycad <anh.vn@samsung.com>
Tue, 4 Aug 2020 09:17:23 +0000 (16:17 +0700)
committerraycad <anh.vn@samsung.com>
Tue, 4 Aug 2020 09:35:15 +0000 (16:35 +0700)
Change-Id: I97fd9547d695de00f6d2c0aa42ff9e08ddaa2bdd

18 files changed:
tct-suite-vs/Tizen.Camera.Tests/Program.cs
tct-suite-vs/Tizen.Camera.Tests/Tizen.Camera.Tests.csproj
tct-suite-vs/Tizen.Camera.Tests/tizen-manifest.xml
tct-suite-vs/Tizen.Camera.UI.Tests/Program.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.Camera.UI.Tests/Tizen.Camera.UI.Tests.csproj [changed mode: 0644->0755]
tct-suite-vs/Tizen.Location.Tests/Program.cs
tct-suite-vs/Tizen.Location.Tests/Tizen.Location.Tests.csproj
tct-suite-vs/Tizen.Location.Tests/tizen-manifest.xml
tct-suite-vs/Tizen.MediaPlayer.UI.Tests/Program.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.MediaPlayer.UI.Tests/Tizen.MediaPlayer.UI.Tests.csproj [changed mode: 0644->0755]
tct-suite-vs/Tizen.ScreenMirroring.Tests/Program.cs
tct-suite-vs/Tizen.ScreenMirroring.Tests/Tizen.ScreenMirroring.Tests.csproj
tct-suite-vs/Tizen.ScreenMirroring.Tests/tizen-manifest.xml
tct-suite-vs/Tizen.Securerepository.Tests/support/TestUtils.cs
tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCertificate.cs
tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCertificateManager.cs
tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSPkcs12.cs
tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSPkcs12Manager.cs

index 3df1d07..a016a9a 100755 (executable)
 
 using System;
 using NUnitLite.TUnit;
-using AutoTemplate;
+using Tizen.Applications;
 
-namespace XamarinForTizen.Tizen
+namespace TCT.Tizen
 {
 
-    class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
+    class Program : ServiceApplication
     {
-        private static App _app;
         protected override void OnCreate()
         {
             base.OnCreate();
 
             Console.WriteLine("TCT : OnCreate()");
-            _app = new App();
-            LoadApplication(_app);
 
             TRunner t = new TRunner();
             t.LoadTestsuite();
             t.Execute();
         }
 
-        public static App getApp()
-        {
-            return _app;
-        }
         static void Main(string[] args)
         {
             Console.WriteLine("TCT : Main()");
             var app = new Program();
-            global::Xamarin.Forms.Forms.Init(app);
             app.Run(args);
         }
     }
-}
\ No newline at end of file
+}
index 2c5ba9f..e8f0517 100755 (executable)
@@ -34,7 +34,8 @@
 \r
   <!-- Include Nuget Package for Tizen Project building -->\r
   <ItemGroup>\r
-    <ProjectReference Include="..\Template\AutoTemplate\AutoTemplate.csproj" />\r
+    <ProjectReference Include="..\nunit.framework\nunit.framework.csproj" />\r
+    <ProjectReference Include="..\nunitlite\nunitlite.csproj" />\r
     <ProjectReference Include="..\Tizen.Multimedia.Support.Library\Tizen.Multimedia.Support.Library.csproj" />\r
   </ItemGroup>\r
 \r
index 519fda0..f2141e6 100755 (executable)
@@ -1,15 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>\r
 <manifest xmlns="http://tizen.org/ns/packages" api-version="8" package="Tizen.Camera.Tests" version="1.0.0">\r
     <profile name="common" />\r
-    <ui-application appid="Tizen.Camera.Tests"\r
-                    exec="Tizen.Camera.Tests.dll"\r
-                    type="dotnet"\r
-                    multiple="false"\r
-                    taskmanage="true"\r
-                    launch_mode="single">\r
+    <service-application appid="Tizen.Camera.Tests" exec="Tizen.Camera.Tests.dll" type="dotnet">\r
     <icon>Tizen.Camera.Tests.png</icon>\r
     <label>Tizen.Camera.Tests</label>\r
-    </ui-application>\r
+    </service-application>\r
     <privileges>\r
       <privilege>http://tizen.org/privilege/camera</privilege>\r
       <privilege>http://tizen.org/privilege/appmanager.launch</privilege>\r
old mode 100644 (file)
new mode 100755 (executable)
index 3df1d07..a016a9a 100755 (executable)
 
 using System;
 using NUnitLite.TUnit;
-using AutoTemplate;
+using Tizen.Applications;
 
-namespace XamarinForTizen.Tizen
+namespace TCT.Tizen
 {
 
-    class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
+    class Program : ServiceApplication
     {
-        private static App _app;
         protected override void OnCreate()
         {
             base.OnCreate();
 
             Console.WriteLine("TCT : OnCreate()");
-            _app = new App();
-            LoadApplication(_app);
 
             TRunner t = new TRunner();
             t.LoadTestsuite();
             t.Execute();
         }
 
-        public static App getApp()
-        {
-            return _app;
-        }
         static void Main(string[] args)
         {
             Console.WriteLine("TCT : Main()");
             var app = new Program();
-            global::Xamarin.Forms.Forms.Init(app);
             app.Run(args);
         }
     }
-}
\ No newline at end of file
+}
index b88b5f1..9891b79 100755 (executable)
@@ -34,7 +34,8 @@
 \r
   <!-- Include Nuget Package for Tizen Project building -->\r
   <ItemGroup>\r
-    <ProjectReference Include="..\Template\AutoTemplate\AutoTemplate.csproj" />\r
+    <ProjectReference Include="..\nunit.framework\nunit.framework.csproj" />\r
+    <ProjectReference Include="..\nunitlite\nunitlite.csproj" />\r
   </ItemGroup>\r
 \r
 </Project>\r
index 8f395f0..25eb9bf 100755 (executable)
@@ -1,15 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>\r
 <manifest xmlns="http://tizen.org/ns/packages" api-version="8" package="Tizen.Location.Tests" version="1.0.0">\r
   <profile name="common" />\r
-  <ui-application appid="Tizen.Location.Tests"\r
-                  exec="Tizen.Location.Tests.dll"\r
-                  type="dotnet"\r
-                  multiple="false"\r
-                  taskmanage="true"\r
-                  launch_mode="single">\r
+  <service-application appid="Tizen.Location.Tests" exec="Tizen.Location.Tests.dll" type="dotnet">\r
     <icon>Tizen.Location.Tests.png</icon>\r
     <label>Tizen.Location.Tests</label>\r
-  </ui-application>\r
+  </service-application>\r
   <privileges>\r
     <privilege>http://tizen.org/privilege/location</privilege>\r
     <privilege>http://tizen.org/privilege/appmanager.launch</privilege>\r
index 9f05a00..3df1d07 100755 (executable)
 
 using System;
 using NUnitLite.TUnit;
-using Tizen.Applications;
+using AutoTemplate;
 
-namespace TCT.Tizen
+namespace XamarinForTizen.Tizen
 {
 
-    class Program : ServiceApplication
+    class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
     {
+        private static App _app;
         protected override void OnCreate()
         {
             base.OnCreate();
 
             Console.WriteLine("TCT : OnCreate()");
+            _app = new App();
+            LoadApplication(_app);
 
             TRunner t = new TRunner();
             t.LoadTestsuite();
             t.Execute();
         }
 
+        public static App getApp()
+        {
+            return _app;
+        }
         static void Main(string[] args)
         {
             Console.WriteLine("TCT : Main()");
             var app = new Program();
+            global::Xamarin.Forms.Forms.Init(app);
             app.Run(args);
         }
     }
index 57155e4..0a96067 100755 (executable)
@@ -34,8 +34,7 @@
 
   <!-- Include Nuget Package for Tizen Project building -->
   <ItemGroup>
-    <ProjectReference Include="..\nunit.framework\nunit.framework.csproj" />
-    <ProjectReference Include="..\nunitlite\nunitlite.csproj" />
+    <ProjectReference Include="..\Template\AutoTemplate\AutoTemplate.csproj" />
     <ProjectReference Include="..\Tizen.Multimedia.Support.Library\Tizen.Multimedia.Support.Library.csproj" />
   </ItemGroup>
 
index a7484d7..87fbe1a 100755 (executable)
@@ -1,10 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns="http://tizen.org/ns/packages" api-version="8" package="Tizen.ScreenMirroring.Tests" version="1.0.0">
     <profile name="common" />
-    <service-application appid="Tizen.ScreenMirroring.Tests" exec="Tizen.ScreenMirroring.Tests.dll" type="dotnet">
-               <icon>Tizen.ScreenMirroring.Tests.png</icon>
-               <label>Tizen.ScreenMirroring.Tests</label>
-    </service-application>
+    <ui-application appid="Tizen.ScreenMirroring.Tests"
+                    exec="Tizen.ScreenMirroring.Tests.dll"
+                    type="dotnet"
+                    multiple="false"
+                    taskmanage="true"
+                    launch_mode="single">
+    <icon>Tizen.ScreenMirroring.Tests.png</icon>
+    <label>Tizen.ScreenMirroring.Tests</label>
+    </ui-application>
   <privileges>
     <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
   </privileges>
index 25b6f76..9e55026 100755 (executable)
@@ -15,7 +15,7 @@
  */
 
 using System;
-using XamarinForTizen.Tizen;\r
+using TCT.Tizen;\r
 \r
 namespace Tizen.Security.SecureRepository.Tests
 {
index 8a7db60..2465029 100755 (executable)
@@ -15,7 +15,7 @@
  */
 
 using System;
-using XamarinForTizen.Tizen;
+using TCT.Tizen;
 using NUnit.Framework;
 
 namespace Tizen.Security.SecureRepository.Tests
index 9c5bf91..85c1e10 100755 (executable)
@@ -21,7 +21,7 @@ using System.Threading.Tasks;
 using Tizen;
 using NUnit.Framework;
 using Tizen.Security.SecureRepository;
-using XamarinForTizen.Tizen;
+using TCT.Tizen;
 
 namespace Tizen.Security.SecureRepository.Tests
 {
index 8806d6b..b5552a4 100755 (executable)
@@ -16,7 +16,7 @@
 
 using System;
 using NUnit.Framework;
-using XamarinForTizen.Tizen;
+using TCT.Tizen;
 
 namespace Tizen.Security.SecureRepository.Tests
 {
index 47b3080..ef384d4 100755 (executable)
@@ -16,7 +16,7 @@
 
 using System;
 using NUnit.Framework;
-using XamarinForTizen.Tizen;
+using TCT.Tizen;
 
 namespace Tizen.Security.SecureRepository.Tests
 {