Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / native_client_sdk / src / tests / sdk_util_test / test.js
blobf207f0082dfa8885c7b5eff21961ad3fe58d09bb
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 function addTests() {
6 common.tester.addAsyncTest('sdk_util_test', function (test) {
7 var intervalId = window.setInterval(function () {
8 if (!testsFinished)
9 return;
11 window.clearInterval(intervalId);
12 if (failedTests > 0)
13 test.fail('tests failed');
14 else
15 test.pass();
16 }, 100);
17 });