[SystemInfo] platformVersion
authorWitold Choinkowski <w.choinkowsk@samsung.com>
Mon, 19 Aug 2013 16:01:16 +0000 (18:01 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Wed, 21 Aug 2013 06:57:53 +0000 (06:57 +0000)
Change-Id: Ic6f00ed5cad02ab31852d05464bf2d280697d5b8

tct-systeminfo-tizen-tests/systeminfo/SystemInfoDeviceCapability_platformVersion_attribute.html

index 8de21e3af26c0198578da9a19a36d320417be32b..708031110b3712c57ea80c628589077e0b2dd26e 100755 (executable)
@@ -41,8 +41,7 @@ test(function () {
     check_readonly(deviceCapabilities, "platformVersion",
         deviceCapabilities.platformVersion, "string", null);
     assert_true(deviceCapabilities.platformVersion !== "", "null check");
-    assert_equals(deviceCapabilities.platformVersion, "2.2.1",
-        "platformVersion is not 2.2.1");
+    assert_regexp_match(deviceCapabilities.platformVersion, /2\.2\.[0-9]+/, "platformVersion has a bad value");
 }, "SystemInfoDeviceCapability_platformVersion_attribute");
 </script>
 </body>