[Alarm][Non-ACR][Separate packages from Tizen.Alarm.Tests] 17/239817/6
authorInkyun Kil <inkyun.kil@samsung.com>
Thu, 30 Jul 2020 04:56:43 +0000 (13:56 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Tue, 4 Aug 2020 06:25:53 +0000 (15:25 +0900)
Change-Id: I5f172ac26fcde457b075accc481ae3bc980fb050
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
15 files changed:
tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp.csproj [new file with mode: 0755]
tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp_App.cs [new file with mode: 0755]
tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/shared/res/SampleServiceApp.png [new file with mode: 0755]
tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/tizen-manifest.xml [new file with mode: 0755]
tct-suite-vs/Resource/Tizen.Alarm.Tests/org.tizen.example.SampleServiceApp.tpk [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.Tests/Tizen.Alarm.Tests.sln
tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs
tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarmManager.cs
tct-suite-vs/Tizen.Alarm.UI.Tests/Program.cs [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.csproj [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.sln [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/shared/res/Tizen.Alarm.UI.Tests.png [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarm.cs [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarmManager.cs [new file with mode: 0755]
tct-suite-vs/Tizen.Alarm.UI.Tests/tizen-manifest.xml [new file with mode: 0755]

diff --git a/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp.csproj b/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp.csproj
new file mode 100755 (executable)
index 0000000..bd28541
--- /dev/null
@@ -0,0 +1,20 @@
+<Project Sdk="Tizen.NET.Sdk/1.0.9">
+
+  <PropertyGroup>
+    <OutputType>Exe</OutputType>
+    <TargetFramework>tizen60</TargetFramework>
+  </PropertyGroup>
+
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugType>portable</DebugType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>None</DebugType>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <Folder Include="lib\"/>
+    <Folder Include="res\"/>
+  </ItemGroup>
+
+</Project>
diff --git a/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp_App.cs b/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/SampleServiceApp_App.cs
new file mode 100755 (executable)
index 0000000..036dc61
--- /dev/null
@@ -0,0 +1,53 @@
+using Tizen.Applications;
+
+namespace SampleServiceApp
+{
+    class App : ServiceApplication
+    {
+        protected override void OnCreate()
+        {
+            base.OnCreate();
+        }
+
+        protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
+        {
+            base.OnAppControlReceived(e);
+        }
+
+        protected override void OnDeviceOrientationChanged(DeviceOrientationEventArgs e)
+        {
+            base.OnDeviceOrientationChanged(e);
+        }
+
+        protected override void OnLocaleChanged(LocaleChangedEventArgs e)
+        {
+            base.OnLocaleChanged(e);
+        }
+
+        protected override void OnLowBattery(LowBatteryEventArgs e)
+        {
+            base.OnLowBattery(e);
+        }
+
+        protected override void OnLowMemory(LowMemoryEventArgs e)
+        {
+            base.OnLowMemory(e);
+        }
+
+        protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
+        {
+            base.OnRegionFormatChanged(e);
+        }
+
+        protected override void OnTerminate()
+        {
+            base.OnTerminate();
+        }
+
+        static void Main(string[] args)
+        {
+            App app = new App();
+            app.Run(args);
+        }
+    }
+}
diff --git a/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/shared/res/SampleServiceApp.png b/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/shared/res/SampleServiceApp.png
new file mode 100755 (executable)
index 0000000..9f3cb98
Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/shared/res/SampleServiceApp.png differ
diff --git a/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/tizen-manifest.xml b/tct-suite-vs/Resource/Tizen.Alarm.Tests/code/org.tizen.SampleServiceApp.Tizen/tizen-manifest.xml
new file mode 100755 (executable)
index 0000000..e7759a3
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest package="org.tizen.example.SampleServiceApp" version="1.0.0" api-version="5.5" xmlns="http://tizen.org/ns/packages">
+    <profile name="common" />
+    <service-application appid="org.tizen.example.SampleServiceApp" exec="SampleServiceApp.dll" multiple="false" nodisplay="true" taskmanage="false" api-version="6" type="dotnet">
+        <label>SampleServiceApp</label>
+        <icon>SampleServiceApp.png</icon>
+        <background-category value="iot-communication" />
+        <splash-screens />
+    </service-application>
+    <shortcut-list />
+    <dependencies />
+    <provides-appdefined-privileges />
+</manifest>
diff --git a/tct-suite-vs/Resource/Tizen.Alarm.Tests/org.tizen.example.SampleServiceApp.tpk b/tct-suite-vs/Resource/Tizen.Alarm.Tests/org.tizen.example.SampleServiceApp.tpk
new file mode 100755 (executable)
index 0000000..47b72fe
Binary files /dev/null and b/tct-suite-vs/Resource/Tizen.Alarm.Tests/org.tizen.example.SampleServiceApp.tpk differ
index 3ffa4b3..e7d6b17 100755 (executable)
@@ -1,72 +1,78 @@
-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.Alarm.Tests", "Tizen.Alarm.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}.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}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU
-       EndGlobalSection
-       GlobalSection(SolutionProperties) = preSolution
-               HideSolutionNode = FALSE
-       EndGlobalSection
-       GlobalSection(ExtensibilityGlobals) = postSolution
-               SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680}
-       EndGlobalSection
-EndGlobal
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio Version 16\r
+VisualStudioVersion = 16.0.29806.167\r
+MinimumVisualStudioVersion = 15.0.26124.0\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Alarm.Tests", "Tizen.Alarm.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}"\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Any CPU = Debug|Any CPU\r
+               Debug|x64 = Debug|x64\r
+               Debug|x86 = Debug|x86\r
+               Release|Any CPU = Release|Any CPU\r
+               Release|x64 = Release|x64\r
+               Release|x86 = Release|x86\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+       GlobalSection(ExtensibilityGlobals) = postSolution\r
+               SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680}\r
+       EndGlobalSection\r
+EndGlobal\r
index 016cd6c..75db287 100755 (executable)
@@ -8,7 +8,7 @@ namespace Tizen.Applications.Tests
     [Description("Tizen.Applications.Alarm test")]
     public class AlarmTests
     {
-        private const string MyAppId = "Tizen.Alarm.Tests";
+        private const string MyAppId = "org.tizen.example.SampleServiceApp";
         private Alarm _alarm;
 
         [SetUp]
@@ -27,72 +27,6 @@ namespace Tizen.Applications.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test : Check the AlarmId property.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.AlarmId A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRO")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void AlarmId_READ_ONLY()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.AllDays, appControl);
-            Assert.IsNotNull(_alarm);
-            Assert.Greater(_alarm.AlarmId, 0, "Alarm Id should be greater than 0");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Check the WeekFlag property.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.WeekFlag A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRE")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        public void WeekFlag_SET_GET()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            var flag = AlarmWeekFlag.AllDays;
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.AllDays, appControl);
-            Assert.IsNotNull(_alarm);
-            Assert.AreEqual(flag, _alarm.WeekFlag, "Propety \"WeekFlag\": the set value and the get value should be equal");
-
-            var newFlag = AlarmWeekFlag.Monday;
-            _alarm.WeekFlag = newFlag;
-            Assert.AreNotEqual(flag, _alarm.WeekFlag, "Property \"WeekFlag\" : If the WeekFlag is updated, the flag should be not equal to previous flag");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Check the ScheduledDate property.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.ScheduledDate A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRO")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-
-        public void ScheduledDate_SET_GET()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            var now = DateTime.Now.AddSeconds(10);
-            var date = new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second);
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl);
-            Assert.IsNotNull(_alarm);
-            Assert.AreEqual(date, _alarm.ScheduledDate, "Propety \"ScheduledDate\": the set value and the get value should be equal");
-
-            var newDate = new DateTime(now.Year + 10, now.Month, now.Day, now.Hour, now.Minute, now.Second);
-            _alarm.ScheduledDate = newDate;
-            Assert.AreNotEqual(date.Year, _alarm.ScheduledDate.Year, "Property \"ScheduledDate\" : If the scheduledDate is updated, the date should be not equal to previous date");
-        }
-
-        [Test]
-        [Category("P1")]
         [Description("Test : Check the Period property. Period value does not guarantee the accuracy. The actual interval is calculated by the OS. The minimum value is 600sec")]
         [Property("SPEC", "Tizen.Applications.Alarm.Period A")]
         [Property("SPEC_URL", "-")]
@@ -113,71 +47,6 @@ namespace Tizen.Applications.Tests
             _alarm.Period = 6000;
             Assert.AreNotEqual(previousPeriod, _alarm.Period, "Property \"Period\" : If the period is updated, the period should be not equal to previous period");
         }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Check the AlarmAppControl property.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.AlarmAppControl A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRO")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void AlarmAppControl_READ_ONLY()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100,appControl);
-            Assert.IsNotNull(_alarm);
-            Assert.AreEqual(appControl.ApplicationId, _alarm.AlarmAppControl.ApplicationId, "Propety \"AlarmAppControl\": the set value and the get value should be equal");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Check the Global property.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.Global A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRW")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void Global_PROPERTY_SET_GET()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm);
-            _alarm.Global = true;
-            Assert.IsTrue(_alarm.Global, "Global should be true, but got false.");
-            _alarm.Global = false;
-            Assert.IsFalse(_alarm.Global, "Global should be true, but got false.");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Cancel alarm.")]
-        [Property("SPEC", "Tizen.Applications.Alarm.Cancel A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void Cancel_Alarm_RETURN_VALUE()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm);
-
-            try
-            {
-                _alarm.Cancel();
-            }
-            catch (Exception e)
-            {
-                Assert.IsTrue(false, e.Message);
-            }
-        }
     }
 
 }
index aa49720..e483373 100755 (executable)
@@ -9,7 +9,7 @@ namespace Tizen.Applications.Tests
     [Description("Tizen.Applications.Alarm test")]
     public class AlarmManagerTests
     {
-        private const string MyAppId = "Tizen.Alarm.Tests";
+        private const string MyAppId = "org.tizen.example.SampleServiceApp";
         private Alarm _alarm;
         private Alarm _alarm2;
         private Alarm _alarm3;
@@ -60,7 +60,7 @@ namespace Tizen.Applications.Tests
             appControl.Operation = AppControlOperations.Default;
 
             Assert.Throws<ArgumentException>( ()=> AlarmManager.CreateAlarm(100, 10, appControl));
-        }\r
+        }
 
         [Test]
         [Category("P1")]
@@ -91,8 +91,8 @@ namespace Tizen.Applications.Tests
             _alarm4 = AlarmManager.CreateAlarm(100, Tizen.Applications.AlarmStandardPeriod.Day, appControl);
             Assert.IsNotNull(_alarm, "CreateAlarm with day is failed");
             Assert.IsInstanceOf<Alarm>(_alarm, "_alarm is not instance of Alarm with day");
-        }\r
-\r
+        }
+
         [Test]
         [Category("P2")]
         [Description("Test : Check exception when AppControl parameter is invalid.")]
@@ -111,148 +111,6 @@ namespace Tizen.Applications.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test : Set an appcontrol alarm with delay.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "int, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_DELAY_RETURN_VALUE()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when AppControl parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "int, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_DELAY_ARGUMENT_EXCEPTION()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            appControl.Operation = AppControlOperations.Default;
-
-            Assert.Throws<ArgumentException>( ()=> AlarmManager.CreateAlarm(100, appControl));
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Set an appcontrol alarm with DateTime.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_DATETIME_RETURN_VALUE()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when AppControl parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_DATETIME_ARGUMENT_EXCEPTION()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            appControl.Operation = AppControlOperations.Default;
-
-            Assert.Throws<ArgumentException>( ()=> AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), appControl));
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Set an appcontrol alarm with week flag.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_WEEKFLAG_RETURN_VALUE()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            var date = DateTime.Now.AddSeconds(10);
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when AppControl parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
-        public void CreateAlarm_WITH_APPCONTROL_AND_WEEKFLAG_ARGUMENT_EXCEPTION()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-            appControl.Operation = AppControlOperations.Default;
-            var date = DateTime.Now.AddSeconds(10);
-
-            Assert.Throws<ArgumentException>( ()=> AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl));
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Set a notification alarm with DateTime.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_RETURN_VALUE()
-        {
-            Notifications.Notification noti;
-            noti = new Notifications.Notification
-            {
-                Title = "Notification",
-                Content = "Hello Tizen",
-                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
-                Count = 3
-            };
-
-            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), noti);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when Notification parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_ARGUMENT_EXCEPTION()
-        {
-            Notifications.Notification noti = null;
-
-            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), noti));
-        }
-
-        [Test]
-        [Category("P1")]
         [Description("Test : Set a notification alarm with Period.")]
         [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
         [Property("SPEC_URL", "-")]
@@ -272,8 +130,8 @@ namespace Tizen.Applications.Tests
 
             _alarm = AlarmManager.CreateAlarm(100, 10, noti);
             Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }\r
-\r
+        }
+
         [Test]
         [Category("P2")]
         [Description("Test : Check exception when Notification parameter is invalid.")]
@@ -324,7 +182,7 @@ namespace Tizen.Applications.Tests
             Assert.IsNotNull(_alarm, "CreateAlarm with day is failed");
             Assert.IsInstanceOf<Alarm>(_alarm, "_alarm is not instance of Alarm with day");
         }
-\r
+
         [Test]
         [Category("P2")]
         [Description("Test : Check exception when Notification parameter is invalid.")]
@@ -339,168 +197,5 @@ namespace Tizen.Applications.Tests
 
             Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(100, Tizen.Applications.AlarmStandardPeriod.FifteenMinutes, noti));
         }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Set a notification alarm with week flag.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_RETURN_VALUE()
-        {
-            Notifications.Notification noti;
-            noti = new Notifications.Notification
-            {
-                Title = "Notification",
-                Content = "Hello Tizen",
-                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
-                Count = 3
-            };
-
-            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.Sunday | AlarmWeekFlag.Monday, noti);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when Notification parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_ARGUMENT_EXCEPTION()
-        {
-            Notifications.Notification noti = null;
-
-            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.Sunday | AlarmWeekFlag.Monday, noti));
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Set a notification alarm with Delay.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_RETURN_VALUE()
-        {
-            Notifications.Notification noti;
-            noti = new Notifications.Notification
-            {
-                Title = "Notification",
-                Content = "Hello Tizen",
-                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
-                Count = 3
-            };
-
-            _alarm = AlarmManager.CreateAlarm(100, noti);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-        }
-
-        [Test]
-        [Category("P2")]
-        [Description("Test : Check exception when Notification parameter is invalid.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MEX")]
-        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
-        [Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
-        public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_ARGUMENT_EXCEPTION()
-        {
-            Notifications.Notification noti = null;
-
-            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(100, noti));
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Retrieves all registered alarms.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.GetAllScheduledAlarms M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void GetAllScheduledAlarms_RETURN_VALUE()
-        {
-            List<Alarm> alarms;
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-
-            alarms = (List<Alarm>)AlarmManager.GetAllScheduledAlarms();
-            Assert.IsNotNull(alarms, "GetAllScheduledAlarms is failed");
-            Assert.Greater(alarms.Count, 0, "GetAllScheduledAlarms is failed");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Cancel all registered alarms.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CancelAll M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void CancelAll_Alarms_RETURN_VALUE()
-        {
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-
-            try
-            {
-                AlarmManager.CancelAll();
-            }
-            catch (Exception e)
-            {
-                Assert.IsTrue(false, e.Message);
-            }
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Cancel all registered alarms and check alarm list.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.CancelAll M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MCST")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void CancelAll_Alarms_RETURN_VALUE_AND_CHECK_STATUS()
-        {
-            List<Alarm> alarms;
-            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
-
-            appControl.Operation = AppControlOperations.Default;
-            appControl.ApplicationId = MyAppId;
-            _alarm = AlarmManager.CreateAlarm(100, appControl);
-            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
-
-            AlarmManager.CancelAll();
-
-            alarms = (List<Alarm>)AlarmManager.GetAllScheduledAlarms();
-            Assert.IsNotNull(alarms, "GetAllScheduledAlarms is failed");
-            Assert.AreEqual(alarms.Count, 0, "CancelAll is failed");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Test : Check the current system time.")]
-        [Property("SPEC", "Tizen.Applications.AlarmManager.GetCurrentTime M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
-        public void GetCurrentTime_RETURN_VALUE()
-        {
-            var time = AlarmManager.GetCurrentTime();
-
-            Assert.IsNotNull(time, "GetCurrentTime is failed");
-            Assert.IsInstanceOf<DateTime>(time, "GetCurrentTime is failed");
-        }
     }
 }
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/Program.cs b/tct-suite-vs/Tizen.Alarm.UI.Tests/Program.cs
new file mode 100755 (executable)
index 0000000..129489a
--- /dev/null
@@ -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.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.csproj b/tct-suite-vs/Tizen.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.csproj
new file mode 100755 (executable)
index 0000000..f837ac3
--- /dev/null
@@ -0,0 +1,40 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <!-- Property Group for .NET Core Project -->
+  <PropertyGroup>
+    <OutputType>Exe</OutputType>
+    <TargetFramework>tizen80</TargetFramework>
+    <TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
+  </PropertyGroup>
+
+  <!-- Property Group for Tizen Project -->
+  <PropertyGroup>
+    <TizenCreateTpkOnBuild>true</TizenCreateTpkOnBuild>
+  </PropertyGroup>
+
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugType>portable</DebugType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>None</DebugType>
+  </PropertyGroup>
+
+  <ItemGroup>
+       <Folder Include="lib\" />
+  </ItemGroup>
+
+  <Import Project="..\Common\dependencies.props" />
+
+  <ItemGroup>
+    <PackageReference Include="Tizen.NET" Version="$(TizenNETVersion)">
+      <ExcludeAssets>Runtime</ExcludeAssets>
+    </PackageReference>
+    <PackageReference Include="Tizen.NET.Sdk" Version="$(TizenNETSdkVersion)" />
+  </ItemGroup>
+
+  <!-- Include Nuget Package for Tizen Project building -->
+  <ItemGroup>
+    <ProjectReference Include="..\Template\AutoTemplate\AutoTemplate.csproj" />
+  </ItemGroup>
+
+</Project>
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.sln b/tct-suite-vs/Tizen.Alarm.UI.Tests/Tizen.Alarm.UI.Tests.sln
new file mode 100755 (executable)
index 0000000..95d2354
--- /dev/null
@@ -0,0 +1,78 @@
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio Version 16\r
+VisualStudioVersion = 16.0.30309.148\r
+MinimumVisualStudioVersion = 15.0.26124.0\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Alarm.UI.Tests", "Tizen.Alarm.UI.Tests.csproj", "{D92BEEAC-3B2A-45F8-8C53-53B92550404A}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunit.framework", "..\nunit.framework\nunit.framework.csproj", "{B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nunitlite", "..\nunitlite\nunitlite.csproj", "{FDB8025A-C029-461F-895E-287B4C65939B}"\r
+EndProject\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoTemplate", "..\Template\AutoTemplate\AutoTemplate.csproj", "{B11ABB0C-C3C1-4B5C-8251-A15628A775F3}"\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Any CPU = Debug|Any CPU\r
+               Debug|x64 = Debug|x64\r
+               Debug|x86 = Debug|x86\r
+               Release|Any CPU = Release|Any CPU\r
+               Release|x64 = Release|x64\r
+               Release|x86 = Release|x86\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x64.Build.0 = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {D92BEEAC-3B2A-45F8-8C53-53B92550404A}.Release|x86.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x64.Build.0 = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {B9E7C1FD-CB38-42F7-AC43-7BD2E5B4D216}.Release|x86.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x64.Build.0 = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {FDB8025A-C029-461F-895E-287B4C65939B}.Release|x86.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x64.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Debug|x86.Build.0 = Debug|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x64.Build.0 = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {B11ABB0C-C3C1-4B5C-8251-A15628A775F3}.Release|x86.Build.0 = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+       GlobalSection(ExtensibilityGlobals) = postSolution\r
+               SolutionGuid = {ED382B91-9930-40B6-B3D7-362304C78680}\r
+       EndGlobalSection\r
+EndGlobal\r
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/shared/res/Tizen.Alarm.UI.Tests.png b/tct-suite-vs/Tizen.Alarm.UI.Tests/shared/res/Tizen.Alarm.UI.Tests.png
new file mode 100755 (executable)
index 0000000..9765b1b
Binary files /dev/null and b/tct-suite-vs/Tizen.Alarm.UI.Tests/shared/res/Tizen.Alarm.UI.Tests.png differ
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarm.cs b/tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarm.cs
new file mode 100755 (executable)
index 0000000..ac8f22b
--- /dev/null
@@ -0,0 +1,160 @@
+using System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+
+namespace Tizen.Applications.Tests
+{
+    [TestFixture]
+    [Description("Tizen.Applications.Alarm test")]
+    public class AlarmTests
+    {
+        private const string MyAppId = "Tizen.Alarm.UI.Tests";
+        private Alarm _alarm;
+
+        [SetUp]
+        public void Init()
+        {
+            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Alarm TEST");
+
+        }
+
+        [TearDown]
+        public void Destroy()
+        {
+            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
+            AlarmManager.CancelAll();
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the AlarmId property.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.AlarmId A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRO")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void AlarmId_READ_ONLY()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.AllDays, appControl);
+            Assert.IsNotNull(_alarm);
+            Assert.Greater(_alarm.AlarmId, 0, "Alarm Id should be greater than 0");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the WeekFlag property.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.WeekFlag A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRE")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        public void WeekFlag_SET_GET()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            var flag = AlarmWeekFlag.AllDays;
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.AllDays, appControl);
+            Assert.IsNotNull(_alarm);
+            Assert.AreEqual(flag, _alarm.WeekFlag, "Propety \"WeekFlag\": the set value and the get value should be equal");
+
+            var newFlag = AlarmWeekFlag.Monday;
+            _alarm.WeekFlag = newFlag;
+            Assert.AreNotEqual(flag, _alarm.WeekFlag, "Property \"WeekFlag\" : If the WeekFlag is updated, the flag should be not equal to previous flag");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the ScheduledDate property.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.ScheduledDate A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRO")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+
+        public void ScheduledDate_SET_GET()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            var now = DateTime.Now.AddSeconds(10);
+            var date = new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second);
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl);
+            Assert.IsNotNull(_alarm);
+            Assert.AreEqual(date, _alarm.ScheduledDate, "Propety \"ScheduledDate\": the set value and the get value should be equal");
+
+            var newDate = new DateTime(now.Year + 10, now.Month, now.Day, now.Hour, now.Minute, now.Second);
+            _alarm.ScheduledDate = newDate;
+            Assert.AreNotEqual(date.Year, _alarm.ScheduledDate.Year, "Property \"ScheduledDate\" : If the scheduledDate is updated, the date should be not equal to previous date");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the AlarmAppControl property.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.AlarmAppControl A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRO")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void AlarmAppControl_READ_ONLY()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm);
+            Assert.AreEqual(appControl.ApplicationId, _alarm.AlarmAppControl.ApplicationId, "Propety \"AlarmAppControl\": the set value and the get value should be equal");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the Global property.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.Global A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void Global_PROPERTY_SET_GET()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm);
+            _alarm.Global = true;
+            Assert.IsTrue(_alarm.Global, "Global should be true, but got false.");
+            _alarm.Global = false;
+            Assert.IsFalse(_alarm.Global, "Global should be true, but got false.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Cancel alarm.")]
+        [Property("SPEC", "Tizen.Applications.Alarm.Cancel A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void Cancel_Alarm_RETURN_VALUE()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm);
+
+            try
+            {
+                _alarm.Cancel();
+            }
+            catch (Exception e)
+            {
+                Assert.IsTrue(false, e.Message);
+            }
+        }
+    }
+
+}
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarmManager.cs b/tct-suite-vs/Tizen.Alarm.UI.Tests/testcase/TSAlarmManager.cs
new file mode 100755 (executable)
index 0000000..de7709f
--- /dev/null
@@ -0,0 +1,336 @@
+using System;
+using System.Collections.Generic;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+
+namespace Tizen.Applications.Tests
+{
+    [TestFixture]
+    [Description("Tizen.Applications.Alarm test")]
+    public class AlarmManagerTests
+    {
+        private const string MyAppId = "Tizen.Alarm.UI.Tests";
+        private Alarm _alarm;
+        private Alarm _alarm2;
+        private Alarm _alarm3;
+        private Alarm _alarm4;
+
+        [SetUp]
+        public void Init()
+        {
+            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Alarm TEST");
+        }
+
+        [TearDown]
+        public void Destroy()
+        {
+            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
+            AlarmManager.CancelAll();
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set an appcontrol alarm with delay.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "int, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_DELAY_RETURN_VALUE()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when AppControl parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "int, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_DELAY_ARGUMENT_EXCEPTION()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            appControl.Operation = AppControlOperations.Default;
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(100, appControl));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set an appcontrol alarm with DateTime.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_DATETIME_RETURN_VALUE()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when AppControl parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_DATETIME_ARGUMENT_EXCEPTION()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            appControl.Operation = AppControlOperations.Default;
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), appControl));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set an appcontrol alarm with week flag.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_WEEKFLAG_RETURN_VALUE()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            var date = DateTime.Now.AddSeconds(10);
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when AppControl parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
+        public void CreateAlarm_WITH_APPCONTROL_AND_WEEKFLAG_ARGUMENT_EXCEPTION()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+            appControl.Operation = AppControlOperations.Default;
+            var date = DateTime.Now.AddSeconds(10);
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(date, AlarmWeekFlag.AllDays, appControl));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set a notification alarm with DateTime.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_RETURN_VALUE()
+        {
+            Notifications.Notification noti;
+            noti = new Notifications.Notification
+            {
+                Title = "Notification",
+                Content = "Hello Tizen",
+                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
+                Count = 3
+            };
+
+            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), noti);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when Notification parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_ARGUMENT_EXCEPTION()
+        {
+            Notifications.Notification noti = null;
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), noti));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set a notification alarm with week flag.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_RETURN_VALUE()
+        {
+            Notifications.Notification noti;
+            noti = new Notifications.Notification
+            {
+                Title = "Notification",
+                Content = "Hello Tizen",
+                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
+                Count = 3
+            };
+
+            _alarm = AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.Sunday | AlarmWeekFlag.Monday, noti);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when Notification parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_ARGUMENT_EXCEPTION()
+        {
+            Notifications.Notification noti = null;
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(DateTime.Now.AddSeconds(10), AlarmWeekFlag.Sunday | AlarmWeekFlag.Monday, noti));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Set a notification alarm with Delay.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_RETURN_VALUE()
+        {
+            Notifications.Notification noti;
+            noti = new Notifications.Notification
+            {
+                Title = "Notification",
+                Content = "Hello Tizen",
+                Icon = Application.Current.ApplicationInfo.SharedResourcePath,
+                Count = 3
+            };
+
+            _alarm = AlarmManager.CreateAlarm(100, noti);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+        }
+
+        [Test]
+        [Category("P2")]
+        [Description("Test : Check exception when Notification parameter is invalid.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CreateAlarm M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MEX")]
+        [Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
+        [Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
+        public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_ARGUMENT_EXCEPTION()
+        {
+            Notifications.Notification noti = null;
+
+            Assert.Throws<ArgumentException>(() => AlarmManager.CreateAlarm(100, noti));
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Retrieves all registered alarms.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.GetAllScheduledAlarms M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void GetAllScheduledAlarms_RETURN_VALUE()
+        {
+            List<Alarm> alarms;
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+
+            alarms = (List<Alarm>)AlarmManager.GetAllScheduledAlarms();
+            Assert.IsNotNull(alarms, "GetAllScheduledAlarms is failed");
+            Assert.Greater(alarms.Count, 0, "GetAllScheduledAlarms is failed");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Cancel all registered alarms.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CancelAll M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void CancelAll_Alarms_RETURN_VALUE()
+        {
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+
+            try
+            {
+                AlarmManager.CancelAll();
+            }
+            catch (Exception e)
+            {
+                Assert.IsTrue(false, e.Message);
+            }
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Cancel all registered alarms and check alarm list.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.CancelAll M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MCST")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void CancelAll_Alarms_RETURN_VALUE_AND_CHECK_STATUS()
+        {
+            List<Alarm> alarms;
+            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
+
+            appControl.Operation = AppControlOperations.Default;
+            appControl.ApplicationId = MyAppId;
+            _alarm = AlarmManager.CreateAlarm(100, appControl);
+            Assert.IsNotNull(_alarm, "CreateAlarm is failed");
+
+            AlarmManager.CancelAll();
+
+            alarms = (List<Alarm>)AlarmManager.GetAllScheduledAlarms();
+            Assert.IsNotNull(alarms, "GetAllScheduledAlarms is failed");
+            Assert.AreEqual(alarms.Count, 0, "CancelAll is failed");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test : Check the current system time.")]
+        [Property("SPEC", "Tizen.Applications.AlarmManager.GetCurrentTime M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
+        public void GetCurrentTime_RETURN_VALUE()
+        {
+            var time = AlarmManager.GetCurrentTime();
+
+            Assert.IsNotNull(time, "GetCurrentTime is failed");
+            Assert.IsInstanceOf<DateTime>(time, "GetCurrentTime is failed");
+        }
+    }
+}
diff --git a/tct-suite-vs/Tizen.Alarm.UI.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Alarm.UI.Tests/tizen-manifest.xml
new file mode 100755 (executable)
index 0000000..7b62893
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest package="Tizen.Alarm.UI.Tests" version="1.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
+    <profile name="common" />
+    <ui-application appid="Tizen.Alarm.UI.Tests" exec="Tizen.Alarm.UI.Tests.dll" multiple="false" taskmanage="true" type="dotnet" launch_mode="single">
+        <icon>Tizen.Alarm.UI.Tests.png</icon>
+        <label>Tizen.Alarm.UI.Tests</label>
+        <splash-screens />
+    </ui-application>
+    <shortcut-list />
+    <privileges>
+        <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+        <privilege>http://tizen.org/privilege/alarm.get</privilege>
+        <privilege>http://tizen.org/privilege/alarm.set</privilege>
+        <privilege>http://tizen.org/privilege/notification</privilege>
+    </privileges>
+    <dependencies />
+    <provides-appdefined-privileges />
+</manifest>