//==== PRIORITY P1
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_equals(date.toLocaleString(), "Friday, November 11, 2011, 4:55:54 AM", this.name);
+ assert_equals(date.toLocaleString(), /Friday, November 11, 2011 at 4:55:54 AM/, this.name);
}, document.title);
</script>
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_regexp_match(date.toString(), /Friday, November 11, 2011,? 0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
+ assert_regexp_match(date.toString(), /Friday, November 11, 2011 at 4:55:54 AM GMT+0900 South Korea Time/, this.name);
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
//==== PRIORITY P1
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_regexp_match(date.toTimeString(), /0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
+ assert_regexp_match(date.toTimeString(), /4:55:54 AM GMT+0900 South Korea Time/, this.name);
}, document.title);
</script>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_regexp_match(date.toLocaleString(), /Friday, 11 November 2011 4:55:54/, this.name);
+ assert_regexp_match(date.toLocaleString(), /Friday, November 11, 2011 at 4:55:54 AM/, this.name);
}, document.title);
</script>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_regexp_match(date.toString(), /Friday, November 11, 2011 0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
+ assert_regexp_match(date.toString(), /Friday, November 11, 2011 at 4:55:54 AM GMT+0900 South Korea Time/, this.name);
}, document.title);
</script>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
- assert_regexp_match(date.toTimeString(), /0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
+ assert_regexp_match(date.toTimeString(), /4:55:54 AM GMT+0900 South Korea Time/, this.name);
}, document.title);
</script>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
- var returnedValue, def = "h:m:s ap";
+ var returnedValue, def = "h:m:s ap";
returnedValue = tizen.time.getTimeFormat();
assert_type(returnedValue, "string", "Time format type");
assert_equals(returnedValue, def, "Time format");