From: Piotr Szydelko
Date: Tue, 8 Oct 2013 09:50:03 +0000 (+0200)
Subject: [NFC] code consistency improvement
X-Git-Tag: 2.2.1_release~105^2~17
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c3d419464ffb7318f26c28a69f9883c72fd9df7;p=test%2Ftct%2Fweb%2Fapi.git
[NFC] code consistency improvement
Change-Id: I951b3068ee6d48c4f9d2ef012eddf25d854c4b66
---
diff --git a/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html b/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html
index b721281ea..438d93597 100644
--- a/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html
@@ -23,7 +23,7 @@ Authors:
ByteArraySuccessCallback_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("ByteArraySuccessCallback");
-}, "ByteArraySuccessCallback_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html b/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html
index 8f388259e..f3106371b 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html
@@ -23,7 +23,7 @@ Authors:
NDEFMessageReadCallback_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NDEFMessageReadCallback");
-}, "NDEFMessageReadCallback_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html
index 3121594f8..46757655b 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html
@@ -27,7 +27,7 @@ Authors:
NDEFMessage_constructor
-
+
@@ -35,7 +35,7 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html
index e2f3770b7..97c4f7dd0 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html
@@ -27,7 +27,7 @@ Authors:
NDEFMessage_constructor_rawData
-
+
@@ -35,7 +35,7 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html
index 21777758c..23e0fc10e 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html
@@ -39,7 +39,7 @@ Authors:
@@ -37,7 +37,7 @@ Authors:
test(function () {
check_constructor("NDEFMessage");
-}, "NDEFMessage_exist");
+}, document.title);
@@ -40,7 +40,7 @@ var message;
test(function () {
message = new tizen.NDEFMessage();
check_extensibility(message);
-}, "NDEFMessage_extend");
+}, document.title);
@@ -60,7 +60,7 @@ test(function () {
check_not_nullable(message, "records");
-}, "NDEFMessage_records_attribute");
+}, document.title);
@@ -34,14 +34,14 @@ Authors:
@@ -35,7 +35,7 @@ Authors:
@@ -35,7 +35,7 @@ Authors:
@@ -39,7 +39,7 @@ var message;
test(function () {
message = new tizen.NDEFMessage();
checkExtraArgument(message, "toByte");
-}, "NDEFMessage_toByte_extra_argument");
+}, document.title);
@@ -51,7 +51,7 @@ test(function () {
assert_equals(record.mimeType, "text/plain", "record.mimeType");
assert_array_equals(record.payload, bytes, "record.payload");
-}, "NDEFRecordMedia_constructor");
+}, document.title);
@@ -37,7 +37,7 @@ Authors:
test(function () {
check_constructor("NDEFRecordMedia");
-}, "NDEFRecordMedia_exist");
+}, document.title);
@@ -42,7 +42,7 @@ var record,
test(function () {
record = new tizen.NDEFRecordMedia("text/plain", bytes);
check_extensibility(record);
-}, "NDEFRecordMedia_extend");
+}, document.title);
@@ -50,7 +50,7 @@ test(function () {
assert_array_equals(record.id, id_bytes, "record.id after assignment");
check_invalid_array_assignments(record, "id", false);
-}, "NDEFRecordMedia_id_attribute");
+}, document.title);
@@ -45,7 +45,7 @@ test(function () {
record.mimeType = null;
assert_equals(record.mimeType, "text/plain", "record.mimeType should ignore null");
-}, "NDEFRecordMedia_mimeType_attribute");
+}, document.title);
@@ -49,7 +49,7 @@ test(function () {
assert_array_equals(record.payload, bytes, "record.payload after assignment");
check_invalid_array_assignments(record, "payload", false);
-}, "NDEFRecordMedia_payload_attribute");
+}, document.title);
@@ -45,7 +45,7 @@ test(function () {
record.tnf = null;
assert_not_equals(record.tnf, null, "record.tnf should not accept null");
-}, "NDEFRecordMedia_tnf_attribute");
+}, document.title);
@@ -51,7 +51,7 @@ test(function () {
assert_array_equals(record.type, type_bytes, "record.type after assignment");
check_invalid_array_assignments(record, "type", false);
-}, "NDEFRecordMedia_type_attribute");
+}, document.title);
@@ -48,7 +48,7 @@ test(function () {
assert_own_property(record, "text", "NDEFRecordText.text");
assert_own_property(record, "languageCode", "NDEFRecordText.languageCode");
assert_own_property(record, "encoding", "NDEFRecordText.encoding");
-}, "NDEFRecordText_constructor");
+}, document.title);
@@ -49,7 +49,7 @@ test(function () {
assert_own_property(record, "languageCode", "NDEFRecordText.languageCode");
assert_own_property(record, "encoding", "NDEFRecordText.encoding");
assert_equals(record.encoding, "UTF16", "record.encoding");
-}, "NDEFRecordText_constructor_encoding_UTF16");
+}, document.title);
@@ -49,7 +49,7 @@ test(function () {
assert_own_property(record, "languageCode", "NDEFRecordText.languageCode");
assert_own_property(record, "encoding", "NDEFRecordText.encoding");
assert_equals(record.encoding, "UTF8", "record.encoding");
-}, "NDEFRecordText_constructor_encoding_UTF8");
+}, document.title);
@@ -53,7 +53,7 @@ test(function () {
record.encoding = "";
assert_not_equals(record.encoding, null, "record.encoding should not accept '' (empty)");
-}, "NDEFRecordText_encoding_attribute");
+}, document.title);
@@ -37,7 +37,7 @@ Authors:
test(function () {
check_constructor("NDEFRecordText");
-}, "NDEFRecordText_exist");
+}, document.title);
@@ -40,7 +40,7 @@ var record;
test(function () {
record = new tizen.NDEFRecordText("Hello World!", "en-GB");
check_extensibility(record);
-}, "NDEFRecordText_extend");
+}, document.title);
@@ -49,7 +49,7 @@ test(function () {
assert_array_equals(record.id, id_bytes, "record.id after assignment");
check_invalid_array_assignments(record, "id", false);
-}, "NDEFRecordText_id_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.languageCode = null;
assert_equals(record.languageCode, "en-GB", "record.languageCode should ignore null");
-}, "NDEFRecordText_languageCode_attribute");
+}, document.title);
@@ -52,7 +52,7 @@ test(function () {
assert_array_equals(record.payload, payload_bytes, "record.payload after assignment");
check_invalid_array_assignments(record, "payload", false);
-}, "NDEFRecordText_payload_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.text = null;
assert_equals(record.text, text, "record.text should ignore null");
-}, "NDEFRecordText_text_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.tnf = null;
assert_equals(record.tnf, tizen.nfc.NFC_RECORD_TNF_WELL_KNOWN, "record.tnf should ignore null");
-}, "NDEFRecordText_tnf_attribute");
+}, document.title);
@@ -47,7 +47,7 @@ test(function () {
assert_array_equals(record.type, [84], "record.type after assignment");
check_invalid_array_assignments(record, "type", false);
-}, "NDEFRecordText_type_attribute");
+}, document.title);
@@ -48,7 +48,7 @@ test(function () {
assert_own_property(record, "uri", "NDEFRecordURI.uri");
assert_equals(record.uri, "https://www.tizen.org/", "record.uri");
-}, "NDEFRecordURI_constructor");
+}, document.title);
@@ -37,7 +37,7 @@ Authors:
test(function () {
check_constructor("NDEFRecordURI");
-}, "NDEFRecordURI_exist");
+}, document.title);
@@ -40,7 +40,7 @@ var record;
test(function () {
record = new tizen.NDEFRecordURI("https://www.tizen.org/");
check_extensibility(record);
-}, "NDEFRecordURI_extend");
+}, document.title);
@@ -49,7 +49,7 @@ test(function () {
assert_array_equals(record.id, id_bytes, "record.id after assignment");
check_invalid_array_assignments(record, "id", false);
-}, "NDEFRecordURI_id_attribute");
+}, document.title);
@@ -52,7 +52,7 @@ test(function () {
assert_array_equals(record.payload, payload_bytes, "record.payload after assignment");
check_invalid_array_assignments(record, "payload", false);
-}, "NDEFRecordURI_payload_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.tnf = null;
assert_equals(record.tnf, tizen.nfc.NFC_RECORD_TNF_WELL_KNOWN, "record.tnf should ignore null");
-}, "NDEFRecordURI_tnf_attribute");
+}, document.title);
@@ -47,7 +47,7 @@ test(function () {
assert_array_equals(record.type, type_bytes, "record.type after assignment");
check_invalid_array_assignments(record, "type", false);
-}, "NDEFRecordURI_type_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.uri = null;
assert_not_equals(record.uri, null, "record.uri should not accept null");
-}, "NDEFRecordURI_uri_attribute");
+}, document.title);
@@ -45,7 +45,7 @@ test(function () {
assert_own_property(record, "type", "NDEFRecord.type");
assert_own_property(record, "id", "NDEFRecord.id");
assert_own_property(record, "payload", "NDEFRecord.payload");
-}, "NDEFRecord_constructor");
+}, document.title);
@@ -55,7 +55,7 @@ test(function () {
assert_array_equals(record2.type, [202], "record2.type should be set up from bytes");
assert_array_equals(record2.payload, [240, 241], "record2.payload should be set up from bytes");
-}, "NDEFRecord_constructor_raw_data");
+}, document.title);
@@ -37,7 +37,7 @@ Authors:
test(function () {
check_constructor("NDEFRecord");
-}, "NDEFRecord_exist");
+}, document.title);
@@ -40,7 +40,7 @@ var record;
test(function () {
record = new tizen.NDEFRecord(tizen.nfc.NFC_RECORD_TNF_UNKNOWN, [0x20], [0x40, 0x41]);
check_extensibility(record);
-}, "NDEFRecord_extend");
+}, document.title);
@@ -54,7 +54,7 @@ test(function () {
record = new tizen.NDEFRecord(tizen.nfc.NFC_RECORD_TNF_UNKNOWN, [], []);
assert_array_equals(record.id, [], "default value of id");
-}, "NDEFRecord_id_attribute");
+}, document.title);
@@ -48,7 +48,7 @@ test(function () {
assert_array_equals(record.payload, payload_bytes, "record.payload after assignment");
check_invalid_array_assignments(record, "payload", false);
-}, "NDEFRecord_payload_attribute");
+}, document.title);
@@ -43,7 +43,7 @@ test(function () {
record.tnf = null;
assert_equals(record.tnf, tizen.nfc.NFC_RECORD_TNF_UNKNOWN, "record.tnf should ignore null");
-}, "NDEFRecord_tnf_attribute");
+}, document.title);
@@ -47,7 +47,7 @@ test(function () {
assert_array_equals(record.type, [0x20], "record.type after assignment");
check_invalid_array_assignments(record, "type", false);
-}, "NDEFRecord_type_attribute");
+}, document.title);
@@ -40,7 +40,7 @@ test(function () {
var adapter;
adapter = tizen.nfc.getDefaultAdapter();
check_extensibility(adapter);
-}, "NFCAdapter_extend");
+}, document.title);
@@ -41,7 +41,7 @@ test(function () {
message = adapter.getCachedMessage();
assert_true(message === null || message instanceof tizen.NDEFMessage,
"getCachedMessage() should return NDEFMessage or null");
-}, "NFCAdapter_getCachedMessage");
+}, document.title);
spec reference
@@ -39,7 +39,7 @@ var adapter;
test(function () {
adapter = tizen.nfc.getDefaultAdapter();
checkExtraArgument(adapter, "getCachedMessage");
-}, "NFCAdapter_getCachedMessage_extra_argument");
+}, document.title);
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCAdapter");
-}, "NFCAdapter_notexist");
+}, document.title);
@@ -46,7 +46,7 @@ test(function () {
adapter.powered = !originalValue;
assert_equals(adapter.powered, originalValue, "adapter.powered should not be changed");
-}, "NFCAdapter_powered_attribute");
+}, document.title);
spec reference
+
@@ -57,7 +57,7 @@ test(function () {
}, "[listener = " + value + "]"
);
}
-}, "NFCAdapter_setPeerListener_detectCallback_TypeMismatch");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html
index 726d8cd68..3ec55e60d 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPeerListener_detectCallback_invalid_cb
-
+
@@ -39,7 +39,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setPeerListener_detectCallback_invalid_cb", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, incorrectListeners, value, exceptionName, i;
t.step(function () {
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html
index 58c59442c..1bd4789c8 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html
@@ -35,14 +35,14 @@ Authors:
NFCAdapter_setPeerListener_exist
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html
index 7c67960bd..749068187 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html
@@ -25,7 +25,7 @@ Authors:
NFCAdapter_setPeerListener_missarg
-
+
@@ -33,18 +33,16 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html
index 7f671453b..4efcacf50 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPowered_errorCallback_TypeMismatch
-
+
@@ -55,7 +55,7 @@ test(function () {
}
-}, "NFCAdapter_setPowered_errorCallback_TypeMismatch");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html
index bd320cfdb..eec969412 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPowered_errorCallback_invalid_cb
-
+
@@ -39,7 +39,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setPowered_errorCallback_invalid_cb", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, onSuccess, invalidOnError;
t.step(function () {
@@ -54,9 +54,7 @@ t.step(function () {
})
};
- assert_throws({
- "name": "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
adapter.setPowered(true, onSuccess, invalidOnError);
});
t.done();
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html
index 778271e04..9f5cdcda7 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html
@@ -35,14 +35,14 @@ Authors:
NFCAdapter_setPowered_exist
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html
index d564fbf9a..c0c97aac5 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html
@@ -40,7 +40,7 @@ Authors:
+
@@ -54,7 +54,7 @@ test(function () {
);
}
-}, "NFCAdapter_setPowered_successCallback_TypeMismatch");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html
index d7ff025c9..97dd5c4cb 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPowered_successCallback_invalid_cb
-
+
@@ -39,7 +39,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setPowered_successCallback_invalid_cb", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, invalidOnSuccess, onError;
t.step(function () {
@@ -54,9 +54,7 @@ t.step(function () {
assert_unreached("onError was not expected");
});
- assert_throws({
- "name": "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
adapter.setPowered(true, invalidOnSuccess, onError);
});
t.done();
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html
index 201524734..d272fd110 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPowered_without_errorCallback
-
+
@@ -39,7 +39,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setPowered_without_errorCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, onSuccess;
t.step(function () {
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html
index 55be8242b..addef2938 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setPowered_without_successCallback
-
+
@@ -37,7 +37,7 @@ Authors:
//==== TEST_CRITERIA MMINA
//==== ONLOAD_DELAY 90
-var t = async_test("NFCAdapter_setPowered_without_successCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter;
setup({timeout: 90000});
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html
index 249a926c8..5312dfb4b 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html
@@ -41,7 +41,7 @@ Authors:
+
@@ -57,7 +57,7 @@ test(function () {
}, "[listener = " + value + "]"
);
}
-}, "NFCAdapter_setTagListener_detectCallback_TypeMismatch");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html
index fec52fbee..2622f49ba 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setTagListener_detectCallback_invalid_cb
-
+
@@ -39,7 +39,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setTagListener_detectCallback_invalid_cb", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, incorrectListeners, value, exceptionName, i;
t.step(function () {
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html
index 5379fd21c..329b763ef 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html
@@ -35,14 +35,14 @@ Authors:
NFCAdapter_setTagListener_exist
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html
index 85c5bca26..2f752fc6e 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html
@@ -25,7 +25,7 @@ Authors:
NFCAdapter_setTagListener_missarg
-
+
@@ -33,19 +33,17 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html
index c67b209a5..7e2a92c25 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_setTagListener_tagFilter_TypeMismatch
-
+
@@ -39,11 +39,10 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCAdapter_setTagListener_tagFilter_TypeMismatch", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000}), adapter = tizen.nfc.getDefaultAdapter(), i, badValues,
+ value, exceptionName, listener;
t.step(function () {
- var adapter = tizen.nfc.getDefaultAdapter(),
- i, badValues, value, exceptionName, listener;
listener = {
onattach: this.step_func(function () { assert_unreached("onattach"); }),
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html
index d55560a03..e56a39dba 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html
@@ -39,7 +39,7 @@ Authors:
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html
index 573165f37..afaee4b32 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_unsetPeerListener_extra_argument
-
+
@@ -39,7 +39,7 @@ var adapter;
test(function () {
adapter = tizen.nfc.getDefaultAdapter();
checkExtraArgument(adapter, "unsetPeerListener");
-}, "NFCAdapter_unsetPeerListener_extra_argument");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html
index 5d8c90a7d..a69f2c609 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html
@@ -45,7 +45,7 @@ Authors:
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html
index 63bc6542e..914ee6e8e 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
NFCAdapter_unsetTagListener_extra_argument
-
+
@@ -39,7 +39,7 @@ var adapter;
test(function () {
adapter = tizen.nfc.getDefaultAdapter();
checkExtraArgument(adapter, "unsetTagListener");
-}, "NFCAdapter_unsetTagListener_extra_argument");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html b/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html
index 00a12bc10..280bae632 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html
@@ -23,7 +23,7 @@ Authors:
NFCManagerObject_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCManagerObject");
-}, "NFCManagerObject_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html
index 6dce5f6ac..8a4ec6a76 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_EMPTY_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_EMPTY", 0, "number", 2);
-}, "NFCManager_NFC_RECORD_TNF_EMPTY_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html
index d2a23e466..452b76885 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_EXTERNAL_RTD", 4, "number", 2);
-}, "NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html
index 132292f97..f3a066619 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_MIME_MEDIA", 2, "number", 0);
-}, "NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html
index f226288f2..a747fb31d 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_UNCHANGED_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_UNCHANGED", 6, "number", 0);
-}, "NFCManager_NFC_RECORD_TNF_UNCHANGED_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html
index 520485b49..dd5126186 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_UNKNOWN_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_UNKNOWN", 5, "number", 0);
-}, "NFCManager_NFC_RECORD_TNF_UNKNOWN_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html
index 1eff88b36..01aad29a2 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_URI_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_URI", 3, "number", 0);
-}, "NFCManager_NFC_RECORD_TNF_URI_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html
index b751b94e9..90a956ae5 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_const(tizen.nfc, "NFC_RECORD_TNF_WELL_KNOWN", 1, "number", 0);
-}, "NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_extend.html b/tct-nfc-tizen-tests/nfc/NFCManager_extend.html
index 6e3507cf3..92fc0dede 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_extend.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_extend
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_extensibility(tizen.nfc);
-}, "NFCManager_extend");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html
index 385669676..c4ef637e7 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html
@@ -27,7 +27,7 @@ Authors:
NFCManager_getDefaultAdapter
-
+
@@ -35,7 +35,7 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html
index 03621a2c0..6747b432d 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html
@@ -34,14 +34,14 @@ Authors:
NFCManager_getDefaultAdapter_exists
-
+
spec reference
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html
index fa64ec55c..ada5cbed0 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_getDefaultAdapter_extra_argument
-
+
@@ -37,7 +37,7 @@ Authors:
test(function () {
checkExtraArgument(tizen.nfc, "getDefaultAdapter");
-}, "NFCManager_getDefaultAdapter_extra_argument");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html b/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html
index 4238e46b6..eb187ad6e 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCManager");
-}, "NFCManager_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html b/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html
index a8eb18746..aa5c05344 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_setExclusiveMode
-
+
@@ -45,7 +45,7 @@ test(function () {
result = null;
result = tizen.nfc.setExclusiveMode(false);
assert_equals(result, undefined, "setExclusiveMode() should return undefined");
-}, "NFCManager_setExclusiveMode");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html b/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html
index 297b93a48..bf7ee8745 100644
--- a/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html
@@ -23,7 +23,7 @@ Authors:
NFCManager_setExclusiveMode_exist
-
+
@@ -42,7 +42,7 @@ test(function () {
"tizen.nfc object should have method setExclusiveMode");
check_method_exists(tizen.nfc, "setExclusiveMode");
-}, "NFCManager_setExclusiveMode_exist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeer.html b/tct-nfc-tizen-tests/nfc/NFCPeer.html
index 0d9e369e5..1b4071ab6 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeer.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeer.html
@@ -23,7 +23,7 @@ Authors:
NFCPeer
-
+
@@ -85,7 +85,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCPeer_extend", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
var adapter, listener;
@@ -131,9 +131,7 @@ t.step(function () {
recordCount: 0
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.sendNDEF(invalidMessage);
});
}, "NFCPeer_sendNDEF_ndefMessage_invalid_obj");
@@ -168,9 +166,7 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.sendNDEF(message, invalidCallback);
});
}, "NFCPeer_sendNDEF_successCallback_invalid_cb");
@@ -205,18 +201,14 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.sendNDEF(message, t.step_func(assert_unreached), invalidCallback);
});
}, "NFCPeer_sendNDEF_errorCallback_invalid_cb");
//------------ NFCPeer_sendNDEF_missarg
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.sendNDEF();
});
}, "NFCPeer_sendNDEF_missarg");
@@ -255,18 +247,14 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.setReceiveNDEFListener(invalidCallback);
});
}, "NFCPeer_setReceiveNDEFListener_successCallback_invalid_cb");
//------------ NFCPeer_setReceiveNDEFListener_missarg
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
peer.setReceiveNDEFListener();
});
}, "NFCPeer_setReceiveNDEFListener_missarg");
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html b/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html
index 9de8a8fad..018763fcf 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html
@@ -23,7 +23,7 @@ Authors:
NFCPeerDetectCallback_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCPeerDetectCallback");
-}, "NFCPeerDetectCallback_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html b/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html
index dd976dda0..4ea6ff0c6 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html
@@ -34,13 +34,13 @@ Authors:
NFCPeerDetectCallback_onattach
-
+
-
+
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCPeer");
-}, "NFCPeer_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html b/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html
index 65076b8c2..f02d37b10 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html
@@ -34,13 +34,13 @@ Authors:
NFCPeer_sendNDEF_errorCallback
-
+
-
+
@@ -39,7 +39,7 @@ Authors:
//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
//==== TEST_CRITERIA MOA MR
-var t = async_test("NFCPeer_sendNDEF_with_errorCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
adapter, listener, ndefMessage, successCallback, errorCallback,
returnedValue = null;
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html b/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html
index 271747c78..005ff035d 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html
@@ -24,7 +24,7 @@ Authors:
NFCPeer_sendNDEF_with_successCallback
-
+
@@ -40,7 +40,7 @@ Authors:
//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
//==== TEST_CRITERIA MOA MR
-var t = async_test("NFCPeer_sendNDEF_with_successCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
returnedValue = null, adapter, listener, ndefMessage, successCallback;
setup({timeout: 90000});
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html b/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html
index 9f794dd25..9f3e89fbc 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html
@@ -23,7 +23,7 @@ Authors:
NFCPeer_unsetReceiveNDEFListener
-
+
@@ -42,13 +42,11 @@ Authors:
//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.
//==== TEST_CRITERIA MR MNA MNAST
-var t = async_test("NFCPeer_unsetReceiveNDEFListener", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000}), adapter, listener, onMessage, returnedValue = null, button = document.getElementById("doneButton");
setup({timeout: 90000});
t.step(function () {
- var adapter, listener, onMessage, returnedValue = null,
- button = document.getElementById("doneButton");
onMessage = t.step_func(function (message) {
assert_unreached("Message received by listener - unsetReceiveNDEFListener() does not work");
diff --git a/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html b/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html
index 5926bf5fe..346a8cd31 100644
--- a/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
NFCPeer_unsetReceiveNDEFListener_extra_argument
-
+
@@ -40,11 +40,10 @@ Authors:
//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
//==== TEST_CRITERIA MNAEX
-var adapter, t = async_test("NFCPeer_unsetReceiveNDEFListener_extra_argument", {timeout: 90000});
+var adapter, t = async_test(document.title, {timeout: 90000}), listener;
setup({timeout: 90000});
t.step(function () {
- var listener;
listener = {
onattach: t.step_func(function (peer) {
diff --git a/tct-nfc-tizen-tests/nfc/NFCTag.html b/tct-nfc-tizen-tests/nfc/NFCTag.html
index b51cdd30a..18e1113ad 100644
--- a/tct-nfc-tizen-tests/nfc/NFCTag.html
+++ b/tct-nfc-tizen-tests/nfc/NFCTag.html
@@ -23,7 +23,7 @@ Authors:
NFCTag
-
+
@@ -121,7 +121,7 @@ Authors:
setup({timeout: 90000});
-var t = async_test("NFCTag_extend", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
@@ -213,9 +213,7 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.readNDEF(invalidCallback);
});
}, "NFCTag_readNDEF_readCallback_invalid_cb");
@@ -246,18 +244,14 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.readNDEF(t.step_func(assert_unreached), invalidCallback);
});
}, "NFCTag_readNDEF_errorCallback_invalid_cb");
//------------ NFCTag_readNDEF_missarg
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.readNDEF();
});
}, "NFCTag_readNDEF_missarg");
@@ -293,9 +287,7 @@ t.step(function () {
recordCount: 0
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.writeNDEF(invalidMessage);
});
}, "NFCTag_writeNDEF_ndefMessage_invalid_obj");
@@ -330,9 +322,7 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.writeNDEF(message, invalidCallback);
});
}, "NFCTag_writeNDEF_successCallback_invalid_cb");
@@ -367,18 +357,14 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.writeNDEF(message, t.step_func(assert_unreached), invalidCallback);
});
}, "NFCTag_writeNDEF_errorCallback_invalid_cb");
//------------ NFCTag_writeNDEF_missarg
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.writeNDEF();
});
}, "NFCTag_writeNDEF_missarg");
@@ -436,9 +422,7 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.transceive(bytes, invalidCallback);
});
}, "NFCTag_transceive_dataCallback_invalid_cb");
@@ -473,18 +457,14 @@ t.step(function () {
})
};
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.transceive(bytes, t.step_func(assert_unreached), invalidCallback);
});
}, "NFCTag_transceive_errorCallback_invalid_cb");
//------------ NFCTag_transceive_missarg
test(function () {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tag.transceive([]);
});
}, "NFCTag_transceive_missarg");
diff --git a/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html b/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html
index 81149fc18..a104becb8 100644
--- a/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html
@@ -23,7 +23,7 @@ Authors:
NFCTagDetectCallback_notexist
-
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCTagDetectCallback");
-}, "NFCTagDetectCallback_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html b/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html
index fa969e9ce..314b3c2cc 100644
--- a/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html
+++ b/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html
@@ -39,7 +39,7 @@ Authors:
+
@@ -38,7 +38,7 @@ Authors:
test(function () {
check_no_interface_object("NFCTag");
-}, "NFCTag_notexist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html b/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html
index 68341e9c6..b18aaee1f 100644
--- a/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html
+++ b/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html
@@ -39,7 +39,7 @@ Authors:
-
+
+
@@ -39,7 +39,7 @@ Authors:
test(function () {
assert_own_property(tizen, "nfc", "Tizen should implement NFCManagerObject");
assert_equals(typeof(tizen.nfc), "object", "tizen.nfc should be object");
-}, "Tizen_nfc_exist");
+}, document.title);
diff --git a/tct-nfc-tizen-tests/nfc/support/unitcommon.js b/tct-nfc-tizen-tests/nfc/support/unitcommon.js
new file mode 100644
index 000000000..9f972c1eb
--- /dev/null
+++ b/tct-nfc-tizen-tests/nfc/support/unitcommon.js
@@ -0,0 +1,559 @@
+/*
+
+Copyright (c) 2013 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:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
diff --git a/tct-nfc-tizen-tests/resources/unitcommon.js b/tct-nfc-tizen-tests/resources/unitcommon.js
deleted file mode 100644
index 9f972c1eb..000000000
--- a/tct-nfc-tizen-tests/resources/unitcommon.js
+++ /dev/null
@@ -1,559 +0,0 @@
-/*
-
-Copyright (c) 2013 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:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [null, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
diff --git a/tct-nfc-tizen-tests/tests.full.xml b/tct-nfc-tizen-tests/tests.full.xml
index 3ed8bdf59..95364fed3 100644
--- a/tct-nfc-tizen-tests/tests.full.xml
+++ b/tct-nfc-tizen-tests/tests.full.xml
@@ -6,7 +6,7 @@
-
+
Turn OFF NFC adapter.
@@ -25,7 +25,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -44,7 +44,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -63,7 +63,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -82,7 +82,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -101,7 +101,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -120,7 +120,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -177,7 +177,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
@@ -196,7 +196,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -215,7 +215,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html
@@ -227,7 +227,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html
@@ -239,7 +239,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
@@ -282,7 +282,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html
@@ -294,7 +294,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html
@@ -306,7 +306,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html
@@ -342,7 +342,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html
@@ -366,7 +366,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html
@@ -378,7 +378,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html
@@ -762,7 +762,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html
@@ -774,7 +774,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html
@@ -942,7 +942,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html
@@ -1050,7 +1050,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html
@@ -1206,7 +1206,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html
@@ -1364,7 +1364,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html
@@ -1376,7 +1376,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -1395,7 +1395,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html
@@ -1407,7 +1407,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html
@@ -1419,7 +1419,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html
@@ -1431,7 +1431,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html
@@ -1443,7 +1443,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html
@@ -1455,7 +1455,7 @@
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -1563,7 +1563,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag
@@ -1582,7 +1582,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -1601,7 +1601,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -1625,7 +1625,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -1644,7 +1644,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag
@@ -1663,7 +1663,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -1682,7 +1682,7 @@
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -1850,7 +1850,7 @@
-
+
Turn ON NFC adapter.
@@ -1869,7 +1869,7 @@
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html
diff --git a/tct-nfc-tizen-tests/tests.xml b/tct-nfc-tizen-tests/tests.xml
index f2810b6cc..0f11439b9 100644
--- a/tct-nfc-tizen-tests/tests.xml
+++ b/tct-nfc-tizen-tests/tests.xml
@@ -6,7 +6,7 @@
-
+
Turn OFF NFC adapter.
@@ -18,7 +18,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -30,7 +30,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -42,7 +42,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -54,7 +54,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -66,7 +66,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -78,7 +78,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -114,7 +114,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
@@ -126,7 +126,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -138,17 +138,17 @@
/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
@@ -170,17 +170,17 @@
/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html
@@ -195,7 +195,7 @@
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html
@@ -205,12 +205,12 @@
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html
@@ -370,12 +370,12 @@
/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html
@@ -445,7 +445,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html
@@ -490,7 +490,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html
@@ -555,7 +555,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCManager_extend.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html
@@ -629,12 +629,12 @@
/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -646,32 +646,32 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html
-
+
Turn on NFC adapter. Prepare the other device with NFC turned on.
@@ -695,7 +695,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html
-
+
Turn on NFC adapter. Prepare NFC tag
@@ -707,7 +707,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -719,7 +719,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -731,7 +731,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -743,7 +743,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html
-
+
Turn on NFC adapter. Prepare NFC tag
@@ -755,7 +755,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -767,7 +767,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html
-
+
Turn on NFC adapter. Prepare NFC tag.
@@ -791,7 +791,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCTag.html
-
+
Turn ON NFC adapter.
@@ -803,7 +803,7 @@
/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html
-
+
/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html
index 8e645c029..0e197dad7 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html
@@ -23,7 +23,7 @@ Authors:
NDEFMessage_exist
NDEFMessage_extend
NDEFMessage_recordCount_attribute
NDEFMessage_records_attribute
NDEFMessage_toByte_exists
NDEFMessage_toByte_extra_argument
NDEFRecordMedia_constructor
NDEFRecordMedia_exist
NDEFRecordMedia_extend
NDEFRecordMedia_id_attribute
NDEFRecordMedia_mimeType_attribute
NDEFRecordMedia_payload_attribute
NDEFRecordMedia_tnf_attribute
NDEFRecordMedia_type_attribute
NDEFRecordText_constructor
NDEFRecordText_constructor_encoding_UTF16
NDEFRecordText_constructor_encoding_UTF8
NDEFRecordText_encoding_attribute
NDEFRecordText_exist
NDEFRecordText_extend
NDEFRecordText_id_attribute
NDEFRecordText_languageCode_attribute
NDEFRecordText_payload_attribute
NDEFRecordText_text_attribute
NDEFRecordText_tnf_attribute
NDEFRecordText_type_attribute
NDEFRecordURI_constructor
NDEFRecordURI_exist
NDEFRecordURI_extend
NDEFRecordURI_id_attribute
NDEFRecordURI_payload_attribute
NDEFRecordURI_tnf_attribute
NDEFRecordURI_type_attribute
NDEFRecordURI_uri_attribute
NDEFRecord_constructor
NDEFRecord_constructor_raw_data
NDEFRecord_exist
NDEFRecord_extend
NDEFRecord_id_attribute
NDEFRecord_payload_attribute
NDEFRecord_tnf_attribute
NDEFRecord_type_attribute
NFCAdapter_extend
NFCAdapter_getCachedMessage
NFCAdapter_getCachedMessage_exist
NFCAdapter_getCachedMessage_extra_argument
NFCAdapter_notexist
NFCAdapter_powered_attribute
NFCAdapter_setPeerListener
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html
index f55cec1d4..4f17beed1 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html
index 2792af00d..864736610 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html
@@ -34,13 +34,13 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html
index 53e8ebb60..ae149b2d9 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html
index 60eade456..95751153a 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html
@@ -26,7 +26,7 @@ Authors:
NDEFMessage_toByte
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html
index c64241bc0..967df8c0e 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html
@@ -27,7 +27,7 @@ Authors:
NDEFMessage_toByte_TypeMismatch
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html
index ddeb28659..9a3a6b4a7 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html
@@ -27,7 +27,7 @@ Authors:
NDEFMessage_toByte_empty
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html
index 0cb1b606c..16e03d039 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html
@@ -34,13 +34,13 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html
index d3519eaa1..7353a06ed 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html
index 38b443841..ff7b05f05 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html
index 69dc343a1..1c244927f 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html
index 6089a0c09..67601e12c 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html
index e550d9361..093ae7d00 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html
index afc50aae4..b49862dbc 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html
index fa40c6b8e..8b08ed952 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html
index 7d75248f8..d57cf9e5b 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html
index 39495ba7c..1c9d022c3 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html
index 8d46d8cf6..5ef7dbab6 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html
index edf727a48..c4565aad3 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html
index 34f9f0be1..4e38fad54 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html
index a296946ed..0ce77b6ba 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html
index 1e11608bd..9d3a08345 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html
index 8e0fee039..e12a375e4 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html
index 57238fd74..c3ffc8401 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html
index b90b8e553..a7f69975d 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html
index 91ab7504a..b40a5322b 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html
index f4b4707a9..e789a5078 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html
index 0c1ac8769..46d200c8c 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html
index 7a6007576..89b4aff80 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html
index 8dc859648..84bbf9078 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html
index cc7d21e10..9eb384192 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html
index 159a651f6..cb6cb744a 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html
index 22aba996f..b82d69629 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html
index 63d17b065..beb6f1108 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html
index 5b8818084..ad71f0f4a 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html
index c52f82354..96c226e27 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html
index 3c6b422b5..c0f90f4c1 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html
index 4aef54dc3..923ebc8a0 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html
index c4e0760f0..9d00a44b7 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html
index c4d5ac3a7..ae8d0c7ad 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html
@@ -40,7 +40,7 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html
index 896f02ca7..e1e0e48fa 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html
@@ -40,7 +40,7 @@ Authors:
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html
index 6a1b357d5..486559d09 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html
index df0f8a86e..a16952e51 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html
index 686aa0cc8..b8072cf97 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html
index d63c4a38e..0704935e2 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html
index 9efd33129..70ba6a582 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html b/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html
index 96fcf8b03..cc7316467 100644
--- a/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html
index e0b48c83c..6a9ecf5c2 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html
index bdb0d3d4b..588c5963d 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html
index 4b884a8c7..4aa208672 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html
@@ -35,14 +35,14 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html
index 63fe084b9..d68372fe2 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html
index cb39d5c84..77be5df8a 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html
index c32b5af45..42a4b81e5 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html
@@ -23,7 +23,7 @@ Authors:
-
+
diff --git a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html
index fea7d13a3..1b22dfa93 100644
--- a/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html
+++ b/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html
@@ -36,14 +36,14 @@ Authors:
-
+