943a5b6990d29cecd2c991b89c19d3e53be7f51c
[test/tct/web/api.git] /
1 <!DOCTYPE html>
2 <!--
3 Copyright (c) 2013 Samsung Electronics Co., Ltd.
4
5 Licensed under the Apache License, Version 2.0 (the License);
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17
18 Authors:
19         Lukasz Bardeli <l.bardeli@samsung.com>
20
21 -->
22
23 <html>
24 <head>
25 <title>Message_email_constructor_messageInitDict_function</title>
26 <meta charset="utf-8"/>
27 <script type="text/javascript" src="support/unitcommon.js"></script>
28 </head>
29
30 <body>
31 <div id="log"></div>
32 <script type="text/javascript">
33
34 //==== TEST: Message_email_constructor_messageInitDict_function
35 //==== LABEL Check if Message's constructor works properly with function (email)
36 //==== PRIORITY P1
37 //==== SPEC Tizen Web API:Communication:Messaging:Message:constructor C
38 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
39 //==== TEST_CRITERIA CONSTRM
40
41 test(function () {
42
43     var message = new tizen.Message("messaging.email", function () {});
44
45     assert_true(message instanceof tizen.Message, "InstanceOf.");
46
47 }, document.title);
48
49 </script>
50 </body>
51 </html>