This file is indexed.

/usr/include/qxcppunit/testrunner.h is in libqxcppunit-dev 0.9.2-0ubuntu1.

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
77
78
79
80
81
82
/*!
 * \file  testrunner.h
 *
 * \brief Declares class TestRunner.
 */

#ifndef TESTRUNNER_H
#define TESTRUNNER_H

#include "qxcppunit_global.h"

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

namespace CPPUNIT_NS {
	class Test;
}

namespace QxRunner {
	class Runner;
}

namespace QxCppUnit {

class CppUnitModel;

/*!
 * \brief The TestRunner class starts a QxCppUnit application.
 *
 * This class creates a CppUnitModel and adds a CppUnitItem object for
 * each given CppUnit test to the model. It sets an application icon
 * and then shows the test runner main window on screen. This is the
 * only class of the library that is used by clients to build a GUI
 * test runner for CppUnit.
 */

class QXCPPUNIT_EXPORT TestRunner
{
public: // Operations

	/*!
	 * Constructs a test runner. Creates the CppUnitModel instance.
	 */
	TestRunner();

	/*!
	 * Destroys this test runner.
	 */
	virtual ~TestRunner();

	/*!
	 * Appends the \a test to the list of CppUnit tests. \a test can be
	 * one individual test or a test suite.
	 */ 
	void addTest(CPPUNIT_NS::Test* test) const;

	/*!
	 * Appends the \a tests to the list of CppUnit tests. An entry in
	 * \a tests can be one individual test or a test suite.
	 */ 
	void addTests(const CppUnitVector<CPPUNIT_NS::Test*>& tests) const;

	/*!
	 * Sets the application icon and shows the main window.
	 */
	void run();

private: // Operations

	// Copy and assignment not supported.
	TestRunner(const TestRunner&);
	TestRunner& operator=(const TestRunner&);

private: // Attributes

	QxRunner::Runner* m_runner;
	CppUnitModel*     m_model;
};

} // namespace

#endif // TESTRUNNER_H