OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function registerHooks(api) { | 5 function registerHooks(api) { |
6 } | 6 } |
7 | 7 |
8 function testDone(runNextTest) { | 8 function testDone(runNextTest) { |
9 // Use setTimeout here to allow previous test contexts to be | 9 // Use setTimeout here to allow previous test contexts to be |
10 // eligible for garbage collection. | 10 // eligible for garbage collection. |
11 setTimeout(runNextTest, 0); | 11 setTimeout(runNextTest, 0); |
12 } | 12 } |
13 | 13 |
14 exports.registerHooks = registerHooks; | 14 exports.$set('registerHooks', registerHooks); |
15 exports.testDone = testDone; | 15 exports.$set('testDone', testDone); |
OLD | NEW |