From: yuanzhongyuan Date: Wed, 5 Apr 2017 05:50:23 +0000 (+0800) Subject: [time][Fix tc issue, divide 1 tc as mobile, wearable and tv] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20a0eb43ffbd428351b3f45b4c0cd7e17aca811a;p=test%2Ftct%2Fweb%2Fapi.git [time][Fix tc issue, divide 1 tc as mobile, wearable and tv] Change-Id: I466b6f8415e9883ea8d17271b7d34a1cf7d61878 --- diff --git a/common/tct-time-tizen-tests/tests.xml b/common/tct-time-tizen-tests/tests.xml index 8f6055943..11043ed51 100755 --- a/common/tct-time-tizen-tests/tests.xml +++ b/common/tct-time-tizen-tests/tests.xml @@ -2513,5 +2513,15 @@ + + + TV + + + + /opt/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html + + + - \ No newline at end of file + diff --git a/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat.html b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat.html index 276783812..5f4d0ba0f 100755 --- a/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat.html +++ b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat.html @@ -38,10 +38,10 @@ Authors: //==== PRIORITY P1 //==== TEST_CRITERIA MOA MR test(function () { - var returnedValue, shortformat = true; + var returnedValue, def = "m/d/y", shortformat = true; returnedValue = tizen.time.getDateFormat(shortformat); assert_type(returnedValue, "string", "Timezone type"); - assert_equals(returnedValue, getShortDateFormat(DATE_FORMAT), "Date format"); + assert_equals(returnedValue, def, "Date format"); }, document.title); diff --git a/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html new file mode 100755 index 000000000..e702ae912 --- /dev/null +++ b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html @@ -0,0 +1,49 @@ + + + + +TimeUtil_getDateFormat_tv + + + + + + +
+ + +