LCOV - code coverage report
Current view: directory - src/trusted/fault_injection - test_injection.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 3 3 100.0 %
Date: 2014-06-18 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright (c) 2012 The Native Client Authors. All rights reserved.
       3                 :  * Use of this source code is governed by a BSD-style license that can be
       4                 :  * found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : #include "native_client/src/trusted/fault_injection/test_injection.h"
       8                 : 
       9                 : static struct NaClTestInjectionTable const g_null_test_injection;
      10                 : /*
      11                 :  * Zero filled.  This structure contains function pointers for test
      12                 :  * injection, and this file's definition is for tests where no test
      13                 :  * injection should occur.  The structure will (slowly) grow in size
      14                 :  * as the number of tests that need test injection junctures grow, and
      15                 :  * the header dependency will cause the recompilation to occur.
      16                 :  */
      17                 : 
      18                 : struct NaClTestInjectionTable const *g_nacl_test_injection_functions =
      19                 :     &g_null_test_injection;
      20                 : 
      21                 : void NaClTestInjectionSetInjectionTable(
      22               1 :     struct NaClTestInjectionTable const *new_table) {
      23               1 :   g_nacl_test_injection_functions = new_table;
      24               1 : }

Generated by: LCOV version 1.7