HelpTestBase();
gmx::test::TestFileManager tempFiles_;
- MockHelpTopic rootTopic_;
- std::string filename_;
- gmx::File helpFile_;
- gmx::HelpWriterContext context_;
- gmx::HelpManager manager_;
+ MockHelpTopic rootTopic_;
+ std::string filename_;
+ gmx::File helpFile_;
+ gmx::HelpWriterContext context_;
+ gmx::HelpManager manager_;
};
HelpTestBase::HelpTestBase()
struct TestHelpText
{
- static const char name[];
- static const char title[];
+ static const char name[];
+ static const char title[];
static const char *const text[];
};
-const char TestHelpText::name[] = "testtopic";
-const char TestHelpText::title[] = "Topic title";
-const char *const TestHelpText::text[] = {
+const char TestHelpText::name[] = "testtopic";
+const char TestHelpText::title[] = "Topic title";
+const char *const TestHelpText::text[] = {
"Test topic text.[PAR]",
"Another paragraph of text."
};
TEST_F(HelpTopicFormattingTest, FormatsSimpleTopic)
{
rootTopic_.addSubTopic(gmx::HelpTopicPointer(
- new gmx::SimpleHelpTopic<TestHelpText>));
+ new gmx::SimpleHelpTopic<TestHelpText>));
checkHelpFormatting();
}