Coverage for /Syzygy/instrument/transforms/jump_table_count_transform_unittest.cc

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
100.0%550.C++test

Line-by-line coverage:

   1    :  // Copyright 2013 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (the "License");
   4    :  // you may not use this file except in compliance with the License.
   5    :  // You may obtain a copy of the License at
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  //
  15    :  // Jump-table case count instrumentation transform unit-tests.
  16    :  
  17    :  #include "syzygy/instrument/transforms/jump_table_count_transform.h"
  18    :  
  19    :  #include "gtest/gtest.h"
  20    :  #include "syzygy/instrument/transforms/unittest_util.h"
  21    :  
  22    :  namespace instrument {
  23    :  namespace transforms {
  24    :  
  25    :  namespace {
  26    :  
  27    :  typedef testing::TestDllTransformTest JumpTableCaseCountTransformTest;
  28    :  
  29    :  }  // namespace
  30    :  
  31  E :  TEST_F(JumpTableCaseCountTransformTest, Apply) {
  32  E :    ASSERT_NO_FATAL_FAILURE(DecomposeTestDll());
  33    :  
  34    :    // Apply the transform.
  35  E :    JumpTableCaseCountTransform tx;
  36    :    ASSERT_TRUE(block_graph::ApplyBlockGraphTransform(&tx, &block_graph_,
  37  E :                                                      dos_header_block_));
  38  E :  }
  39    :  
  40    :  }  // namespace transforms
  41    :  }  // namespace instrument

Coverage information generated Thu Mar 14 11:53:36 2013.