summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h')
-rw-r--r--src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h b/src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h
index 9f1d43773c9..a530afceb27 100644
--- a/src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h
+++ b/src/third_party/wiredtiger/test/cppsuite/test_harness/configuration_settings.h
@@ -2,16 +2,13 @@
#ifndef CONFIGURATION_SETTINGS_H
#define CONFIGURATION_SETTINGS_H
-#include "wt_internal.h"
#include <string>
#include <stdexcept>
+#include "wt_internal.h"
+
namespace test_harness {
class configuration {
- private:
- std::string _config;
- WT_CONFIG_PARSER *_config_parser;
-
public:
configuration(const char *test_config_name, const char *config) : _config(config)
{
@@ -45,7 +42,7 @@ class configuration {
std::string
get_config()
{
- return _config;
+ return (_config);
}
/*
@@ -93,14 +90,18 @@ class configuration {
int
next(WT_CONFIG_ITEM *key, WT_CONFIG_ITEM *value)
{
- return _config_parser->next(_config_parser, key, value);
+ return (_config_parser->next(_config_parser, key, value));
}
int
get(const char *key, WT_CONFIG_ITEM *value)
{
- return _config_parser->get(_config_parser, key, value);
+ return (_config_parser->get(_config_parser, key, value));
}
+
+ private:
+ std::string _config;
+ WT_CONFIG_PARSER *_config_parser;
};
} // namespace test_harness