-/*
+/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
[Test]
[Category("P1")]
- [Description("Check whether MarkerColor is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerColor A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerColor_PROPERTY_SET_GET()
- {
- _circleDatetimeSelector.MarkerColor = Color.Blue;
- Assert.AreEqual(Color.Blue, _circleDatetimeSelector.MarkerColor, "Retrieved MarkerColor should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
- [Description("Check whether MarkerLineWidth is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerLineWidth A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerLineWidth_PROPERTY_SET_GET()
- {
- _circleDatetimeSelector.MarkerLineWidth = 1;
- Assert.AreEqual(1, _circleDatetimeSelector.MarkerLineWidth, "Retrieved MarkerLineWidth should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
- [Description("Check whether MarkerRadius is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerRadius A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerRadius_PROPERTY_SET_GET()
- {
- _circleDatetimeSelector.MarkerRadius = 1.0;
- Assert.AreEqual(1.0, _circleDatetimeSelector.MarkerRadius, "Retrieved MarkerRadius should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
[Description("Check whether getting CircleHandle is not null")]
[Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.CircleHandle A")]
[Property("SPEC_URL", "-")]
Assert.AreEqual(_circleSurface, _circleDatetimeSelector.CircleSurface, "Retrieved CircleSurface should be equal to set value");
}
}
-}
\ No newline at end of file
+}
-/*
+/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
[Test]
[Category("P1")]
- [Description("Check whether MarkerLineWidth is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerLineWidth A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerLineWidth_PROPERTY_SET_GET()
- {
- _circleSpinner.MarkerLineWidth = 1;
- Assert.AreEqual(1, _circleSpinner.MarkerLineWidth, "Retrieved MarkerLineWidth should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
- [Description("Check whether MarkerColor is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerColor A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerColor_PROPERTY_SET_GET()
- {
- _circleSpinner.MarkerColor = Color.Black;
- Assert.AreEqual(Color.Black, _circleSpinner.MarkerColor, "Retrieved MarkerColor should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
- [Description("Check whether MarkerRadius is readable and writable")]
- [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerRadius A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public void MarkerRadius_PROPERTY_SET_GET()
- {
- _circleSpinner.MarkerRadius = 1.0;
- Assert.AreEqual(1.0, _circleSpinner.MarkerRadius, "Retrieved MarkerRadius should be equal to set value");
- }
-
- [Test]
- [Category("P1")]
[Description("Check whether getting CircleHandle is not null")]
[Property("SPEC", "ElmSharp.Wearable.CircleSpinner.CircleHandle A")]
[Property("SPEC_URL", "-")]
Assert.AreEqual(_circleSurface, _circleSpinner.CircleSurface, "Retrieved CircleSurface should be equal to set value");
}
}
-}
\ No newline at end of file
+}