From: Hwankyu Jhun Date: Mon, 27 Jul 2020 07:09:24 +0000 (+0900) Subject: [Applications][Non-ACR][Separate packages from Applications.Tests] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F239500%2F2;p=test%2Ftct%2Fcsharp%2Fapi.git [Applications][Non-ACR][Separate packages from Applications.Tests] Adds: - Tizen.Applications.MessagePort.Tests - Tizen.Applications.Preference.Tests - Tizen.Applications.RPCPort.Tests - Tizen.Applications.UI.Tests - Tizen.Applications.Service.Tests Change-Id: I265a62ca26027e428dba2a03471f192c85ed40a1 Signed-off-by: Hwankyu Jhun --- diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen.sln b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen.sln rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen.csproj b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen.csproj rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs similarity index 93% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs index 97f0844..a1c5cbb 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs +++ b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/MsgPortApp.Tizen_App.cs @@ -94,7 +94,7 @@ namespace MsgPortApp.Tizen Log.Debug(TAG, "@@@@@@@ Trusted : " + e.Remote.Trusted); Log.Debug(TAG, "@@@@@@@ message: " + e.Message.GetItem("message")); - _remotePort.Send(_confirmMsg, "Tizen.Applications.Tests", "LocalPort"); + _remotePort.Send(_confirmMsg, "Tizen.Applications.MessagePort.Tests", "LocalPort"); } private void TrustedMessageReceived_Callback(object sender, MessageReceivedEventArgs e) @@ -105,7 +105,7 @@ namespace MsgPortApp.Tizen Log.Debug(TAG, "@@@@@@@ Trusted : " + e.Remote.Trusted); Log.Debug(TAG, "@@@@@@@ message: " + e.Message.GetItem("message")); - _remotePort1.Send(_confirmMsg, "Tizen.Applications.Tests", "LocalPort", true); + _remotePort1.Send(_confirmMsg, "Tizen.Applications.MessagePort.Tests", "LocalPort", true); } private void RemotePortMessageReceived_Callback(object sender, MessageReceivedEventArgs e) diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/shared/res/MsgPortApp.Tizen.png b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/shared/res/MsgPortApp.Tizen.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/shared/res/MsgPortApp.Tizen.png rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/shared/res/MsgPortApp.Tizen.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/tizen-manifest.xml similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp.Tizen/MsgPortApp.Tizen/tizen-manifest.xml diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen.sln b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen.sln rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen.csproj b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen.csproj rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs similarity index 93% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs index e05d289..25278f2 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs +++ b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/MsgPortApp1.Tizen_App.cs @@ -74,7 +74,7 @@ namespace MsgPortApp1.Tizen Log.Debug(TAG, "@@@@@@@ Trusted : " + e.Remote.Trusted); Log.Debug(TAG, "@@@@@@@ message: " + e.Message.GetItem("message")); - _remotePort.Send(_confirmMsg, "Tizen.Applications.Tests", "LocalPort"); + _remotePort.Send(_confirmMsg, "Tizen.Applications.MessagePort.Tests", "LocalPort"); } static void Main(string[] args) diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/shared/res/MsgPortApp1.Tizen.png b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/shared/res/MsgPortApp1.Tizen.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/shared/res/MsgPortApp1.Tizen.png rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/shared/res/MsgPortApp1.Tizen.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/tizen-manifest.xml similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/code/MsgPortApp1.Tizen/MsgPortApp1.Tizen/tizen-manifest.xml diff --git a/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk new file mode 100755 index 0000000..f2cccfc Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk similarity index 50% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk rename to tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk index 393e8e3..2811498 100755 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Applications.MessagePort.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy.sln b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy.sln rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy.csproj b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy.csproj rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs similarity index 94% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs index 552e0ca..68dbd87 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs +++ b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/RpcPortProxy_App.cs @@ -23,7 +23,7 @@ namespace RpcPortProxy private void OnTimeout(object state) { - Connect("Tizen.Applications.Tests", "Test"); + Connect("Tizen.Applications.RPCPort.Tests", "Test"); _timer.Dispose(); _timer = null; } diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/shared/res/RpcPortProxy.png b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/shared/res/RpcPortProxy.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/shared/res/RpcPortProxy.png rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/shared/res/RpcPortProxy.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml similarity index 84% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml index 14e26a9..5401ef0 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml +++ b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy/RpcPortProxy/tizen-manifest.xml @@ -1,10 +1,10 @@  - + RpcPortProxy.png - + @@ -12,5 +12,6 @@ http://tizen.org/privilege/appmanager.launch http://tizen.org/privilege/datasharing + diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2.sln b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2.sln rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2.csproj b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2.csproj rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2_App.cs b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2_App.cs similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/RpcPortProxy2_App.cs diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/shared/res/RpcPortProxy2.png b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/shared/res/RpcPortProxy2.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/shared/res/RpcPortProxy2.png rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/shared/res/RpcPortProxy2.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml similarity index 92% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml index d597d54..a72a288 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml +++ b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortProxy2/RpcPortProxy2/tizen-manifest.xml @@ -4,7 +4,7 @@ RpcPortProxy2.png - + diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub.sln b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub.sln rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub.csproj b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub.csproj rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub_App.cs b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub_App.cs similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/RpcPortStub_App.cs diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/shared/res/RpcPortStub.png b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/shared/res/RpcPortStub.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/shared/res/RpcPortStub.png rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/shared/res/RpcPortStub.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml similarity index 81% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml index 8c3e00c..0f7f97c 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml +++ b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub/RpcPortStub/tizen-manifest.xml @@ -1,12 +1,13 @@  - + RpcPortStub.png - + + diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2.sln b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2.sln similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2.sln rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2.sln diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2.csproj b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2.csproj similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2.csproj rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2.csproj diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2_App.cs b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2_App.cs similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2_App.cs rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/RpcPortStub2_App.cs diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/shared/res/RpcPortStub2.png b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/shared/res/RpcPortStub2.png similarity index 100% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/shared/res/RpcPortStub2.png rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/shared/res/RpcPortStub2.png diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml similarity index 81% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml index 19d1292..d544517 100755 --- a/tct-suite-vs/Resource/Tizen.Applications.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml +++ b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/code/org.tizen.example.RpcPortStub2/RpcPortStub2/tizen-manifest.xml @@ -1,12 +1,13 @@  - + RpcPortStub2.png - + + diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk similarity index 50% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk index 13c3956..3558160 100755 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk similarity index 50% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk index 156e826..fa34441 100755 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortProxy2-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk new file mode 100755 index 0000000..84c1134 Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk similarity index 51% rename from tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk rename to tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk index b41ad60..41056fd 100755 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.example.RpcPortStub-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Applications.RPCPort.Tests/org.tizen.example.RpcPortStub2-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk deleted file mode 100755 index 4ff1361..0000000 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp.Tizen-1.0.0.tpk and /dev/null differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk deleted file mode 100755 index bde88fa..0000000 Binary files a/tct-suite-vs/Resource/Tizen.Applications.Tests/org.tizen.MsgPortApp1.Tizen-1.0.0.tpk and /dev/null differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/UIApp.Tizen.tpk b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/UIApp.Tizen.tpk new file mode 100755 index 0000000..5c8350e Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/UIApp.Tizen.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/Properties/AssemblyInfo.cs b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/Properties/AssemblyInfo.cs new file mode 100755 index 0000000..62d6fd5 --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("UIApp.Tizen")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("UIApp.Tizen")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5b2a12a4-6ed7-4cd1-8371-46daf5c4e611")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.cs b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.cs new file mode 100755 index 0000000..fb9afee --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.cs @@ -0,0 +1,20 @@ +using System; + +namespace UIApp.Tizen +{ + class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication + { + protected override void OnCreate() + { + base.OnCreate(); + LoadApplication(new App()); + } + + static void Main(string[] args) + { + var app = new Program(); + global::Xamarin.Forms.Platform.Tizen.Forms.Init(app); + app.Run(args); + } + } +} diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.csproj b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.csproj new file mode 100755 index 0000000..20ce550 --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.csproj @@ -0,0 +1,91 @@ + + + + 14.0 + Debug + AnyCPU + 8.0.30703 + 2.0 + {2F98DAC9-6F16-457B-AED7-D43CAC379341};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611} + Exe + Properties + UIApp.Tizen + UIApp.Tizen + 512 + en-US + + + .NETCoreApp + v2.0 + false + .NETCoreApp,Version=v2.0 + tizen.4.0.0-armel + true + $(NoWarn);1701 + false + + + true + portable + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + portable + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory) + <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory) + true + + + + + + True + + + + + + + + \ No newline at end of file diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.project.json b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.project.json new file mode 100755 index 0000000..c76a986 --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.project.json @@ -0,0 +1,26 @@ +{ + "buildOptions": { + "emitEntryPoint": true, + "debugType": "portable", + "platform": "AnyCPU", + "preserveCompilationContext": true + }, + "dependencies": { + "Microsoft.NETCore.App": "2.0.0-preview1-002111-00", + "Tizen.Applications.Common": "1.5.8", + "Tizen.Applications.UI": "1.5.8", + "Xamarin.Forms": "2.3.5.256-pre6", + "Xamarin.Forms.Platform.Tizen": "2.3.5-r256-001" + }, + "runtimes": { + "tizen.4.0.0-armel": {} + }, + "frameworks": { + "netcoreapp2.0": { + "imports": [ + "portable-net45+wp80+win81+wpa81", + "netstandard1.6" + ] + } + } +} \ No newline at end of file diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.sln b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.sln new file mode 100755 index 0000000..f2f9350 --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.Tizen.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UIApp.Tizen", "UIApp.Tizen.csproj", "{5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B2A12A4-6ED7-4CD1-8371-46DAF5C4E611}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.cs b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.cs new file mode 100755 index 0000000..cb5fa44 --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/UIApp.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +using Xamarin.Forms; + +namespace UIApp +{ + public class App : Application + { + public App() + { + // The root page of your application + MainPage = new ContentPage + { + Content = new StackLayout + { + VerticalOptions = LayoutOptions.Center, + Children = { + new Label { + HorizontalTextAlignment = TextAlignment.Center, + Text = "Welcome to Xamarin Forms!" + } + } + } + }; + } + + protected override void OnStart() + { + // Handle when your app starts + } + + protected override void OnSleep() + { + // Handle when your app sleeps + } + + protected override void OnResume() + { + // Handle when your app resumes + } + } +} diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/shared/res/UIApp.Tizen.png b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/shared/res/UIApp.Tizen.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/shared/res/UIApp.Tizen.png differ diff --git a/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/tizen-manifest.xml new file mode 100755 index 0000000..02d595f --- /dev/null +++ b/tct-suite-vs/Resource/Tizen.Applications.UI.Tests/code/UIApp.Tizen/tizen-manifest.xml @@ -0,0 +1,14 @@ + + + + + UIApp.Tizen.png + + + diff --git a/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Program.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Program.cs new file mode 100755 index 0000000..119c8b2 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Program.cs @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 + */ + +using System; +using NUnitLite.TUnit; +using AutoTemplate; + +namespace XamarinForTizen.Tizen +{ + + 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); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.csproj b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.csproj new file mode 100755 index 0000000..dda4f4a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.csproj @@ -0,0 +1,41 @@ + + + + + Exe + tizen80 + Tizen + + + + + true + + + + portable + + + None + + + + + + + + + + + Runtime + + + + + + + + + + + diff --git a/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.sln b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.sln new file mode 100755 index 0000000..261fb15 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/Tizen.Applications.MessagePort.Tests.sln @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.MessagePort.Tests", "Tizen.Applications.MessagePort.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680} + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Tizen.Applications.MessagePort.Tests/shared/res/Tizen.Applications.MessagePort.Tests.png b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/shared/res/Tizen.Applications.MessagePort.Tests.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/shared/res/Tizen.Applications.MessagePort.Tests.png differ diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSMessagePort.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs rename to tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSMessagePort.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSMessageReceivedEventArgs.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs rename to tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSMessageReceivedEventArgs.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemotePort.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs rename to tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemotePort.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemotePortStateChangedEventArgs.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs rename to tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemotePortStateChangedEventArgs.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemoteValues.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs rename to tct-suite-vs/Tizen.Applications.MessagePort.Tests/testcase/TSRemoteValues.cs diff --git a/tct-suite-vs/Tizen.Applications.MessagePort.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/tizen-manifest.xml new file mode 100755 index 0000000..471ae80 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.MessagePort.Tests/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + Tizen.Applications.MessagePort.Tests.png + + + + http://tizen.org/privilege/appmanager.launch + + diff --git a/tct-suite-vs/Tizen.Applications.Preference.Tests/Program.cs b/tct-suite-vs/Tizen.Applications.Preference.Tests/Program.cs new file mode 100755 index 0000000..129489a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Preference.Tests/Program.cs @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 + */ + +using System; +using NUnitLite.TUnit; +using AutoTemplate; + +namespace XamarinForTizen.Tizen +{ + + 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); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.csproj b/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.csproj new file mode 100755 index 0000000..f837ac3 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.csproj @@ -0,0 +1,40 @@ + + + + + Exe + tizen80 + Tizen + + + + + true + + + + portable + + + None + + + + + + + + + + + Runtime + + + + + + + + + + diff --git a/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.sln b/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.sln new file mode 100755 index 0000000..aa57414 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Preference.Tests/Tizen.Applications.Preference.Tests.sln @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.Preference.Tests", "Tizen.Applications.Preference.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680} + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Tizen.Applications.Preference.Tests/shared/res/Tizen.Applications.Preference.Tests.png b/tct-suite-vs/Tizen.Applications.Preference.Tests/shared/res/Tizen.Applications.Preference.Tests.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Tizen.Applications.Preference.Tests/shared/res/Tizen.Applications.Preference.Tests.png differ diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs b/tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreference.EventContext.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs rename to tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreference.EventContext.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs b/tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreference.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs rename to tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreference.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreferenceChangedEventArgs.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs rename to tct-suite-vs/Tizen.Applications.Preference.Tests/testcase/TSPreferenceChangedEventArgs.cs diff --git a/tct-suite-vs/Tizen.Applications.Preference.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Applications.Preference.Tests/tizen-manifest.xml new file mode 100755 index 0000000..85578fc --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Preference.Tests/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + Tizen.Applications.Preference.Tests.png + + + + http://tizen.org/privilege/appmanager.launch + + diff --git a/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Program.cs b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Program.cs new file mode 100755 index 0000000..129489a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Program.cs @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 + */ + +using System; +using NUnitLite.TUnit; +using AutoTemplate; + +namespace XamarinForTizen.Tizen +{ + + 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); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.csproj b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.csproj new file mode 100755 index 0000000..f837ac3 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.csproj @@ -0,0 +1,40 @@ + + + + + Exe + tizen80 + Tizen + + + + + true + + + + portable + + + None + + + + + + + + + + + Runtime + + + + + + + + + + diff --git a/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.sln b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.sln new file mode 100755 index 0000000..add5780 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/Tizen.Applications.RPCPort.Tests.sln @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.RPCPort.Tests", "Tizen.Applications.RPCPort.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680} + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Tizen.Applications.RPCPort.Tests/shared/res/Tizen.Applications.RPCPort.Tests.png b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/shared/res/Tizen.Applications.RPCPort.Tests.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/shared/res/Tizen.Applications.RPCPort.Tests.png differ diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.Exceptions.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs rename to tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.Exceptions.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.Parcel.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs rename to tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.Parcel.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.ProxyBase.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs rename to tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.ProxyBase.cs diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.StubBase.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs rename to tct-suite-vs/Tizen.Applications.RPCPort.Tests/testcase/TSRPCPort.StubBase.cs diff --git a/tct-suite-vs/Tizen.Applications.RPCPort.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/tizen-manifest.xml new file mode 100755 index 0000000..17b179b --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.RPCPort.Tests/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + Tizen.Applications.RPCPort.Tests.png + + + + + + http://tizen.org/privilege/appmanager.launch + http://tizen.org/privilege/datasharing + + + + diff --git a/tct-suite-vs/Tizen.Applications.Service.Tests/Program.cs b/tct-suite-vs/Tizen.Applications.Service.Tests/Program.cs new file mode 100755 index 0000000..129489a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Service.Tests/Program.cs @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 + */ + +using System; +using NUnitLite.TUnit; +using AutoTemplate; + +namespace XamarinForTizen.Tizen +{ + + 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); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.csproj b/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.csproj new file mode 100755 index 0000000..f837ac3 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.csproj @@ -0,0 +1,40 @@ + + + + + Exe + tizen80 + Tizen + + + + + true + + + + portable + + + None + + + + + + + + + + + Runtime + + + + + + + + + + diff --git a/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.sln b/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.sln new file mode 100755 index 0000000..3a8d5c0 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Service.Tests/Tizen.Applications.Service.Tests.sln @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.Service.Tests", "Tizen.Applications.Service.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680} + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Tizen.Applications.Service.Tests/shared/res/Tizen.Applications.Service.Tests.png b/tct-suite-vs/Tizen.Applications.Service.Tests/shared/res/Tizen.Applications.Service.Tests.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Tizen.Applications.Service.Tests/shared/res/Tizen.Applications.Service.Tests.png differ diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs b/tct-suite-vs/Tizen.Applications.Service.Tests/testcase/TSServiceApplication.cs similarity index 100% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs rename to tct-suite-vs/Tizen.Applications.Service.Tests/testcase/TSServiceApplication.cs diff --git a/tct-suite-vs/Tizen.Applications.Service.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Applications.Service.Tests/tizen-manifest.xml new file mode 100755 index 0000000..4696084 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.Service.Tests/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + Tizen.Applications.Service.Tests.png + + + + http://tizen.org/privilege/appmanager.launch + + diff --git a/tct-suite-vs/Tizen.Applications.Tests/Tizen.Applications.Tests.sln b/tct-suite-vs/Tizen.Applications.Tests/Tizen.Applications.Tests.sln index d9a01af..3b986c6 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/Tizen.Applications.Tests.sln +++ b/tct-suite-vs/Tizen.Applications.Tests/Tizen.Applications.Tests.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26730.15 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 MinimumVisualStudioVersion = 15.0.26124.0 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.Tests", "Tizen.Applications.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" EndProject @@ -58,10 +58,16 @@ Global {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.NUI|Any CPU.ActiveCfg = Debug|Any CPU - {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.NUI|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs index 858a57c..cd705ee 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs @@ -386,45 +386,6 @@ namespace Tizen.Applications.Tests } [Test] - [Category("P1")] - [Description("Test : Send Terminate Request - UI app should be terminated")] - [Property("SPEC", "Tizen.Applications.AppControl.SendTerminateRequest M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")] - public async Task SendTerminateRequest_TO_A_UI_APP() - { - /* PRECONDITION - * Install org.tizen.example.UIApp.Tizen.tpk - * Privilege: http://tizen.org/privilege/appmanager.launch - * */ - - /* TEST CODE */ - AppControl MyAppControl = new Tizen.Applications.AppControl(true); - Assert.IsNotNull(MyAppControl, "Object should not be null after initializing"); - - MyAppControl.Operation = AppControlOperations.Default; - MyAppControl.ApplicationId = MyUIAppId; - MyAppControl.LaunchMode = AppControlLaunchMode.Group; - - Tizen.Applications.AppControl.SendLaunchRequest(MyAppControl, AppControlReplyReceivedCallback); - await waitFlag(); - Assert.IsTrue(_flag, MyUIAppId + "should be running after launching request has sent"); - - bool IsRunning = false; - Tizen.Applications.AppControl.SendTerminateRequest(MyAppControl); - _runningApps = ApplicationManager.GetRunningApplicationsAsync(); - - _list = await _runningApps; - foreach (var app in _list) - { - if (app.ApplicationId == MyUIAppId) - IsRunning = true; - } - Assert.IsTrue(!IsRunning, MyUIAppId + "should not be running after terminating request has sent"); - } - - [Test] [Category("P2")] [Description("SendTerminateRequest - Send terminate request with null argument")] [Property("SPEC", "Tizen.Applications.AppControl.SendTerminateRequest M")] diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/Program.cs b/tct-suite-vs/Tizen.Applications.UI.Tests/Program.cs new file mode 100755 index 0000000..129489a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/Program.cs @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 + */ + +using System; +using NUnitLite.TUnit; +using AutoTemplate; + +namespace XamarinForTizen.Tizen +{ + + 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); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.csproj b/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.csproj new file mode 100755 index 0000000..f837ac3 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.csproj @@ -0,0 +1,40 @@ + + + + + Exe + tizen80 + Tizen + + + + + true + + + + portable + + + None + + + + + + + + + + + Runtime + + + + + + + + + + diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.sln b/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.sln new file mode 100755 index 0000000..1cdbb88 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/Tizen.Applications.UI.Tests.sln @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.UI.Tests", "Tizen.Applications.UI.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU + {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU + {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU + {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU + {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680} + EndGlobalSection +EndGlobal diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/shared/res/Tizen.Applications.UI.Tests.png b/tct-suite-vs/Tizen.Applications.UI.Tests/shared/res/Tizen.Applications.UI.Tests.png new file mode 100755 index 0000000..9765b1b Binary files /dev/null and b/tct-suite-vs/Tizen.Applications.UI.Tests/shared/res/Tizen.Applications.UI.Tests.png differ diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSAppControl.cs b/tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSAppControl.cs new file mode 100755 index 0000000..11a2825 --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSAppControl.cs @@ -0,0 +1,93 @@ +using NUnit.Framework; +using NUnit.Framework.TUnit; +using System.Collections.Generic; +using System.Threading.Tasks; +using System; + +namespace Tizen.Applications.Tests +{ + + [TestFixture] + [Description("Tizen.Applications.AppControl Test launch other application")] + public class AppControlTests + { + private Task> _runningApps; + private IEnumerable _list; + private const string MyUIAppId = "org.tizen.example.UIApp.Tizen"; + private bool _flag; + + [SetUp] + public void Init() + { + _flag = false; + LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); + } + + [TearDown] + public void Destroy() + { + _flag = false; + LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); + } + + public async Task waitFlag() + { + int count = 0; + while (true) + { + await Task.Delay(500); + count++; + if (_flag) + break; + if (count == 4) + break; + } + } + + void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result) + { + if (result >= 0) + _flag = true; + } + + + [Test] + [Category("P1")] + [Description("Test : Send Terminate Request - UI app should be terminated")] + [Property("SPEC", "Tizen.Applications.AppControl.SendTerminateRequest M")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "MR")] + [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")] + public async Task SendTerminateRequest_TO_A_UI_APP() + { + /* PRECONDITION + * Install org.tizen.example.UIApp.Tizen.tpk + * Privilege: http://tizen.org/privilege/appmanager.launch + * */ + + /* TEST CODE */ + AppControl MyAppControl = new Tizen.Applications.AppControl(true); + Assert.IsNotNull(MyAppControl, "Object should not be null after initializing"); + + MyAppControl.Operation = AppControlOperations.Default; + MyAppControl.ApplicationId = MyUIAppId; + MyAppControl.LaunchMode = AppControlLaunchMode.Group; + + Tizen.Applications.AppControl.SendLaunchRequest(MyAppControl, AppControlReplyReceivedCallback); + await waitFlag(); + Assert.IsTrue(_flag, MyUIAppId + "should be running after launching request has sent"); + + bool IsRunning = false; + Tizen.Applications.AppControl.SendTerminateRequest(MyAppControl); + _runningApps = ApplicationManager.GetRunningApplicationsAsync(); + + _list = await _runningApps; + foreach (var app in _list) + { + if (app.ApplicationId == MyUIAppId) + IsRunning = true; + } + Assert.IsTrue(!IsRunning, MyUIAppId + "should not be running after terminating request has sent"); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs b/tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSCoreUIApplication.cs similarity index 97% rename from tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs rename to tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSCoreUIApplication.cs index 5afb321..ae5c9f5 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/testcase/TSCoreUIApplication.cs @@ -1,55 +1,55 @@ -using NUnit.Framework; -using NUnit.Framework.TUnit; - -namespace Tizen.Applications.Tests -{ - [TestFixture] - [Description("TSCoreUIApplication init test")] - public class CoreUIApplicationTests - { - [SetUp] - public void Init() - { - LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); - } - - [TearDown] - public void Destroy() - { - LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); - } - - [Test] - [Category("P1")] - [Description("UIApplication() constructor.")] - [Property("SPEC", "Tizen.Applications.CoreUIApplication.CoreUIApplication C")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "CONSTR")] - [Property("AUTHOR", "Nguyen Duc Han, duchan.ng.d@samsung.com")] - public void CoreUIApplication_INIT() - { - /* TEST CODE */ - Application app = new CoreUIApplication(); - Assert.IsNotNull(app, "Application should be not null after init"); - } - - [Test] - [Category("P1")] - [Description("Test : Check whether CurrentDeviceOrientation returns expected value or not")] - [Property("SPEC", "Tizen.Applications.CoreUIApplication.CurrentDeviceOrientation A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRO")] - [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")] - public void CurrentDeviceOrientation_PROPERTY_GET() - { - CoreUIApplication app = new CoreUIApplication(); - var deviceOrientation = app.CurrentDeviceOrientation; - Assert.IsInstanceOf(deviceOrientation); +using NUnit.Framework; +using NUnit.Framework.TUnit; + +namespace Tizen.Applications.Tests +{ + [TestFixture] + [Description("TSCoreUIApplication init test")] + public class CoreUIApplicationTests + { + [SetUp] + public void Init() + { + LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); + } + + [TearDown] + public void Destroy() + { + LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); + } + + [Test] + [Category("P1")] + [Description("UIApplication() constructor.")] + [Property("SPEC", "Tizen.Applications.CoreUIApplication.CoreUIApplication C")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "Nguyen Duc Han, duchan.ng.d@samsung.com")] + public void CoreUIApplication_INIT() + { + /* TEST CODE */ + Application app = new CoreUIApplication(); + Assert.IsNotNull(app, "Application should be not null after init"); + } + + [Test] + [Category("P1")] + [Description("Test : Check whether CurrentDeviceOrientation returns expected value or not")] + [Property("SPEC", "Tizen.Applications.CoreUIApplication.CurrentDeviceOrientation A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "PRO")] + [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")] + public void CurrentDeviceOrientation_PROPERTY_GET() + { + CoreUIApplication app = new CoreUIApplication(); + var deviceOrientation = app.CurrentDeviceOrientation; + Assert.IsInstanceOf(deviceOrientation); Assert.IsTrue((deviceOrientation == DeviceOrientation.Orientation_0) || (deviceOrientation == DeviceOrientation.Orientation_90) || (deviceOrientation == DeviceOrientation.Orientation_180) || - (deviceOrientation == DeviceOrientation.Orientation_270), - "Property \"CurrentDeviceOrientation\": should be Orientation_0 or Orientation_90 or Orientation_180 or Orientation_270"); - } - } -} + (deviceOrientation == DeviceOrientation.Orientation_270), + "Property \"CurrentDeviceOrientation\": should be Orientation_0 or Orientation_90 or Orientation_180 or Orientation_270"); + } + } +} diff --git a/tct-suite-vs/Tizen.Applications.UI.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Applications.UI.Tests/tizen-manifest.xml new file mode 100755 index 0000000..661608a --- /dev/null +++ b/tct-suite-vs/Tizen.Applications.UI.Tests/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + Tizen.Applications.UI.Tests.png + + + + http://tizen.org/privilege/appmanager.launch + +