refactor(EosIO): renamed EosIO -> EOSio
This commit is contained in:
@@ -27,7 +27,7 @@ std::string TEST_CONFIG = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests/tes
|
||||
TEST_F(eosTest, read_helm_table) {
|
||||
Config::getInstance().loadConfig(TEST_CONFIG);
|
||||
ResourceManager& rm = ResourceManager::getInstance();
|
||||
auto& eos = std::get<std::unique_ptr<EosIO>>(rm.getResource("eos:helm"));
|
||||
auto& eos = std::get<std::unique_ptr<EOSio>>(rm.getResource("eos:helm"));
|
||||
auto& table = eos->getTable();
|
||||
auto& helmTable = *std::get<std::unique_ptr<helmholtz::HELMTable>>(table);
|
||||
std::stringstream ss;
|
||||
@@ -59,7 +59,7 @@ TEST_F(eosTest, get_helm_EOS) {
|
||||
eos1.zbar = eos1.abar*zsum;
|
||||
|
||||
ResourceManager& rm = ResourceManager::getInstance();
|
||||
auto& eos = std::get<std::unique_ptr<EosIO>>(rm.getResource("eos:helm"));
|
||||
auto& eos = std::get<std::unique_ptr<EOSio>>(rm.getResource("eos:helm"));
|
||||
auto& table = eos->getTable();
|
||||
auto& helmTable = *std::get<std::unique_ptr<helmholtz::HELMTable>>(table);
|
||||
EOS helmEos = get_helm_EOS(eos1, helmTable);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "resourceManager.h"
|
||||
#include "config.h"
|
||||
#include "eosIO.h"
|
||||
#include "EOSio.h"
|
||||
#include "helm.h"
|
||||
#include "resourceManagerTypes.h"
|
||||
|
||||
@@ -47,7 +47,7 @@ TEST_F(resourceManagerTest, getResource) {
|
||||
std::string name = "eos:helm";
|
||||
const Resource &r = rm.getResource(name);
|
||||
// BREAKPOINT();
|
||||
const auto &eos = std::get<std::unique_ptr<EosIO>>(r);
|
||||
const auto &eos = std::get<std::unique_ptr<EOSio>>(r);
|
||||
EXPECT_EQ("helm", eos->getFormat());
|
||||
EOSTable &table = eos->getTable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user