This file is indexed.

/usr/include/cppunit/ui/mfc/MfcTestRunner.h is in libcppunit-dev 1.13.2-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#ifndef CPPUNITUI_MFC_MFCTESTRUNNER_H
#define CPPUNITUI_MFC_MFCTESTRUNNER_H

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include <cppunit/Portability.h>
#include <cppunit/portability/CppUnitVector.h>

/* Refer to MSDN documentation to know how to write and use MFC extension DLL:
   mk:@MSITStore:h:\DevStudio\MSDN\98VSa\1036\vcmfc.chm::/html/_mfcnotes_tn033.htm#_mfcnotes_how_to_write_an_mfc_extension_dll
   
   This can be found in the index with "mfc extension"
   The basic:
   Using:
   - your application must use MFC DLL
   - memory allocation is done using the same heap
   - you must define the symbol _AFX_DLL

   Building:
   - you must define the symbol _AFX_DLL and _AFX_EXT
   - export class using AFX_EXT_CLASS
 */

CPPUNIT_NS_BEGIN

  class Test;
  class TestSuite;


/*! \brief MFC test runner.
 * \ingroup ExecutingTest
 *
 * Use this to launch the MFC TestRunner. Usually called from you CWinApp subclass:
 *
 * \code
 * #include <cppunit/ui/mfc/MfcTestRunner.h>
 * #include <cppunit/extensions/TestFactoryRegistry.h>
 *
 * void 
 * CHostAppApp::RunUnitTests()
 * {
 *   CppUnit::MfcTestRunner runner;
 *   runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
 *
 *   runner.run();    
 * }
 * \endcode
 * \see CppUnit::TextTestRunner, CppUnit::TestFactoryRegistry.
 */
class AFX_EXT_CLASS MfcTestRunner
{
public:
  MfcTestRunner();
  virtual ~MfcTestRunner();

  void run();

  void addTest( Test *test );

  void addTests( const CppUnitVector<Test *> &tests );

protected:
  Test *getRootTest();

  TestSuite *m_suite;

  typedef CppUnitVector<Test *> Tests;
  Tests m_tests;
};


CPPUNIT_NS_END

#endif // CPPUNITUI_MFC_MFCTESTRUNNER_H