ret = fileHandle.get("DURATION");
assert_type(ret, "string", "Type of return value should be of DOMString.");
assert_equals(ret, "10667", "The duration is not right.");
+
+ fileHandle.release();
}, document.title);
</script>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getArtwork</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getArtwork
+//==== LABEL Check if MetadataFileHandle::getArtwork() method works properly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getArtwork M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp3", ret;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ ret = fileHandle.getArtwork();
+ assert_type(ret, "object", "Type of return value should be of object.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getArtwork_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getArtwork_exist
+//==== LABEL Check if MetadataFileHandle::getArtwork() method exists
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getArtwork M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp3";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ check_method_exists(fileHandle, "getArtwork");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getArtwork_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getArtwork_extra_argument
+//==== LABEL Check using MetadataFileHandle::getArtwork() method with extra argument
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getArtwork M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp3";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ checkExtraArgument(fileHandle, "getArtwork");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getFrameAtTime</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getFrameAtTime
+//==== LABEL Check if MetadataFileHandle::getFrameAtTime() method works properly without optional parameter
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getFrameAtTime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4", ret;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ ret = fileHandle.getFrameAtTime(2000);
+ assert_type(ret, "object", "Type of return value should be of object.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getFrameAtTime_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getFrameAtTime_exist
+//==== LABEL Check if MetadataFileHandle::getFrameAtTime() method exists
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getFrameAtTime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ check_method_exists(fileHandle, "getFrameAtTime");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getFrameAtTime_with_isAccurate</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getFrameAtTime_with_isAccurate
+//==== LABEL Check if MetadataFileHandle::getFrameAtTime() method works properly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getFrameAtTime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4", ret;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ ret = fileHandle.getFrameAtTime(2000, true);
+ assert_type(ret, "object", "Type of return value should be of object.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getSyncLyrics</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getSyncLyrics
+//==== LABEL Check if MetadataFileHandle::getSyncLyrics() method works properly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getSyncLyrics M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/sample.mp3", ret;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ ret = fileHandle.getSyncLyrics(0);
+ assert_type(ret, "object", "Type of return value should be of object.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getSyncLyrics_InvalidValuesError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getSyncLyrics_InvalidValuesError
+//==== LABEL Check if getSyncLyrics throws exception if input index exceeds a maxmium index
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getSyncLyrics M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var fileHandle, uri, lyricsNum;
+
+ uri = TEST_DIR + "media/sample.mp3";
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ lyricsNum = fileHandle.get("SYNCLYRICS_NUM");
+
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
+ fileHandle.getSyncLyrics(lyricsNum + 1);
+ }, "InvalidValuesError should be thrown.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getSyncLyrics_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getSyncLyrics_exist
+//==== LABEL Check if MetadataFileHandle::getSyncLyrics() method exists
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getSyncLyrics M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp3";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ check_method_exists(fileHandle, "getSyncLyrics");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getThumbnailFrame</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getThumbnailFrame
+//==== LABEL Check if MetadataFileHandle::getThumbnailFrame() method works properly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getThumbnailFrame M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4", ret;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ ret = fileHandle.getThumbnailFrame();
+ assert_type(ret, "object", "Type of return value should be of object.");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getThumbnailFrame_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getThumbnailFrame_exist
+//==== LABEL Check if MetadataFileHandle::getThumbnailFrame() method exists
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getThumbnailFrame M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ check_method_exists(fileHandle, "getThumbnailFrame");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataFileHandle_getThumbnailFrame_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataFileHandle_getThumbnailFrame_extra_argument
+//==== LABEL Check using MetadataFileHandle::getThumbnailFrame() method with extra argument
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:getThumbnailFrame M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/tct-metadata-tizen-tests_video.mp4";
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ checkExtraArgument(fileHandle, "getThumbnailFrame");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
fileHandle = tizen.metadata.createFileHandle(uri);
check_method_exists(fileHandle, "get");
+
+ fileHandle.release();
}, document.title);
</script>
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
fileHandle.get();
}, "TypeMismatchError should be thrown.");
+
+ fileHandle.release();
}, document.title);
</script>
<div id="log"></div>
<script>
//==== TEST: MetadataFileHandle_get_type_TypeMismatch
-//==== LABEL Check if MetadataFileHandle::get() method throws TypeMismatchException when incorrect uri given
+//==== LABEL Check if MetadataFileHandle::get() method throws exception when given incorrect metadata type
//==== SPEC Tizen Web API:TBD:Metadata:MetadataFileHandle:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
//==== PRIORITY P2
wrgArg = conversionTable[i][0];
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
fileHandle.get(wrgArg);
- }, "Exception should be thrown - given invalid uri");
+ }, "Exception should be thrown - given invalid metadata type");
}
+
+ fileHandle.release();
}, document.title);
</script>
fileHandle = tizen.metadata.createFileHandle(uri);
assert_type(fileHandle, "object", "Type of return value should be of object.");
assert_equals(fileHandle.uri, "file://" + uri, "The file uri is not right.");
+
+ fileHandle.release();
}, document.title);
</script>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataSyncLyrics_lyrics_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataSyncLyrics_lyrics_attribute
+//==== LABEL Check if attribute lyrics of MetadataSyncLyrics exists, has type string and is readonly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataSyncLyrics:lyrics A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/sample.mp3", mtdataSyncLyrics;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ mtdataSyncLyrics = fileHandle.getSyncLyrics(0);
+ check_readonly(mtdataSyncLyrics, "lyrics", mtdataSyncLyrics.lyrics, "string", "wrong");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataSyncLyrics_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataSyncLyrics_notexist
+//==== LABEL Interface MetadataSyncLyrics should not be accessible
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataSyncLyrics:MetadataSyncLyrics U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MetadataSyncLyrics");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>MetadataSyncLyrics_timestamp_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/metadata_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MetadataSyncLyrics_timestamp_attribute
+//==== LABEL Check if attribute timestamp of MetadataSyncLyrics exists, has type number and is readonly
+//==== SPEC Tizen Web API:TBD:Metadata:MetadataSyncLyrics:timestamp A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var fileHandle, uri = TEST_DIR + "media/sample.mp3", mtdataSyncLyrics;
+
+ fileHandle = tizen.metadata.createFileHandle(uri);
+ mtdataSyncLyrics = fileHandle.getSyncLyrics(0);
+ check_readonly(mtdataSyncLyrics, "timestamp", mtdataSyncLyrics.timestamp, "number", "wrong");
+
+ fileHandle.release();
+}, document.title);
+
+</script>
+</body>
+</html>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
- <suite name="tct-metadata-tizen-tests" extension="crosswalk" category="Tizen Device APIs">
+ <suite category="Tizen Web Device APIs" extension="crosswalk" name="tct-metadata-tizen-tests">
<set name="Metadata" type="js">
<testcase purpose="Check if MetadataFileHandle::get() method works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_get">
<description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MetadataFileHandle::get() method throws TypeMismatchException when incorrect uri given" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_get_type_TypeMismatch">
+ <testcase purpose="Check if MetadataFileHandle::getArtwork() method works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getArtwork">
<description>
- <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="get" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getArtwork" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getArtwork() method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getArtwork_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getArtwork" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check using MetadataFileHandle::getArtwork() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getArtwork_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getArtwork" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method works properly without optional parameter" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getFrameAtTime">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getFrameAtTime" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getFrameAtTime_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getFrameAtTime" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getFrameAtTime_with_isAccurate">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime_with_isAccurate.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getFrameAtTime" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getSyncLyrics() method works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getSyncLyrics">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getSyncLyrics" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getSyncLyrics() method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getSyncLyrics_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getSyncLyrics" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if getSyncLyrics throws exception if input index exceeds a maxmium index" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_getSyncLyrics_InvalidValuesError">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics_InvalidValuesError.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getSyncLyrics" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getThumbnailFrame() method works properly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getThumbnailFrame">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getThumbnailFrame" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getThumbnailFrame() method exists" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getThumbnailFrame_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getThumbnailFrame" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check using MetadataFileHandle::getThumbnailFrame() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getThumbnailFrame_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="getThumbnailFrame" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if MetadataFileHandle::get() method throws exception when given incorrect metadata type" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_get_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get_type_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataFileHandle" element_type="method" element_name="get" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Interface MetadataFileHandle should not be accessible" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P3" id="MetadataFileHandle_notexist">
<description>
<test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_notexist.html</test_script_entry>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if attribute lyrics of MetadataSyncLyrics exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataSyncLyrics_lyrics_attribute">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_lyrics_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataSyncLyrics" element_type="attribute" element_name="lyrics" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Interface MetadataSyncLyrics should not be accessible" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P3" id="MetadataSyncLyrics_notexist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataSyncLyrics" usage="true" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if attribute timestamp of MetadataSyncLyrics exists, has type number and is readonly" type="compliance" status="approved" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataSyncLyrics_timestamp_attribute">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_timestamp_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MetadataSyncLyrics" element_type="attribute" element_name="timestamp" specification="Metadata" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
</suite>
</test_definition>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
- <suite name="tct-metadata-tizen-tests" extension="crosswalk" category="Tizen Device APIs">
+ <suite category="Tizen Web Device APIs" extension="crosswalk" name="tct-metadata-tizen-tests">
<set name="Metadata" type="js">
<testcase purpose="Check if MetadataFileHandle::get() method works properly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_get">
<description>
<test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if MetadataFileHandle::get() method throws TypeMismatchException when incorrect uri given" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_get_type_TypeMismatch">
+ <testcase purpose="Check if MetadataFileHandle::getArtwork() method works properly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getArtwork">
<description>
- <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getArtwork() method exists" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getArtwork_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check using MetadataFileHandle::getArtwork() method with extra argument" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getArtwork_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getArtwork_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method works properly without optional parameter" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getFrameAtTime">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method exists" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getFrameAtTime_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getFrameAtTime() method works properly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getFrameAtTime_with_isAccurate">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getFrameAtTime_with_isAccurate.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getSyncLyrics() method works properly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getSyncLyrics">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getSyncLyrics() method exists" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getSyncLyrics_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if getSyncLyrics throws exception if input index exceeds a maxmium index" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_getSyncLyrics_InvalidValuesError">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getSyncLyrics_InvalidValuesError.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getThumbnailFrame() method works properly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getThumbnailFrame">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if MetadataFileHandle::getThumbnailFrame() method exists" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_getThumbnailFrame_exist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check using MetadataFileHandle::getThumbnailFrame() method with extra argument" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataFileHandle_getThumbnailFrame_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_getThumbnailFrame_extra_argument.html</test_script_entry>
</description>
</testcase>
<testcase purpose="Check if MetadataFileHandle::get() method exists" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P0" id="MetadataFileHandle_get_exist">
<test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get_misarg.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if MetadataFileHandle::get() method throws exception when given incorrect metadata type" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P2" id="MetadataFileHandle_get_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_get_type_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
<testcase purpose="Interface MetadataFileHandle should not be accessible" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P3" id="MetadataFileHandle_notexist">
<description>
<test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataFileHandle_notexist.html</test_script_entry>
<test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataObject_notexist.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if attribute lyrics of MetadataSyncLyrics exists, has type string and is readonly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataSyncLyrics_lyrics_attribute">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_lyrics_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Interface MetadataSyncLyrics should not be accessible" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P3" id="MetadataSyncLyrics_notexist">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if attribute timestamp of MetadataSyncLyrics exists, has type number and is readonly" component="Tizen Device APIs/System/Metadata" execution_type="auto" priority="P1" id="MetadataSyncLyrics_timestamp_attribute">
+ <description>
+ <test_script_entry>/opt/tct-metadata-tizen-tests/metadata/MetadataSyncLyrics_timestamp_attribute.html</test_script_entry>
+ </description>
+ </testcase>
</set>
</suite>
</test_definition>