You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/07/28 15:54:05 UTC

fauxton commit: updated refs/heads/master to 5d47325

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 57923f457 -> 5d4732509


Add basic test file for all view files


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/5d473250
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/5d473250
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/5d473250

Branch: refs/heads/master
Commit: 5d473250916f3366843c047c97a36cfd14a1fb42
Parents: 57923f4
Author: Garren Smith <ga...@gmail.com>
Authored: Mon Jul 28 15:53:51 2014 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Mon Jul 28 15:53:51 2014 +0200

----------------------------------------------------------------------
 .../documents/tests/views-advancedoptsSpec.js   | 32 +++++++++++++++++++
 app/addons/documents/tests/views-changesSpec.js | 33 ++++++++++++++++++++
 .../documents/tests/views-doceditorSpec.js      | 33 ++++++++++++++++++++
 app/addons/documents/tests/views-indexSpec.js   | 33 ++++++++++++++++++++
 app/addons/documents/tests/views-sidebarSpec.js | 33 ++++++++++++++++++++
 5 files changed, 164 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5d473250/app/addons/documents/tests/views-advancedoptsSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-advancedoptsSpec.js b/app/addons/documents/tests/views-advancedoptsSpec.js
new file mode 100644
index 0000000..3f9373b
--- /dev/null
+++ b/app/addons/documents/tests/views-advancedoptsSpec.js
@@ -0,0 +1,32 @@
+// 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.
+define([
+        'addons/documents/views-advancedopts',
+        'testUtils'
+], function (Views, testUtils) {
+  var assert = testUtils.assert,
+      ViewSandbox = testUtils.ViewSandbox,
+      viewSandbox;
+
+  describe('Documents AdvancedOptions', function () {
+    var view;
+      beforeEach(function () {
+        viewSandbox = new ViewSandbox();
+        viewSandbox.renderView(view);
+      });
+
+      afterEach(function () {
+        viewSandbox.remove();
+      });
+  });
+});
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5d473250/app/addons/documents/tests/views-changesSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-changesSpec.js b/app/addons/documents/tests/views-changesSpec.js
new file mode 100644
index 0000000..51ccb92
--- /dev/null
+++ b/app/addons/documents/tests/views-changesSpec.js
@@ -0,0 +1,33 @@
+// 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.
+define([
+        'addons/documents/views-changes',
+        'testUtils'
+], function (Views, testUtils) {
+  var assert = testUtils.assert,
+      ViewSandbox = testUtils.ViewSandbox,
+      viewSandbox;
+
+  describe('Documents Changes', function () {
+    var view;
+      beforeEach(function () {
+        viewSandbox = new ViewSandbox();
+        viewSandbox.renderView(view);
+      });
+
+      afterEach(function () {
+        viewSandbox.remove();
+      });
+  });
+});
+
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5d473250/app/addons/documents/tests/views-doceditorSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-doceditorSpec.js b/app/addons/documents/tests/views-doceditorSpec.js
new file mode 100644
index 0000000..480d160
--- /dev/null
+++ b/app/addons/documents/tests/views-doceditorSpec.js
@@ -0,0 +1,33 @@
+// 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.
+define([
+        'addons/documents/views-doceditor',
+        'testUtils'
+], function (Views, testUtils) {
+  var assert = testUtils.assert,
+      ViewSandbox = testUtils.ViewSandbox,
+      viewSandbox;
+
+  describe('Documents Doc Editor', function () {
+    var view;
+      beforeEach(function () {
+        viewSandbox = new ViewSandbox();
+        viewSandbox.renderView(view);
+      });
+
+      afterEach(function () {
+        viewSandbox.remove();
+      });
+  });
+});
+
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5d473250/app/addons/documents/tests/views-indexSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-indexSpec.js b/app/addons/documents/tests/views-indexSpec.js
new file mode 100644
index 0000000..7012a04
--- /dev/null
+++ b/app/addons/documents/tests/views-indexSpec.js
@@ -0,0 +1,33 @@
+// 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.
+define([
+        'addons/documents/views-index',
+        'testUtils'
+], function (Views, testUtils) {
+  var assert = testUtils.assert,
+      ViewSandbox = testUtils.ViewSandbox,
+      viewSandbox;
+
+  describe('Documents Indexes', function () {
+    var view;
+      beforeEach(function () {
+        viewSandbox = new ViewSandbox();
+        viewSandbox.renderView(view);
+      });
+
+      afterEach(function () {
+        viewSandbox.remove();
+      });
+  });
+});
+
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/5d473250/app/addons/documents/tests/views-sidebarSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-sidebarSpec.js b/app/addons/documents/tests/views-sidebarSpec.js
new file mode 100644
index 0000000..216a21b
--- /dev/null
+++ b/app/addons/documents/tests/views-sidebarSpec.js
@@ -0,0 +1,33 @@
+// 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.
+define([
+        'addons/documents/views-sidebar',
+        'testUtils'
+], function (Views, testUtils) {
+  var assert = testUtils.assert,
+      ViewSandbox = testUtils.ViewSandbox,
+      viewSandbox;
+
+  describe('Documents Sidebar', function () {
+    var view;
+      beforeEach(function () {
+        viewSandbox = new ViewSandbox();
+        viewSandbox.renderView(view);
+      });
+
+      afterEach(function () {
+        viewSandbox.remove();
+      });
+  });
+});
+
+