cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [4/6] git commit: added documentation for manual tests
Date Tue, 19 Aug 2014 01:38:41 GMT
added documentation for manual tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/19f17a71
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/19f17a71
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/19f17a71

Branch: refs/heads/master
Commit: 19f17a71e14105aa1b19edba491613afde305f13
Parents: 8ff7d17
Author: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Authored: Thu Jul 24 16:42:13 2014 -0400
Committer: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Committed: Thu Jul 24 16:42:13 2014 -0400

----------------------------------------------------------------------
 tests/tests.js | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/19f17a71/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 0d6edc8..8c0b97a 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -3123,6 +3123,11 @@ exports.defineManualTests = function (contentEl, createActionButton)
{
     div.appendChild(document.createTextNode('File Systems'));
     div.setAttribute("align", "center");
     contentEl.appendChild(div);
+
+    div = document.createElement('h3');
+    div.appendChild(document.createTextNode('Results are displayed in yellow status box below
with expected results noted under that'));
+    div.setAttribute("align", "center");
+    contentEl.appendChild(div);
     
     div = document.createElement('div');
     div.setAttribute("id", "button");
@@ -3149,4 +3154,18 @@ exports.defineManualTests = function (contentEl, createActionButton)
{
     div.setAttribute("id", "info");
     div.setAttribute("align", "center");
     contentEl.appendChild(div);
+
+    div = document.createElement('h3');
+    div.appendChild(document.createTextNode('For each test above, file or directory should
be successfully found. ' +
+        'Status box should say Resolving URL was Success. The first URL resolved is the internal
URL. ' +
+        'The second URL resolved is the absolute URL. Blue URLs must match.'));
+    div.setAttribute("align", "center");
+    contentEl.appendChild(div);
+
+    div = document.createElement('h3');
+    div.appendChild(document.createTextNode('For Test private URL (iOS), the private URL
(first blue URL in status box) ' +
+        'should be successfully resolved. Status box should say Successfully resolved. Both
blue URLs below ' +
+        'that should match.'));
+    div.setAttribute("align", "center");
+    contentEl.appendChild(div);
 };


Mime
View raw message