blob: 88648bac181cda446131a76de6e41c53795dc3df [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function addTests() {
common.tester.addAsyncTest('nacl_io_socket_test', function (test) {
var intervalId = window.setInterval(function () {
if (!testsFinished)
return;
window.clearInterval(intervalId);
if (failedTests > 0)
test.fail('tests failed');
else
test.pass();
}, 100);
});
}