Skip to content

Commit

Permalink
except fileupload testcase for ie
Browse files Browse the repository at this point in the history
  • Loading branch information
roothybrid7 committed Sep 29, 2012
1 parent 5452c7a commit bc69e66
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions test/runner.html
Expand Up @@ -8,13 +8,19 @@
<script type="text/javascript">
goog.require('goog.testing.MultiTestRunner');
goog.require('goog.dom');
goog.require('goog.userAgent');
goog.require('goog.userAgent.product');
goog.require('goog.userAgent.product.isVersion');
</script>
</head>
<body>
<div id="runner"></div>
<script type="text/javascript">
var isIE = goog.userAgent.product.IE,
version = goog.userAgent.product.VERSION;

var testRunner = new goog.testing.MultiTestRunner();
testRunner.addTests([
var tests = [
// 'client/cros.html',
'client/client_test.html',
'client/directories_test.html',
Expand All @@ -23,7 +29,6 @@
'client/clientwparser.html',
'davFs/fs_test.html',
'davFs/fs_directories_test.html',
'davFs/fs_upload_test.html',
'davFs/fs_dir2_test.html',
'davFs/fs_files_test.html',
'davFs/fs_files2_test.html',
Expand All @@ -37,7 +42,12 @@
'resource/resource_controller_test.html',
'resource/resource_ctrl_apicall.html',
'resource/resourceobj_test.html',
'resource/resourcebuilder_test.html']);
'resource/resourcebuilder_test.html'
];
if (!isIE || goog.string.compareVersions(version, '10.0') >= 0) {
tests.push('davFs/fs_upload_test.html');
}
testRunner.addTests(tests);
// testRunner.setPoolSize(3);
testRunner.render(document.getElementById('runner'));
</script>
Expand Down

0 comments on commit bc69e66

Please sign in to comment.