Browse Source

KERNEL-3882 添加test_author

es6
Kobi 5 years ago
parent
commit
3eae5edb38
  1. 21
      src/base/single/button/node/__test__/icontexticonnode.test.js
  2. 21
      src/base/single/button/node/__test__/icontextnode.test.js
  3. 21
      src/base/single/button/node/__test__/texticonnode.test.js
  4. 21
      src/base/single/button/node/__test__/textnode.test.js

21
src/base/single/button/node/__test__/icontexticonnode.test.js

@ -5,6 +5,9 @@
describe("IconTextIconNodeTest", function () {
/**
* test_author_kobi
*/
it("setText", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node"
@ -14,6 +17,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("getText", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node",
@ -23,6 +29,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("setValue", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node"
@ -32,6 +41,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("readonly下的setValue", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node",
@ -43,6 +55,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("getValue", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node",
@ -52,6 +67,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("doRedMark和unRedMark", function () {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node",
@ -64,6 +82,9 @@ describe("IconTextIconNodeTest", function () {
iconTextIconNode.destroy();
});
/**
* test_author_kobi
*/
it("Click点击触发事件", function (done) {
var iconTextIconNode = BI.Test.createWidget({
type: "bi.icon_text_icon_node",

21
src/base/single/button/node/__test__/icontextnode.test.js

@ -5,6 +5,9 @@
describe("IconTextNodeTest", function () {
/**
* test_author_kobi
*/
it("setText", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node"
@ -14,6 +17,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("getText", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node",
@ -23,6 +29,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("setValue", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node"
@ -32,6 +41,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("readonly下的setValue", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node",
@ -43,6 +55,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("getValue", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node",
@ -52,6 +67,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("doRedMark和unRedMark", function () {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node",
@ -64,6 +82,9 @@ describe("IconTextNodeTest", function () {
iconTextNode.destroy();
});
/**
* test_author_kobi
*/
it("Click点击触发事件", function (done) {
var iconTextNode = BI.Test.createWidget({
type: "bi.icon_text_node",

21
src/base/single/button/node/__test__/texticonnode.test.js

@ -5,6 +5,9 @@
describe("TextIconNodeTest", function () {
/**
* test_author_kobi
*/
it("setText", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node"
@ -14,6 +17,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("getText", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node",
@ -23,6 +29,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("setValue", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node"
@ -32,6 +41,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("readonly下的setValue", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node",
@ -43,6 +55,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("getValue", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node",
@ -52,6 +67,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("doRedMark和unRedMark", function () {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node",
@ -64,6 +82,9 @@ describe("TextIconNodeTest", function () {
textIconNode.destroy();
});
/**
* test_author_kobi
*/
it("Click点击触发事件", function (done) {
var textIconNode = BI.Test.createWidget({
type: "bi.text_icon_node",

21
src/base/single/button/node/__test__/textnode.test.js

@ -5,6 +5,9 @@
describe("TextNodeTest", function () {
/**
* test_author_kobi
*/
it("setText", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node"
@ -14,6 +17,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("getText", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node",
@ -24,6 +30,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("setValue", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node"
@ -33,6 +42,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("readonly下的setValue", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node",
@ -44,6 +56,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("getValue", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node",
@ -53,6 +68,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("doRedMark和unRedMark", function () {
var textNode = BI.Test.createWidget({
type: "bi.text_node",
@ -65,6 +83,9 @@ describe("TextNodeTest", function () {
textNode.destroy();
});
/**
* test_author_kobi
*/
it("Click点击触发事件", function (done) {
var textNode = BI.Test.createWidget({
type: "bi.text_node",

Loading…
Cancel
Save