浏览代码

wip default toolbar tests

Steven Silvester 8 年之前
父节点
当前提交
e529739266
共有 2 个文件被更改,包括 66 次插入0 次删除
  1. 1 0
      test/src/index.ts
  2. 65 0
      test/src/notebook/notebook/default-toolbar.spec.ts

+ 1 - 0
test/src/index.ts

@@ -14,6 +14,7 @@ import './notebook/cells/widget.spec';
 import './notebook/cells/model.spec';
 
 import './notebook/notebook/actions.spec';
+import './notebook/notebook/default-toolbar.spec';
 import './notebook/notebook/model.spec';
 import './notebook/notebook/modelfactory.spec';
 import './notebook/notebook/nbformat.spec';

+ 65 - 0
test/src/notebook/notebook/default-toolbar.spec.ts

@@ -0,0 +1,65 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
+import expect = require('expect.js');
+
+import {
+ TooolbarItems
+} from '../../../../lib/notebook/notebook/model';
+
+
+describe('notebook/notebook/default-toolbar', () => {
+
+  describe('TooolbarItems', () => {
+
+    describe('#createSaveButton()', () => {
+
+    });
+
+    describe('#createInsertButton()', () => {
+
+    });
+
+    describe('#createCutButton()', () => {
+
+    });
+
+    describe('#createCopyButton()', () => {
+
+    });
+
+    describe('#createPasteButton()', () => {
+
+    });
+
+    describe('#createRunButton()', () => {
+
+    });
+
+    describe('#createInterruptButton()', () => {
+
+    });
+
+    describe('#createRestartButton()', () => {
+
+    });
+
+    describe('#createCellTypeItem()', () => {
+
+    });
+
+    describe('#createKernelNameItem()', () => {
+
+    });
+
+    describe('#createKernelStatusItem()', () => {
+
+    });
+
+    describe('#populateDefaults()', () => {
+
+    });
+
+  });
+
+});