TCT fixes
authorAditya <a.aswani@samsung.com>
Thu, 2 Jun 2016 06:32:07 +0000 (12:02 +0530)
committerAditya <a.aswani@samsung.com>
Thu, 2 Jun 2016 08:51:34 +0000 (14:21 +0530)
Change-Id: I7694ec0a4926d784de438a08f21725f21104a722
Signed-off-by: Aditya <a.aswani@samsung.com>
Tizen.System.SystemSettings/SystemSettings.cs
tct-system-settings-tizen-tests/lib/Tizen.System.SystemSettings.dll [deleted file]
tct-system-settings-tizen-tests/src/Testcase/TSSystemSettings.cs
tct-system-settings-tizen-tests/tct-system-settings-tizen-tests.csproj [new file with mode: 0644]

index 362a5a0..0e9b8a1 100644 (file)
@@ -1026,47 +1026,6 @@ namespace Tizen.System.SystemSettings
             }
         }
 
-        private static readonly Interop.Settings.SystemSettingsChangedCallback s_defaultFontTypeChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
-        {
-            string defaultFontType = SystemSettings.DefaultFontType;
-            DefaultFontTypeChangedEventArgs eventArgs = new DefaultFontTypeChangedEventArgs(defaultFontType);
-            s_defaultFontTypeChanged?.Invoke(null, eventArgs);
-        };
-        private static event EventHandler<DefaultFontTypeChangedEventArgs> s_defaultFontTypeChanged;
-        /// <summary>
-        /// DefaultFontTypeChanged event is triggered when the current system default font type is changed
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e">A DefaultFontTypeChangedEventArgs object that contains the key & changed value</param>
-        public static event EventHandler<DefaultFontTypeChangedEventArgs> DefaultFontTypeChanged
-        {
-            add
-            {
-                if (s_defaultFontTypeChanged == null)
-                {
-                    SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsSetCallback(SystemSettingsKeys.DefaultFontType, s_defaultFontTypeChangedCallback, IntPtr.Zero);
-                    if (ret != SystemSettingsError.None)
-                    {
-                        throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
-                    }
-                }
-                s_defaultFontTypeChanged += value;
-            }
-
-            remove
-            {
-                s_defaultFontTypeChanged -= value;
-                if (s_defaultFontTypeChanged == null)
-                {
-                    SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsRemoveCallback(SystemSettingsKeys.DefaultFontType);
-                    if (ret != SystemSettingsError.None)
-                    {
-                        throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
-                    }
-                }
-            }
-        }
-
         private static readonly Interop.Settings.SystemSettingsChangedCallback s_localeCountryChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
         {
             string localeCountry = SystemSettings.LocaleCountry;
diff --git a/tct-system-settings-tizen-tests/lib/Tizen.System.SystemSettings.dll b/tct-system-settings-tizen-tests/lib/Tizen.System.SystemSettings.dll
deleted file mode 100644 (file)
index fd9c8f7..0000000
Binary files a/tct-system-settings-tizen-tests/lib/Tizen.System.SystemSettings.dll and /dev/null differ
index 1da4a29..92fadac 100644 (file)
@@ -32,10 +32,10 @@ namespace TizenTest.SystemSettings
             var setValue = "/opt/share/settings/Ringtones/ringtone_sdk.mp3";
             Tizen.System.SystemSettings.SystemSettings.IncomingCallRingtone = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.IncomingCallRingtone;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "IncomingCallRingtone_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_incomingCallRingtoneChangedCallbackCalled = false;
+        private static bool s_incomingCallRingtoneCallbackCalled = false;
         private static readonly string s_incomingCallRingtoneValue = "/opt/share/settings/Ringtones/ringtone_sdk.mp3";
         [Test]
         [Category("P1")]
@@ -44,19 +44,19 @@ namespace TizenTest.SystemSettings
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
         [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public async static Task IncomingCallRingtoneChanged_CHECK_EVENT()
+        public static async Task IncomingCallRingtoneChanged_CHECK_EVENT()
         {
             Tizen.System.SystemSettings.SystemSettings.IncomingCallRingtoneChanged += OnIncomingCallRingtoneChanged;
             Tizen.System.SystemSettings.SystemSettings.IncomingCallRingtone = s_incomingCallRingtoneValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_incomingCallRingtoneChangedCallbackCalled);
-            s_incomingCallRingtoneChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_incomingCallRingtoneCallbackCalled);
+            s_incomingCallRingtoneCallbackCalled = false;
         }
         private static void OnIncomingCallRingtoneChanged(object sender, Tizen.System.SystemSettings.IncomingCallRingtoneChangedEventArgs e)
         {
-            s_incomingCallRingtoneChangedCallbackCalled = true;
+            s_incomingCallRingtoneCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_incomingCallRingtoneValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_incomingCallRingtoneValue.CompareTo(e.Value) == 0, "OnIncomingCallRingtoneChanged: The callback should receive the latest value for the property.");
         }
 
         // WallpaperHomeScreen
@@ -74,10 +74,10 @@ namespace TizenTest.SystemSettings
             var setValue = "/opt/share/settings/Wallpapers/Home_default.jpg";
             Tizen.System.SystemSettings.SystemSettings.WallpaperHomeScreen = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.WallpaperHomeScreen;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "WallpaperHomeScreen_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_wallpaperHomeScreenChangedCallbackCalled = false;
+        private static bool s_wallpaperHomeScreenCallbackCalled = false;
         private static readonly string s_wallpaperHomeScreenValue = "/opt/share/settings/Wallpapers/Home_default.jpg";
         [Test]
         [Category("P1")]
@@ -90,18 +90,18 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.WallpaperHomeScreenChanged += OnWallpaperHomeScreenChanged;
             Tizen.System.SystemSettings.SystemSettings.WallpaperHomeScreen = s_wallpaperHomeScreenValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_wallpaperHomeScreenChangedCallbackCalled);
-            s_wallpaperHomeScreenChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_wallpaperHomeScreenCallbackCalled);
+            s_wallpaperHomeScreenCallbackCalled = false;
         }
         private static void OnWallpaperHomeScreenChanged(object sender, Tizen.System.SystemSettings.WallpaperHomeScreenChangedEventArgs e)
         {
-            s_wallpaperHomeScreenChangedCallbackCalled = true;
+            s_wallpaperHomeScreenCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_wallpaperHomeScreenValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_wallpaperHomeScreenValue.CompareTo(e.Value) == 0, "OnWallpaperHomeScreenChanged: The callback should receive the latest value for the property.");
         }
 
-        // WallpaperLockScreen
+        //WallpaperLockScreen
         [Test]
         [Category("P1")]
         [Description("Test if set/get for SystemSettings:WallpaperLockScreen is working properly")]
@@ -116,10 +116,10 @@ namespace TizenTest.SystemSettings
             var setValue = "/opt/share/settings/Wallpapers/Home_default.jpg";
             Tizen.System.SystemSettings.SystemSettings.WallpaperLockScreen = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.WallpaperLockScreen;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "WallpaperLockScreen_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_wallpaperLockScreenChangedCallbackCalled = false;
+        private static bool s_wallpaperLockScreenCallbackCalled = false;
         private static readonly string s_wallpaperLockScreenValue = "/opt/share/settings/Wallpapers/Home_default.jpg";
         [Test]
         [Category("P1")]
@@ -132,15 +132,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.WallpaperLockScreenChanged += OnWallpaperLockScreenChanged;
             Tizen.System.SystemSettings.SystemSettings.WallpaperLockScreen = s_wallpaperLockScreenValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_wallpaperLockScreenChangedCallbackCalled);
-            s_wallpaperLockScreenChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_wallpaperLockScreenCallbackCalled);
+            s_wallpaperLockScreenCallbackCalled = false;
         }
         private static void OnWallpaperLockScreenChanged(object sender, Tizen.System.SystemSettings.WallpaperLockScreenChangedEventArgs e)
         {
-            s_wallpaperLockScreenChangedCallbackCalled = true;
+            s_wallpaperLockScreenCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_wallpaperLockScreenValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_wallpaperLockScreenValue.CompareTo(e.Value) == 0, "OnWallpaperLockScreenChanged: The callback should receive the latest value for the property.");
         }
 
         // FontSize
@@ -155,34 +155,29 @@ namespace TizenTest.SystemSettings
         {
             /* TEST CODE */
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(Tizen.System.SystemSettings.SystemSettings.FontSize);
-            var setValue = Tizen.System.SystemSettings.SystemSettingsFontSize.Small;
-            Tizen.System.SystemSettings.SystemSettings.FontSize = setValue;
+
+            Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Small;
             var getValue = Tizen.System.SystemSettings.SystemSettings.FontSize;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue == Tizen.System.SystemSettings.SystemSettingsFontSize.Small, "FontSize_READ_WRITE_ALL: Set value and get value of the property should be same.");
 
-            setValue = Tizen.System.SystemSettings.SystemSettingsFontSize.Normal;
-            Tizen.System.SystemSettings.SystemSettings.FontSize = setValue;
+            Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Normal;
             getValue = Tizen.System.SystemSettings.SystemSettings.FontSize;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue == Tizen.System.SystemSettings.SystemSettingsFontSize.Normal, "FontSize_READ_WRITE_ALL: Set value and get value of the property should be same.");
 
-            setValue = Tizen.System.SystemSettings.SystemSettingsFontSize.Large;
-            Tizen.System.SystemSettings.SystemSettings.FontSize = setValue;
+            Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Large;
             getValue = Tizen.System.SystemSettings.SystemSettings.FontSize;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue == Tizen.System.SystemSettings.SystemSettingsFontSize.Large, "FontSize_READ_WRITE_ALL: Set value and get value of the property should be same.");
 
-            setValue = Tizen.System.SystemSettings.SystemSettingsFontSize.Huge;
-            Tizen.System.SystemSettings.SystemSettings.FontSize = setValue;
+            Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Huge;
             getValue = Tizen.System.SystemSettings.SystemSettings.FontSize;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue == Tizen.System.SystemSettings.SystemSettingsFontSize.Huge, "FontSize_READ_WRITE_ALL: Set value and get value of the property should be same.");
 
-            setValue = Tizen.System.SystemSettings.SystemSettingsFontSize.Giant;
-            Tizen.System.SystemSettings.SystemSettings.FontSize = setValue;
+            Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Giant;
             getValue = Tizen.System.SystemSettings.SystemSettings.FontSize;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue == Tizen.System.SystemSettings.SystemSettingsFontSize.Giant, "FontSize_READ_WRITE_ALL: Set value and get value of the property should be same.");
         }
 
-        private static bool s_fontSizeChangedCallbackCalled = false;
-
+        private static bool s_fontSizeSmallCallbackCalled = false;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:FontSizeChanged event is called")]
@@ -194,17 +189,19 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontSizeChanged += OnFontSizeChangedSmall;
             Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Small;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontSizeChangedCallbackCalled);
-            s_fontSizeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Tizen.System.SystemSettings.SystemSettings.FontSizeChanged -= OnFontSizeChangedSmall;
+            Assert.IsTrue(s_fontSizeSmallCallbackCalled);
+            s_fontSizeSmallCallbackCalled = false;
         }
         private static void OnFontSizeChangedSmall(object sender, Tizen.System.SystemSettings.FontSizeChangedEventArgs e)
         {
-            s_fontSizeChangedCallbackCalled = true;
+            s_fontSizeSmallCallbackCalled = true;
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsFontSize.Small, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsFontSize.Small, "OnFontSizeChangedSmall: The callback should receive the latest value for the property.");
         }
 
+        private static bool s_fontSizeNormalCallbackCalled = false;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:FontSizeChanged event is called")]
@@ -216,17 +213,19 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontSizeChanged += OnFontSizeChangedNormal;
             Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Normal;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontSizeChangedCallbackCalled);
-            s_fontSizeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Tizen.System.SystemSettings.SystemSettings.FontSizeChanged -= OnFontSizeChangedNormal;
+            Assert.IsTrue(s_fontSizeNormalCallbackCalled);
+            s_fontSizeNormalCallbackCalled = false;
         }
         private static void OnFontSizeChangedNormal(object sender, Tizen.System.SystemSettings.FontSizeChangedEventArgs e)
         {
-            s_fontSizeChangedCallbackCalled = true;
+            s_fontSizeNormalCallbackCalled = true;
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsFontSize.Normal, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsFontSize.Normal, "OnFontSizeChangedNormal: The callback should receive the latest value for the property.");
         }
 
+        private static bool s_fontSizeLargeCallbackCalled = false;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:FontSizeChanged event is called")]
@@ -238,17 +237,19 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontSizeChanged += OnFontSizeChangedLarge;
             Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Large;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontSizeChangedCallbackCalled);
-            s_fontSizeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Tizen.System.SystemSettings.SystemSettings.FontSizeChanged -= OnFontSizeChangedLarge;
+            Assert.IsTrue(s_fontSizeLargeCallbackCalled);
+            s_fontSizeLargeCallbackCalled = false;
         }
         private static void OnFontSizeChangedLarge(object sender, Tizen.System.SystemSettings.FontSizeChangedEventArgs e)
         {
-            s_fontSizeChangedCallbackCalled = true;
+            s_fontSizeLargeCallbackCalled = true;
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsFontSize.Large, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsFontSize.Large, "OnFontSizeChangedLarge: The callback should receive the latest value for the property.");
         }
 
+        private static bool s_fontSizeHugeCallbackCalled = false;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:FontSizeChanged event is called")]
@@ -260,17 +261,19 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontSizeChanged += OnFontSizeChangedHuge;
             Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Huge;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontSizeChangedCallbackCalled);
-            s_fontSizeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Tizen.System.SystemSettings.SystemSettings.FontSizeChanged -= OnFontSizeChangedHuge;
+            Assert.IsTrue(s_fontSizeHugeCallbackCalled);
+            s_fontSizeHugeCallbackCalled = false;
         }
         private static void OnFontSizeChangedHuge(object sender, Tizen.System.SystemSettings.FontSizeChangedEventArgs e)
         {
-            s_fontSizeChangedCallbackCalled = true;
+            s_fontSizeHugeCallbackCalled = true;
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsFontSize.Huge, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsFontSize.Huge, "OnFontSizeChangedHuge: The callback should receive the latest value for the property.");
         }
 
+        private static bool s_fontSizeGiantCallbackCalled = false;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:FontSizeChanged event is called")]
@@ -282,15 +285,16 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontSizeChanged += OnFontSizeChangedGiant;
             Tizen.System.SystemSettings.SystemSettings.FontSize = Tizen.System.SystemSettings.SystemSettingsFontSize.Giant;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontSizeChangedCallbackCalled);
-            s_fontSizeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Tizen.System.SystemSettings.SystemSettings.FontSizeChanged -= OnFontSizeChangedGiant;
+            Assert.IsTrue(s_fontSizeGiantCallbackCalled);
+            s_fontSizeGiantCallbackCalled = false;
         }
         private static void OnFontSizeChangedGiant(object sender, Tizen.System.SystemSettings.FontSizeChangedEventArgs e)
         {
-            s_fontSizeChangedCallbackCalled = true;
+            s_fontSizeGiantCallbackCalled = true;
             Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsFontSize>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsFontSize.Giant, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsFontSize.Giant, "OnFontSizeChangedGiant: The callback should receive the latest value for the property.");
         }
 
         // FontType
@@ -305,13 +309,13 @@ namespace TizenTest.SystemSettings
         {
             /* TEST CODE */
             Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.SystemSettings.FontType);
-            var setValue = "BreezeSans";
+            string setValue = "BreezeSans";
             Tizen.System.SystemSettings.SystemSettings.FontType = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.FontType;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(getValue.CompareTo(setValue) == 0, "FontType_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_fontTypeChangedCallbackCalled = false;
+        private static bool s_fontTypeCallbackCalled = false;
         private static readonly string s_fontTypeValue = "BreezeSans";
         [Test]
         [Category("P1")]
@@ -324,15 +328,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.FontTypeChanged += OnFontTypeChanged;
             Tizen.System.SystemSettings.SystemSettings.FontType = s_fontTypeValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_fontTypeChangedCallbackCalled);
-            s_fontTypeChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_fontTypeCallbackCalled);
+            s_fontTypeCallbackCalled = false;
         }
         private static void OnFontTypeChanged(object sender, Tizen.System.SystemSettings.FontTypeChangedEventArgs e)
         {
-            s_fontTypeChangedCallbackCalled = true;
+            s_fontTypeCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_fontTypeValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_fontTypeValue.CompareTo(e.Value) == 0, "OnFontTypeChanged: The callback should receive the latest value for the property.");
         }
 
         // MotionActivation
@@ -348,12 +352,13 @@ namespace TizenTest.SystemSettings
             /* TEST CODE */
             Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SystemSettings.MotionActivation);
             Tizen.System.SystemSettings.SystemSettings.MotionActivation = true;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.MotionActivation;
-            Assert.AreEqual(getValue == true, "Set value and get value of the property should be same");
+            Assert.IsTrue(Tizen.System.SystemSettings.SystemSettings.MotionActivation, "MotionActivation_READ_WRITE: Set value and get value of the property should be same.");
+            Tizen.System.SystemSettings.SystemSettings.MotionActivation = false;
+            Assert.IsFalse(Tizen.System.SystemSettings.SystemSettings.MotionActivation, "MotionActivation_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_motionActivationChangedCallbackCalled = false;
-        private static readonly bool s_motionActivationValue = !Tizen.System.SystemSettings.SystemSettings.MotionActivation;
+        private static bool s_motionActivationCallbackCalled = false;
+        private static bool s_motionActivationValue = !Tizen.System.SystemSettings.SystemSettings.MotionActivation;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:MotionActivationChanged event is called")]
@@ -365,15 +370,21 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.MotionActivationChanged += OnMotionActivationChanged;
             Tizen.System.SystemSettings.SystemSettings.MotionActivation = s_motionActivationValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_motionActivationChangedCallbackCalled);
-            s_motionActivationChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_motionActivationCallbackCalled);
+
+            s_motionActivationCallbackCalled = false;
+            s_motionActivationValue = !s_motionActivationValue;
+            Tizen.System.SystemSettings.SystemSettings.MotionActivation = s_motionActivationValue;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_motionActivationCallbackCalled);
+            s_motionActivationCallbackCalled = false;
         }
         private static void OnMotionActivationChanged(object sender, Tizen.System.SystemSettings.MotionActivationChangedEventArgs e)
         {
-            s_motionActivationChangedCallbackCalled = true;
+            s_motionActivationCallbackCalled = true;
             Assert.IsInstanceOf<bool>(e.Value);
-            Assert.AreEqual(e.Value, s_motionActivationValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == s_motionActivationValue, "OnMotionActivationChanged: The callback should receive the latest value for the property.");
         }
 
         // EmailAlertRingtone
@@ -391,10 +402,10 @@ namespace TizenTest.SystemSettings
             var setValue = "/opt/share/settings/Alerts/General notification_sdk.wav";
             Tizen.System.SystemSettings.SystemSettings.EmailAlertRingtone = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.EmailAlertRingtone;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "EmailAlertRingtone_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_emailAlertRingtoneChangedCallbackCalled = false;
+        private static bool s_emailAlertRingtoneCallbackCalled = false;
         private static readonly string s_emailAlertRingtoneValue = "/opt/share/settings/Alerts/General notification_sdk.wav";
         [Test]
         [Category("P1")]
@@ -407,15 +418,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.EmailAlertRingtoneChanged += OnEmailAlertRingtoneChanged;
             Tizen.System.SystemSettings.SystemSettings.EmailAlertRingtone = s_emailAlertRingtoneValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_emailAlertRingtoneChangedCallbackCalled);
-            s_emailAlertRingtoneChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_emailAlertRingtoneCallbackCalled);
+            s_emailAlertRingtoneCallbackCalled = false;
         }
         private static void OnEmailAlertRingtoneChanged(object sender, Tizen.System.SystemSettings.EmailAlertRingtoneChangedEventArgs e)
         {
-            s_emailAlertRingtoneChangedCallbackCalled = true;
+            s_emailAlertRingtoneCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_emailAlertRingtoneValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_emailAlertRingtoneValue.CompareTo(e.Value) == 0, "OnEmailAlertRingtoneChanged: The callback should receive the latest value for the property.");
         }
 
         // UsbDebuggingEnabled
@@ -431,12 +442,13 @@ namespace TizenTest.SystemSettings
             /* TEST CODE */
             Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled);
             Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled = true;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled;
-            Assert.IsTrue(getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled, "UsbDebuggingEnabled_READ_WRITE: Set value and get value of the property should be same.");
+            Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled = false;
+            Assert.IsFalse(Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled, "UsbDebuggingEnabled_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_usbDebuggingSettingChangedCallbackCalled = false;
-        private static readonly bool s_usbDebuggingSettingValue = !Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled;
+        private static bool s_usbDebuggingCallbackCalled = false;
+        private static bool s_usbDebuggingSettingValue = !Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:UsbDebuggingSettingChanged event is called")]
@@ -448,15 +460,21 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.UsbDebuggingSettingChanged += OnUsbDebuggingSettingChanged;
             Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled = s_usbDebuggingSettingValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_usbDebuggingSettingChangedCallbackCalled);
-            s_usbDebuggingSettingChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_usbDebuggingCallbackCalled);
+
+            s_usbDebuggingSettingValue = !s_usbDebuggingSettingValue;
+            s_usbDebuggingCallbackCalled = false;
+            Tizen.System.SystemSettings.SystemSettings.UsbDebuggingEnabled = s_usbDebuggingSettingValue;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_usbDebuggingCallbackCalled);
+            s_usbDebuggingCallbackCalled = false;
         }
         private static void OnUsbDebuggingSettingChanged(object sender, Tizen.System.SystemSettings.UsbDebuggingSettingChangedEventArgs e)
         {
-            s_usbDebuggingSettingChangedCallbackCalled = true;
+            s_usbDebuggingCallbackCalled = true;
             Assert.IsInstanceOf<bool>(e.Value);
-            Assert.AreEqual(e.Value, s_usbDebuggingSettingValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == s_usbDebuggingSettingValue, "OnUsbDebuggingSettingChanged: The callback should receive the latest value for the property.");
         }
 
         // Data3GNetworkEnabled
@@ -472,12 +490,13 @@ namespace TizenTest.SystemSettings
             /* TEST CODE */
             Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled);
             Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled = true;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled;
-            Assert.IsTrue(getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled, "Data3GNetworkEnabled_READ_WRITE: Set value and get value of the property should be same");
+            Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled = false;
+            Assert.IsFalse(Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled, "Data3GNetworkEnabled_READ_WRITE: Set value and get value of the property should be same");
         }
 
-        private static bool s_data3GNetworkSettingChangedCallbackCalled = false;
-        private static readonly bool s_data3GNetworkSettingValue = !Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled;
+        private static bool s_data3GNetworkCallbackCalled = false;
+        private static bool s_data3GNetworkSettingValue = !Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:Data3GNetworkSettingChanged event is called")]
@@ -487,17 +506,24 @@ namespace TizenTest.SystemSettings
         [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
         public static async Task Data3GNetworkSettingChanged_CHECK_EVENT()
         {
+            /* TEST CODE */
             Tizen.System.SystemSettings.SystemSettings.Data3GNetworkSettingChanged += OnData3GNetworkSettingChanged;
             Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled = s_data3GNetworkSettingValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_data3GNetworkSettingChangedCallbackCalled);
-            s_data3GNetworkSettingChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_data3GNetworkCallbackCalled);
+
+            s_data3GNetworkSettingValue = !s_data3GNetworkSettingValue;
+            s_data3GNetworkCallbackCalled = false;
+            Tizen.System.SystemSettings.SystemSettings.Data3GNetworkEnabled = s_data3GNetworkSettingValue;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_data3GNetworkCallbackCalled);
+            s_data3GNetworkCallbackCalled = false;
         }
         private static void OnData3GNetworkSettingChanged(object sender, Tizen.System.SystemSettings.Data3GNetworkSettingChangedEventArgs e)
         {
-            s_data3GNetworkSettingChangedCallbackCalled = true;
+            s_data3GNetworkCallbackCalled = true;
             Assert.IsInstanceOf<bool>(e.Value);
-            Assert.AreEqual(e.Value, s_data3GNetworkSettingValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == s_data3GNetworkSettingValue, "OnData3GNetworkSettingChanged: The callback should receive the latest value for the property.");
         }
 
         // LockscreenApp
@@ -515,10 +541,10 @@ namespace TizenTest.SystemSettings
             var setValue = "org.tizen.lockscreen";
             Tizen.System.SystemSettings.SystemSettings.LockscreenApp = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.LockscreenApp;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "LockscreenApp_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_lockscreenAppChangedCallbackCalled = false;
+        private static bool s_lockScreenAppCallbackCalled = false;
         private static readonly string s_lockscreenAppValue = "org.tizen.lockscreen";
         [Test]
         [Category("P1")]
@@ -531,15 +557,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.LockscreenAppChanged += OnLockscreenAppChanged;
             Tizen.System.SystemSettings.SystemSettings.LockscreenApp = s_lockscreenAppValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_lockscreenAppChangedCallbackCalled);
-            s_lockscreenAppChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_lockScreenAppCallbackCalled);
+            s_lockScreenAppCallbackCalled = false;
         }
         private static void OnLockscreenAppChanged(object sender, Tizen.System.SystemSettings.LockscreenAppChangedEventArgs e)
         {
-            s_lockscreenAppChangedCallbackCalled = true;
+            s_lockScreenAppCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_lockscreenAppValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_lockscreenAppValue.CompareTo(e.Value) == 0, "OnLockscreenAppChanged: The callback should receive the latest value for the property.");
         }
 
         // DefaultFontType
@@ -571,10 +597,10 @@ namespace TizenTest.SystemSettings
             var setValue = "en_US";
             Tizen.System.SystemSettings.SystemSettings.LocaleCountry = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.LocaleCountry;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "LocaleCountry_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_localeCountryChangedCallbackCalled = false;
+        private static bool s_localeCountryCallbackCalled = false;
         private static readonly string s_localeCountryValue = "en_US";
         [Test]
         [Category("P1")]
@@ -587,15 +613,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.LocaleCountryChanged += OnLocaleCountryChanged;
             Tizen.System.SystemSettings.SystemSettings.LocaleCountry = s_localeCountryValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_localeCountryChangedCallbackCalled);
-            s_localeCountryChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_localeCountryCallbackCalled);
+            s_localeCountryCallbackCalled = false;
         }
         private static void OnLocaleCountryChanged(object sender, Tizen.System.SystemSettings.LocaleCountryChangedEventArgs e)
         {
-            s_localeCountryChangedCallbackCalled = true;
+            s_localeCountryCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_localeCountryValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_localeCountryValue.CompareTo(e.Value) == 0, "OnLocaleCountryChanged: The callback should receive the latest value for the property.");
         }
 
         // LocaleLanguage
@@ -613,10 +639,10 @@ namespace TizenTest.SystemSettings
             var setValue = "en_US";
             Tizen.System.SystemSettings.SystemSettings.LocaleLanguage = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.LocaleLanguage;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "LocaleLanguage_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_localeLanguageChangedCallbackCalled = false;
+        private static bool s_localeLanguageCallbackCalled = false;
         private static readonly string s_localeLanguageValue = "en_US";
         [Test]
         [Category("P1")]
@@ -629,15 +655,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.LocaleLanguageChanged += OnLocaleLanguageChanged;
             Tizen.System.SystemSettings.SystemSettings.LocaleLanguage = s_localeLanguageValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_localeLanguageChangedCallbackCalled);
-            s_localeLanguageChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_localeLanguageCallbackCalled);
+            s_localeLanguageCallbackCalled = false;
         }
         private static void OnLocaleLanguageChanged(object sender, Tizen.System.SystemSettings.LocaleLanguageChangedEventArgs e)
         {
-            s_localeLanguageChangedCallbackCalled = true;
+            s_localeLanguageCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_localeLanguageValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_localeLanguageValue.CompareTo(e.Value) == 0, "OnLocaleLanguageChanged: The callback should receive the latest value for the property.");
         }
 
         // LocaleTimeformat24Hour
@@ -653,12 +679,13 @@ namespace TizenTest.SystemSettings
             /* TEST CODE */
             Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour);
             Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour = true;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour;
-            Assert.IsTrue(getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour, "LocaleTimeformat24Hour_READ_WRITE: Set value and get value of the property should be same.");
+            Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour = false;
+            Assert.IsFalse(Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour, "LocaleTimeformat24Hour_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_localeTimeformat24HourChangedCallbackCalled = false;
-        private static readonly bool s_localeTimeformat24HourValue = !Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour;
+        private static bool s_timeFormatCallbackCalled = false;
+        private static bool s_localeTimeformat24HourValue = !Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour;
         [Test]
         [Category("P1")]
         [Description("Check if callback to SystemSettings:LocaleTimeformat24HourChanged event is called")]
@@ -670,15 +697,22 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24HourChanged += OnLocaleTimeformat24HourChanged;
             Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour = s_localeTimeformat24HourValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_localeTimeformat24HourChangedCallbackCalled);
-            s_localeTimeformat24HourChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_timeFormatCallbackCalled);
+            s_timeFormatCallbackCalled = false;
+
+            s_localeTimeformat24HourValue = !s_localeTimeformat24HourValue;
+            Tizen.System.SystemSettings.SystemSettings.LocaleTimeformat24Hour = s_localeTimeformat24HourValue;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_timeFormatCallbackCalled);
+            s_timeFormatCallbackCalled = false;
         }
+
         private static void OnLocaleTimeformat24HourChanged(object sender, Tizen.System.SystemSettings.LocaleTimeformat24HourChangedEventArgs e)
         {
-            s_localeTimeformat24HourChangedCallbackCalled = true;
+            s_timeFormatCallbackCalled = true;
             Assert.IsInstanceOf<bool>(e.Value);
-            Assert.AreEqual(e.Value, s_localeTimeformat24HourValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(e.Value == s_localeTimeformat24HourValue, "OnLocaleTimeformat24HourChanged: The callback should receive the latest value for the property.");
         }
 
         // LocaleTimezone
@@ -696,10 +730,10 @@ namespace TizenTest.SystemSettings
             var setValue = "Pacific/Tahiti";
             Tizen.System.SystemSettings.SystemSettings.LocaleTimezone = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.LocaleTimezone;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "LocaleTimezone_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_localeTimezoneChangedCallbackCalled = false;
+        private static bool s_localeTimeZoneCallbackCalled = false;
         private static readonly string s_localeTimezoneValue = "Pacific/Tahiti";
         [Test]
         [Category("P1")]
@@ -712,15 +746,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.LocaleTimezoneChanged += OnLocaleTimezoneChanged;
             Tizen.System.SystemSettings.SystemSettings.LocaleTimezone = s_localeTimezoneValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_localeTimezoneChangedCallbackCalled);
-            s_localeTimezoneChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_localeTimeZoneCallbackCalled);
+            s_localeTimeZoneCallbackCalled = false;
         }
         private static void OnLocaleTimezoneChanged(object sender, Tizen.System.SystemSettings.LocaleTimezoneChangedEventArgs e)
         {
-            s_localeTimezoneChangedCallbackCalled = true;
+            s_localeTimeZoneCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_localeTimezoneValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_localeTimezoneValue.CompareTo(e.Value) == 0, "OnLocaleTimezoneChanged: The callback should receive the latest value for the property.");
         }
 
         // SoundLock
@@ -835,181 +869,192 @@ namespace TizenTest.SystemSettings
             Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SystemSettings.NetworkFlightMode);
         }
 
-        // ScreenBacklightTime
-        [Test]
-        [Category("P1")]
-        [Description("Test if set/get for SystemSettings:ScreenBacklightTime is working properly")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRW MAE")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static void ScreenBacklightTime_READ_WRITE_ALL()
-        {
-            /* TEST CODE */
-            Assert.IsInstanceOf<int>(Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime);
-            var setValue = 15;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = 30;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = 60;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = 120;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = 300;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = 600;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-        }
-
-        private static bool s_screenBacklightTimeChangedCallbackCalled = false;
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_15()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged15;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 15;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged15(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 15, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_30()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged30;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 30;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged30(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 30, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_60()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged60;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 60;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged60(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 60, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_120()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged120;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 120;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged120(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 20, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_300()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged300;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 300;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged300(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 300, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_600()
-        {
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTimeChanged600;
-            Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 600;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_screenBacklightTimeChangedCallbackCalled);
-            s_screenBacklightTimeChangedCallbackCalled = false;
-        }
-        private static void OnScreenBacklightTimeChanged600(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
-        {
-            s_screenBacklightTimeChangedCallbackCalled = true;
-            Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, 600, "The callback should receive the latest value for the property");
-        }
+        //// ScreenBacklightTime
+        //[Test]
+        //[Category("P1")]
+        //[Description("Test if set/get for SystemSettings:ScreenBacklightTime is working properly")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "PRW MAE")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static void ScreenBacklightTime_READ_WRITE_ALL()
+        //{
+        //    /* TEST CODE */
+        //    Assert.IsInstanceOf<int>(Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime);
+        //    var setValue = 15;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    var getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+
+        //    setValue = 30;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+
+        //    setValue = 60;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+
+        //    setValue = 120;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+
+        //    setValue = 300;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+
+        //    //setValue = 600;
+        //    //Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = setValue;
+        //    //getValue = Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime;
+        //    //Assert.IsTrue(setValue == getValue, "Set value and get value of the property should be same.");
+        //}
+
+        //private static bool s_screenBacklightTime15CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_15()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime15Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 15;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime15Changed;
+        //    Assert.IsTrue(s_screenBacklightTime15CallbackCalled);
+        //    s_screenBacklightTime15CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime15Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime15CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 15, "The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_screenBacklightTime30CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_30()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime30Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 30;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime30Changed;
+        //    Assert.IsTrue(s_screenBacklightTime30CallbackCalled);
+        //    s_screenBacklightTime30CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime30Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime30CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 30, "The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_screenBacklightTime60CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_60()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime60Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 60;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime60Changed;
+        //    Assert.IsTrue(s_screenBacklightTime60CallbackCalled);
+        //    s_screenBacklightTime60CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime60Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime60CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 60, "The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_screenBacklightTime120CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_120()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime120Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 120;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime120Changed;
+        //    Assert.IsTrue(s_screenBacklightTime120CallbackCalled);
+        //    s_screenBacklightTime120CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime120Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime120CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 120, "The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_screenBacklightTime300CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_300()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime300Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 300;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime300Changed;
+        //    Assert.IsTrue(s_screenBacklightTime300CallbackCalled);
+        //    s_screenBacklightTime300CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime300Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime300CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 300, "The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_screenBacklightTime600CallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:ScreenBacklightTimeChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_600()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime600Changed;
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTime = 600;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.ScreenBacklightTimeChanged -= OnScreenBacklightTime600Changed;
+        //    Assert.IsTrue(s_screenBacklightTime600CallbackCalled);
+        //    s_screenBacklightTime600CallbackCalled = false;
+        //}
+        //private static void OnScreenBacklightTime600Changed(object sender, Tizen.System.SystemSettings.ScreenBacklightTimeChangedEventArgs e)
+        //{
+        //    s_screenBacklightTime600CallbackCalled = true;
+        //    Assert.IsInstanceOf<int>(e.Value);
+        //    Assert.IsTrue(e.Value == 600, "The callback should receive the latest value for the property.");
+        //}
 
         // SoundNotification
         [Test]
@@ -1026,10 +1071,10 @@ namespace TizenTest.SystemSettings
             var setValue = "/opt/share/settings/Alerts/General notification_sdk.wav";
             Tizen.System.SystemSettings.SystemSettings.SoundNotification = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.SoundNotification;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "SoundNotification_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_soundNotificationChangedCallbackCalled = false;
+        private static bool s_soundNotificationCallbackCalled = false;
         private static readonly string s_soundNotificationValue = "/opt/share/settings/Alerts/General notification_sdk.wav";
         [Test]
         [Category("P1")]
@@ -1042,15 +1087,15 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.SoundNotificationChanged += OnSoundNotificationChanged;
             Tizen.System.SystemSettings.SystemSettings.SoundNotification = s_soundNotificationValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_soundNotificationChangedCallbackCalled);
-            s_soundNotificationChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_soundNotificationCallbackCalled);
+            s_soundNotificationCallbackCalled = false;
         }
         private static void OnSoundNotificationChanged(object sender, Tizen.System.SystemSettings.SoundNotificationChangedEventArgs e)
         {
-            s_soundNotificationChangedCallbackCalled = true;
+            s_soundNotificationCallbackCalled = true;
             Assert.IsInstanceOf<string>(e.Value);
-            Assert.AreEqual(e.Value, s_soundNotificationValue, "The callback should receive the latest value for the property");
+            Assert.IsTrue(s_soundNotificationValue.CompareTo(e.Value) == 0, "OnSoundNotificationChanged: The callback should receive the latest value for the property.");
         }
 
         // SoundNotificationRepetitionPeriod
@@ -1068,10 +1113,10 @@ namespace TizenTest.SystemSettings
             var setValue = 300;
             Tizen.System.SystemSettings.SystemSettings.SoundNotificationRepetitionPeriod = setValue;
             var getValue = Tizen.System.SystemSettings.SystemSettings.SoundNotificationRepetitionPeriod;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
+            Assert.IsTrue(setValue.CompareTo(getValue) == 0, "SoundNotificationRepetitionPeriod_READ_WRITE: Set value and get value of the property should be same.");
         }
 
-        private static bool s_soundNotificationRepetitionPeriodChangedCallbackCalled = false;
+        private static bool s_soundNotificationRepetitionPeriodCallbackCalled = false;
         private static readonly int s_soundNotificationRepetitionPeriodValue = 300;
         [Test]
         [Category("P1")]
@@ -1084,110 +1129,115 @@ namespace TizenTest.SystemSettings
         {
             Tizen.System.SystemSettings.SystemSettings.SoundNotificationRepetitionPeriodChanged += OnSoundNotificationRepetitionPeriodChanged;
             Tizen.System.SystemSettings.SystemSettings.SoundNotificationRepetitionPeriod = s_soundNotificationRepetitionPeriodValue;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_soundNotificationRepetitionPeriodChangedCallbackCalled);
-            s_soundNotificationRepetitionPeriodChangedCallbackCalled = false;
+            await Task.Delay(5000);
+            Assert.IsTrue(s_soundNotificationRepetitionPeriodCallbackCalled);
+            s_soundNotificationRepetitionPeriodCallbackCalled = false;
         }
         private static void OnSoundNotificationRepetitionPeriodChanged(object sender, Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChangedEventArgs e)
         {
-            s_soundNotificationRepetitionPeriodChangedCallbackCalled = true;
+            s_soundNotificationRepetitionPeriodCallbackCalled = true;
             Assert.IsInstanceOf<int>(e.Value);
-            Assert.AreEqual(e.Value, s_soundNotificationRepetitionPeriodValue, "The callback should receive the latest value for the property");
-        }
-
-        // LockState
-        [Test]
-        [Category("P1")]
-        [Description("Test if set/get for SystemSettings:LockState is working properly")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockState A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRW MAE")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static void LockState_READ_WRITE_ALL()
-        {
-            /* TEST CODE */
-            Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(Tizen.System.SystemSettings.SystemSettings.LockState);
-            var setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
-            var getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-
-            setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
-            getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
-            Assert.AreEqual(setValue, getValue, "Set value and get value of the property should be same");
-        }
-
-        private static bool s_lockStateChangedCallbackCalled = false;
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:LockStateChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL MAE")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task LockStateChanged_CHECK_EVENT_LOCK()
-        {
-            Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedLock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_lockStateChangedCallbackCalled);
-            s_lockStateChangedCallbackCalled = false;
-        }
-        private static void OnLockStateChangedLock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
-        {
-            s_lockStateChangedCallbackCalled = true;
-            Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:LockStateChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL MAE")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task LockStateChanged_CHECK_EVENT_UNLOCK()
-        {
-            Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedUnlock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_lockStateChangedCallbackCalled);
-            s_lockStateChangedCallbackCalled = false;
-        }
-        private static void OnLockStateChangedUnlock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
-        {
-            s_lockStateChangedCallbackCalled = true;
-            Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock, "The callback should receive the latest value for the property");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check if callback to SystemSettings:LockStateChanged event is called")]
-        [Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL MAE")]
-        [Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
-        public static async Task LockStateChanged_CHECK_EVENT_LAUNCHING_LOCK()
-        {
-            Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedLaunchingLock;
-            Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock;
-            await Task.Delay(2000);
-            Assert.IsTrue(s_lockStateChangedCallbackCalled);
-            s_lockStateChangedCallbackCalled = false;
-        }
-        private static void OnLockStateChangedLaunchingLock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
-        {
-            s_lockStateChangedCallbackCalled = true;
-            Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
-            Assert.AreEqual(e.Value, Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock, "The callback should receive the latest value for the property");
-        }
+            Assert.IsTrue(s_soundNotificationRepetitionPeriodValue.CompareTo(e.Value) == 0, "OnSoundNotificationRepetitionPeriodChanged: The callback should receive the latest value for the property.");
+        }
+
+        //// LockState
+        //[Test]
+        //[Category("P1")]
+        //[Description("Test if set/get for SystemSettings:LockState is working properly")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockState A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "PRW MAE")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static void LockState_READ_WRITE_ALL()
+        //{
+        //    /* TEST CODE */
+        //    Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(Tizen.System.SystemSettings.SystemSettings.LockState);
+        //    var setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
+        //    var getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
+        //    Assert.IsTrue(setValue == getValue, "LockState_READ_WRITE_ALL: Set value and get value of the property should be same.");
+
+        //    setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
+        //    Assert.IsTrue(setValue == getValue, "LockState_READ_WRITE_ALL: Set value and get value of the property should be same.");
+
+        //    setValue = Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = setValue;
+        //    getValue = Tizen.System.SystemSettings.SystemSettings.LockState;
+        //    Assert.IsTrue(setValue == getValue, "LockState_READ_WRITE_ALL: Set value and get value of the property should be same.");
+        //}
+
+        //private static bool s_lockStateLockCallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:LockStateChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL MAE")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task LockStateChanged_CHECK_EVENT_LOCK()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedLock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedLock;
+        //    Assert.IsTrue(s_lockStateLockCallbackCalled);
+        //    s_lockStateLockCallbackCalled = false;
+        //}
+        //private static void OnLockStateChangedLock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
+        //{
+        //    s_lockStateLockCallbackCalled = true;
+        //    Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
+        //    Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsIdleLockState.Lock, "OnLockStateChangedLock: The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_lockStateUnlockCallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:LockStateChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL MAE")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task LockStateChanged_CHECK_EVENT_UNLOCK()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedUnlock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged -= OnLockStateChangedUnlock;
+        //    Assert.IsTrue(s_lockStateUnlockCallbackCalled);
+        //    s_lockStateLockCallbackCalled = false;
+        //}
+        //private static void OnLockStateChangedUnlock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
+        //{
+        //    s_lockStateUnlockCallbackCalled = true;
+        //    Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
+        //    Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsIdleLockState.Unlock, "OnLockStateChangedUnlock: The callback should receive the latest value for the property.");
+        //}
+
+        //private static bool s_lockStateLaunchingLockCallbackCalled = false;
+        //[Test]
+        //[Category("P1")]
+        //[Description("Check if callback to SystemSettings:LockStateChanged event is called")]
+        //[Property("SPEC", "Tizen.System.SystemSettings.SystemSettings.LockStateChanged A")]
+        //[Property("SPEC_URL", "-")]
+        //[Property("CRITERIA", "EVL MAE")]
+        //[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
+        //public static async Task LockStateChanged_CHECK_EVENT_LAUNCHING_LOCK()
+        //{
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged += OnLockStateChangedLaunchingLock;
+        //    Tizen.System.SystemSettings.SystemSettings.LockState = Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock;
+        //    await Task.Delay(5000);
+        //    Tizen.System.SystemSettings.SystemSettings.LockStateChanged -= OnLockStateChangedLaunchingLock;
+        //    Assert.IsTrue(s_lockStateLaunchingLockCallbackCalled);
+        //    s_lockStateLockCallbackCalled = false;
+        //}
+        //private static void OnLockStateChangedLaunchingLock(object sender, Tizen.System.SystemSettings.LockStateChangedEventArgs e)
+        //{
+        //    s_lockStateLaunchingLockCallbackCalled = true;
+        //    Assert.IsInstanceOf<Tizen.System.SystemSettings.SystemSettingsIdleLockState>(e.Value);
+        //    Assert.IsTrue(e.Value == Tizen.System.SystemSettings.SystemSettingsIdleLockState.LaunchingLock, "OnLockStateChangedLaunchingLock: The callback should receive the latest value for the property.");
+        //}
     }
 }
diff --git a/tct-system-settings-tizen-tests/tct-system-settings-tizen-tests.csproj b/tct-system-settings-tizen-tests/tct-system-settings-tizen-tests.csproj
new file mode 100644 (file)
index 0000000..1003678
--- /dev/null
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{8C1E183D-1AC2-4301-BDD6-A026BE81D095}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>tct-system-settings-tizen-tests</RootNamespace>
+    <AssemblyName>tct-system-settings-tizen-tests</AssemblyName>
+    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
+    <IsCodedUITest>False</IsCodedUITest>
+    <TestProjectType>UnitTest</TestProjectType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="TestFramework">
+      <HintPath>lib\TestFramework.dll</HintPath>
+    </Reference>
+    <Reference Include="Tizen">
+      <HintPath>lib\Tizen.dll</HintPath>
+    </Reference>
+    <Reference Include="Tizen.Applications">
+      <HintPath>lib\Tizen.Applications.dll</HintPath>
+    </Reference>
+    <Reference Include="Tizen.Internals">
+      <HintPath>lib\Tizen.Internals.dll</HintPath>
+    </Reference>
+    <Reference Include="Tizen.System.SystemSettings">
+      <HintPath>..\Tizen.System.SystemSettings\bin\Debug\Tizen.System.SystemSettings.dll</HintPath>
+    </Reference>
+  </ItemGroup>
+  <Choose>
+    <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+      </ItemGroup>
+    </When>
+    <Otherwise>
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
+      </ItemGroup>
+    </Otherwise>
+  </Choose>
+  <ItemGroup>
+    <Compile Include="src\Program.cs" />
+    <Compile Include="src\Testcase\TSSystemSettings.cs" />
+  </ItemGroup>
+  <ItemGroup />
+  <Choose>
+    <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+      </ItemGroup>
+    </When>
+  </Choose>
+  <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file