LCOV - code coverage report
Current view: top level - src/inspector - test-interface.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 6 6 100.0 %
Date: 2019-01-20 Functions: 2 2 100.0 %

          Line data    Source code
       1             : // Copyright 2016 the V8 project 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.
       4             : 
       5             : #include "src/inspector/test-interface.h"
       6             : 
       7             : #include "src/inspector/v8-debugger.h"
       8             : #include "src/inspector/v8-inspector-impl.h"
       9             : 
      10             : namespace v8_inspector {
      11             : 
      12         300 : void SetMaxAsyncTaskStacksForTest(V8Inspector* inspector, int limit) {
      13             :   static_cast<V8InspectorImpl*>(inspector)
      14             :       ->debugger()
      15         300 :       ->setMaxAsyncTaskStacksForTest(limit);
      16         300 : }
      17             : 
      18          30 : void DumpAsyncTaskStacksStateForTest(V8Inspector* inspector) {
      19             :   static_cast<V8InspectorImpl*>(inspector)
      20             :       ->debugger()
      21          30 :       ->dumpAsyncTaskStacksStateForTest();
      22          30 : }
      23             : 
      24             : }  // namespace v8_inspector

Generated by: LCOV version 1.10