Coverage for /Syzygy/refinery/analyzers/unloaded_module_analyzer_unittest.cc

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

Line-by-line coverage:

   1    :  // Copyright 2015 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    :  #include "syzygy/refinery/analyzers/unloaded_module_analyzer.h"
  16    :  
  17    :  #include <stdint.h>
  18    :  
  19    :  #include <vector>
  20    :  
  21    :  #include "base/files/scoped_temp_dir.h"
  22    :  #include "gtest/gtest.h"
  23    :  #include "syzygy/minidump/minidump.h"
  24    :  #include "syzygy/minidump/unittest_util.h"
  25    :  #include "syzygy/refinery/process_state/process_state.h"
  26    :  #include "syzygy/refinery/process_state/process_state_util.h"
  27    :  #include "syzygy/refinery/process_state/refinery.pb.h"
  28    :  
  29    :  namespace refinery {
  30    :  
  31  E :  TEST(UnloadedModuleAnalyzerTest, AnalyzeMinidump) {
  32  E :    minidump::Minidump minidump;
  33  E :    ASSERT_TRUE(minidump.Open(testing::TestMinidumps::GetNotepad32Dump()));
  34    :  
  35  E :    ProcessState process_state;
  36    :  
  37  E :    UnloadedModuleAnalyzer analyzer;
  38    :    ASSERT_EQ(Analyzer::ANALYSIS_COMPLETE,
  39  E :              analyzer.Analyze(minidump, &process_state));
  40    :  
  41    :    // TODO(manzagop): implement testing once UnloadedModuleAnalyzer is
  42    :    // implemented.
  43  E :  }
  44    :  
  45  E :  TEST(UnloadedModuleAnalyzerTest, AnalyzeSyntheticMinidump) {
  46    :    // TODO(manzagop): implement testing once UnloadedModuleAnalyzer is
  47    :    // implemented.
  48  E :  }
  49    :  
  50    :  }  // namespace refinery

Coverage information generated Thu Jan 14 17:40:38 2016.