Whitespace

This commit is contained in:
Magne Sjaastad 2019-04-04 07:32:46 +02:00
parent 9c2ed5ad92
commit dd5756ae73

View File

@ -143,6 +143,10 @@ RifReaderEclipseSummary); eclSummary->open(headerFile, dataFiles);
} }
} }
{ {
// MSJ TODO: Formatted output does not work now, should be reported? // MSJ TODO: Formatted output does not work now, should be reported?
/ * / *
@ -167,6 +171,10 @@ RifReaderEclipseSummary); eclSummary->open(headerFile, dataFiles);
* / * /
} }
/ * / *
{ {
std::string path; std::string path;
@ -187,6 +195,10 @@ TEST(RifEclipseSummaryTest, BasicReadKeywordTest)
{ {
std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary); std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary);
std::string filename = "g:\\Models\\Statoil\\testcase_juli_2011\\data\\TEST10K_FLT_LGR_NNC"; std::string filename = "g:\\Models\\Statoil\\testcase_juli_2011\\data\\TEST10K_FLT_LGR_NNC";
std::string headerFileName; std::string headerFileName;
@ -194,6 +206,10 @@ TEST(RifEclipseSummaryTest, BasicReadKeywordTest)
std::vector<std::string> dataFileNames = RifEclipseSummaryTools::findSummaryDataFiles(filename); std::vector<std::string> dataFileNames = RifEclipseSummaryTools::findSummaryDataFiles(filename);
eclSummary->open(headerFileName, dataFileNames); eclSummary->open(headerFileName, dataFileNames);
RifEclipseSummaryTools::dumpMetaData(eclSummary.get()); RifEclipseSummaryTools::dumpMetaData(eclSummary.get());
@ -206,6 +222,10 @@ TEST(RifEclipseSummaryTest, DISABLE_BasicReadKeywordTest)
{ {
std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary); std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary);
std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.SMSPEC"; std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.SMSPEC";
std::vector<std::string> dataFileNames; std::vector<std::string> dataFileNames;
dataFileNames.push_back("g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.S0001"); dataFileNames.push_back("g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.S0001");
@ -253,6 +273,10 @@ TEST(RifEclipseSummaryTest, BasicReadDataTest)
{ {
std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary); std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary);
std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.SMSPEC"; std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.SMSPEC";
std::vector<std::string> dataFileNames; std::vector<std::string> dataFileNames;
dataFileNames.push_back("g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.S0001"); dataFileNames.push_back("g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010.S0001");
@ -285,6 +309,10 @@ TEST(RifEclipseSummaryTest, BasicReadDataTest)
} }
} }
@ -645,6 +673,10 @@ TEST(RifEclipseSummaryTest, DISABLED_BasicTestSetCurrentFolder)
/ * / *
std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary); std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary);
QString currentFolderName = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10"; QString currentFolderName = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10";
QDir::setCurrent(currentFolderName); QDir::setCurrent(currentFolderName);
@ -669,9 +701,17 @@ TEST(RifEclipseSummaryTest, DISABLED_BasicTest)
/ * / *
std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary); std::unique_ptr<RifReaderEclipseSummary> eclSummary = std::unique_ptr<RifReaderEclipseSummary>(new RifReaderEclipseSummary);
std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010"; std::string filename = "g:\\Models\\Statoil\\MultipleRealisations\\Case_without_p9\\Real10\\BRUGGE_0010";
eclSummary->open(filename); eclSummary->open(filename);
std::vector<std::string> keywords; std::vector<std::string> keywords;
eclSummary->keywords(&keywords); eclSummary->keywords(&keywords);