提交 f748d8b8 编写于 作者: U unknown 提交者: jerry
上级 5467f405
...@@ -89,7 +89,7 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -89,7 +89,7 @@ describe('ActsAmsCallBackSecondScene', function () {
' + error.code + ', data length [' + data.length + ']'); ' + error.code + ', data length [' + data.length + ']');
} }
); );
setTimeout(done(), 5000); done();
}); });
function timeout(done) { function timeout(done) {
...@@ -137,7 +137,6 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -137,7 +137,6 @@ describe('ActsAmsCallBackSecondScene', function () {
} }
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -172,7 +171,6 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -172,7 +171,6 @@ describe('ActsAmsCallBackSecondScene', function () {
} }
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -193,7 +191,6 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -193,7 +191,6 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(error.code).assertEqual(0); expect(error.code).assertEqual(0);
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -214,7 +211,6 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -214,7 +211,6 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(error.code).assertEqual(0); expect(error.code).assertEqual(0);
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -230,7 +226,6 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -230,7 +226,6 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(error.code).assertEqual(2097215); expect(error.code).assertEqual(2097215);
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -251,6 +246,5 @@ describe('ActsAmsCallBackSecondScene', function () { ...@@ -251,6 +246,5 @@ describe('ActsAmsCallBackSecondScene', function () {
expect(error.code).assertEqual(0); expect(error.code).assertEqual(0);
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
}) })
\ No newline at end of file
...@@ -88,14 +88,8 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -88,14 +88,8 @@ describe('ActsAmsCallBackThirdScene', function () {
' + error.code + ', data length [' + data.length + ']'); ' + error.code + ', data length [' + data.length + ']');
} }
); );
setTimeout(done(), 5000);
});
function timeout(done) {
expect().assertFail();
console.debug('Acts_Ams_test=========timeout========');
done(); done();
} });
function sleep(delay) { function sleep(delay) {
var start = new Date().getTime(); var start = new Date().getTime();
...@@ -136,7 +130,6 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -136,7 +130,6 @@ describe('ActsAmsCallBackThirdScene', function () {
} }
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -171,7 +164,6 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -171,7 +164,6 @@ describe('ActsAmsCallBackThirdScene', function () {
} }
done(); done();
}); });
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -193,7 +185,6 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -193,7 +185,6 @@ describe('ActsAmsCallBackThirdScene', function () {
done(); done();
} }
); );
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -215,7 +206,6 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -215,7 +206,6 @@ describe('ActsAmsCallBackThirdScene', function () {
done(); done();
} }
); );
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -238,7 +228,6 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -238,7 +228,6 @@ describe('ActsAmsCallBackThirdScene', function () {
} }
); );
done(); done();
setTimeout(timeout, 5000);
}) })
/* /*
...@@ -256,6 +245,5 @@ describe('ActsAmsCallBackThirdScene', function () { ...@@ -256,6 +245,5 @@ describe('ActsAmsCallBackThirdScene', function () {
} }
); );
done(); done();
setTimeout(timeout, 5000);
}) })
}) })
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册