From: Haesu Gwon Date: Tue, 27 Sep 2022 04:31:10 +0000 (+0900) Subject: [Multimedia.UI][TCSACR-508] Deprecate constructors related to ElmSharp X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F282096%2F1;p=test%2Ftct%2Fcsharp%2Fapi.git [Multimedia.UI][TCSACR-508] Deprecate constructors related to ElmSharp Change-Id: Id9a5fbfda2825ba166a1f26fff15ab76b4b082b3 --- diff --git a/tct-suite-vs/CSharpTCT.sln b/tct-suite-vs/CSharpTCT.sln index e05b324..7fe41ab 100644 --- a/tct-suite-vs/CSharpTCT.sln +++ b/tct-suite-vs/CSharpTCT.sln @@ -292,8 +292,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Camera.UI.Tests", "Ti EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.MediaPlayer.UI.Tests", "Tizen.MediaPlayer.UI.Tests\Tizen.MediaPlayer.UI.Tests.csproj", "{4560B0CB-0B12-4D94-B087-F4B254F339CB}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Multimedia.UI.Tests", "Tizen.Multimedia.UI.Tests\Tizen.Multimedia.UI.Tests.csproj", "{6368FD9B-9DE8-4C22-AA8A-0E16733614A1}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.System.PowerUsage.Tests", "Tizen.System.PowerUsage.Tests\Tizen.System.PowerUsage.Tests.csproj", "{DF07F9B3-C135-4994-8F15-BEE3090AD4EF}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.NUI.WindowSystem.Manual.Tests", "Tizen.NUI.WindowSystem.Manual.Tests\Tizen.NUI.WindowSystem.Manual.Tests.csproj", "{F67ECFE8-840E-49AA-9174-25A1A84E3D74}" diff --git a/tct-suite-vs/Tizen.Multimedia.UI.Tests/Program.cs b/tct-suite-vs/Tizen.Multimedia.UI.Tests/Program.cs deleted file mode 100755 index 129489a..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/Program.cs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.csproj b/tct-suite-vs/Tizen.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.csproj deleted file mode 100755 index b23e538..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Exe -tizen10.0 - Tizen - - - - - true - - - - portable - - - None - - - - - - - - - - - Runtime - - - - - - - - - - - diff --git a/tct-suite-vs/Tizen.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.sln b/tct-suite-vs/Tizen.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.sln deleted file mode 100755 index d7b1efe..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/Tizen.Multimedia.UI.Tests.sln +++ /dev/null @@ -1,92 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26730.15 -MinimumVisualStudioVersion = 15.0.26124.0 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Multimedia.UI.Tests", "Tizen.Multimedia.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 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Multimedia.Support.Library", "..\Tizen.Multimedia.Support.Library\Tizen.Multimedia.Support.Library.csproj", "{612D4512-0652-41F2-A192-426C76BE99F1}" -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 - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|x64.ActiveCfg = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|x64.Build.0 = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|x86.ActiveCfg = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Debug|x86.Build.0 = Debug|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Release|Any CPU.Build.0 = Release|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Release|x64.ActiveCfg = Release|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Release|x64.Build.0 = Release|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.Release|x86.ActiveCfg = Release|Any CPU - {612D4512-0652-41F2-A192-426C76BE99F1}.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.Multimedia.UI.Tests/shared/res/Tizen.Multimedia.UI.Tests.png b/tct-suite-vs/Tizen.Multimedia.UI.Tests/shared/res/Tizen.Multimedia.UI.Tests.png deleted file mode 100755 index 9765b1b..0000000 Binary files a/tct-suite-vs/Tizen.Multimedia.UI.Tests/shared/res/Tizen.Multimedia.UI.Tests.png and /dev/null differ diff --git a/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/TSDisplay.cs b/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/TSDisplay.cs deleted file mode 100644 index a98d435..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/TSDisplay.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2020 by Samsung Electronics, Inc., -// -// This software is the confidential and proprietary information -// of Samsung Electronics, Inc. ("Confidential Information"). You -// shall not disclose such Confidential Information and shall use -// it only in accordance with the terms of the license agreement -// you entered into with Samsung. - -using NUnit.Framework; -using System; -using Tizen.Multimedia; - -namespace Tizen.Multimedia.UI.Tests -{ - [TestFixture] - [Description("Tests Tizen.Multimedia.Display class")] - public class DisplayTests - { - [Test] - [Category("P1")] - [Description("Construction with MediaView")] - [Property("SPEC", "Tizen.Multimedia.Display.Display C")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "CONSTR")] - [Property("COVPARAM", "MediaView")] - [Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")] - public void Display_WITH_MEDIA_VIEW() - { - try - { - new Display(new MediaView(new ElmSharp.Window("Test window"))); - } - catch (NotSupportedException e) - { - if (FeatureChecker.IsSupported(Features.RawVideo)) - { - Assert.Fail($"Invalid NotSupportedException; {e.Message}"); - } - } - } - - [Test] - [Category("P1")] - [Description("Construction with Window")] - [Property("SPEC", "Tizen.Multimedia.Display.Display C")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "CONSTR")] - [Property("COVPARAM", "Window")] - [Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")] - public void Display_WITH_WINDOW() - { - Assert.That(() => new Display(new ElmSharp.Window("Test window")), Throws.Nothing); - } - } -} \ No newline at end of file diff --git a/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/support/Features.cs b/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/support/Features.cs deleted file mode 100644 index 05472ea..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/testcase/support/Features.cs +++ /dev/null @@ -1,23 +0,0 @@ -/* -* Copyright (c) 2020 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. -*/ - -namespace Tizen.Multimedia.UI.Tests -{ - internal static class Features - { - internal const string RawVideo = "http://tizen.org/feature/multimedia.raw_video"; - } -} diff --git a/tct-suite-vs/Tizen.Multimedia.UI.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Multimedia.UI.Tests/tizen-manifest.xml deleted file mode 100755 index 68b13d6..0000000 --- a/tct-suite-vs/Tizen.Multimedia.UI.Tests/tizen-manifest.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Tizen.Multimedia.UI.Tests.png - - - - http://tizen.org/privilege/appmanager.launch - -