CYCAMORE
Protected Member Functions | Protected Attributes | List of all members
storage::StorageTest Class Reference

#include <storage_tests.h>

Inheritance diagram for storage::StorageTest:
Inheritance graph
[legend]
Collaboration diagram for storage::StorageTest:
Collaboration graph
[legend]

Protected Member Functions

void InitParameters ()
 
void InitParameters ()
 
virtual void SetUp ()
 
virtual void SetUp ()
 
void SetUpStorage ()
 
void SetUpStorage ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 
void TestAddMat (storage::Storage *fac, cyclus::Material::Ptr mat)
 
void TestAddMat (storage::Storage *fac, cyclus::Material::Ptr mat)
 
void TestBuffers (storage::Storage *fac, double inv, double proc, double ready, double stocks)
 
void TestBuffers (storage::Storage *fac, double inv, double proc, double ready, double stocks)
 
void TestCurrentCap (storage::Storage *fac, double inv)
 
void TestCurrentCap (storage::Storage *fac, double inv)
 
void TestInitState (storage::Storage *fac)
 
void TestInitState (storage::Storage *fac)
 
void TestReadyTime (storage::Storage *fac, int t)
 
void TestReadyTime (storage::Storage *fac, int t)
 
void TestStocks (storage::Storage *fac, cyclus::CompMap v)
 
void TestStocks (storage::Storage *fac, cyclus::CompMap v)
 

Protected Attributes

bool discrete_handling
 
std::vector< std::string > in_c1
 
std::string in_r1
 
double max_inv_size
 
std::vector< std::string > out_c1
 
int residence_time
 
Storagesrc_facility_
 
cyclus::TestContext tc_
 
double throughput
 

Detailed Description

Definition at line 14 of file _tmp_build/cycamore/storage_tests.h.

Member Function Documentation

◆ InitParameters() [1/2]

void storage::StorageTest::InitParameters ( )
protected

Definition at line 18 of file _tmp_build/cycamore/storage_tests.cc.

References discrete_handling, in_c1, in_r1, max_inv_size, out_c1, residence_time, tc_, and throughput.

Referenced by SetUp().

◆ InitParameters() [2/2]

void storage::StorageTest::InitParameters ( )
protected

◆ SetUp() [1/2]

virtual void storage::StorageTest::SetUp ( )
protectedvirtual

◆ SetUp() [2/2]

void storage::StorageTest::SetUp ( )
protectedvirtual

Definition at line 8 of file _tmp_build/cycamore/storage_tests.cc.

References InitParameters(), SetUpStorage(), src_facility_, and tc_.

Here is the call graph for this function:

◆ SetUpStorage() [1/2]

void storage::StorageTest::SetUpStorage ( )
protected

◆ SetUpStorage() [2/2]

void storage::StorageTest::SetUpStorage ( )
protected

◆ TearDown() [1/2]

void storage::StorageTest::TearDown ( )
protectedvirtual

Definition at line 14 of file _tmp_build/cycamore/storage_tests.cc.

References src_facility_.

◆ TearDown() [2/2]

virtual void storage::StorageTest::TearDown ( )
protectedvirtual

◆ TestAddMat() [1/2]

void storage::StorageTest::TestAddMat ( storage::Storage fac,
cyclus::Material::Ptr  mat 
)
protected

◆ TestAddMat() [2/2]

void storage::StorageTest::TestAddMat ( storage::Storage fac,
cyclus::Material::Ptr  mat 
)
protected

Definition at line 51 of file _tmp_build/cycamore/storage_tests.cc.

References storage::Storage::AddMat_(), and storage::Storage::inventory.

Referenced by storage::TEST_F().

Here is the call graph for this function:

◆ TestBuffers() [1/2]

void storage::StorageTest::TestBuffers ( storage::Storage fac,
double  inv,
double  proc,
double  ready,
double  stocks 
)
protected

◆ TestBuffers() [2/2]

void storage::StorageTest::TestBuffers ( storage::Storage fac,
double  inv,
double  proc,
double  ready,
double  stocks 
)
protected

◆ TestCurrentCap() [1/2]

void storage::StorageTest::TestCurrentCap ( storage::Storage fac,
double  inv 
)
protected

Definition at line 79 of file _tmp_build/cycamore/storage_tests.cc.

References storage::Storage::current_capacity().

Referenced by storage::TEST_F().

Here is the call graph for this function:

◆ TestCurrentCap() [2/2]

void storage::StorageTest::TestCurrentCap ( storage::Storage fac,
double  inv 
)
protected

◆ TestInitState() [1/2]

void storage::StorageTest::TestInitState ( storage::Storage fac)
protected

◆ TestInitState() [2/2]

void storage::StorageTest::TestInitState ( storage::Storage fac)
protected

◆ TestReadyTime() [1/2]

void storage::StorageTest::TestReadyTime ( storage::Storage fac,
int  t 
)
protected

Definition at line 84 of file _tmp_build/cycamore/storage_tests.cc.

References storage::Storage::ready_time().

Referenced by storage::TEST_F().

Here is the call graph for this function:

◆ TestReadyTime() [2/2]

void storage::StorageTest::TestReadyTime ( storage::Storage fac,
int  t 
)
protected

◆ TestStocks() [1/2]

void storage::StorageTest::TestStocks ( storage::Storage fac,
cyclus::CompMap  v 
)
protected

◆ TestStocks() [2/2]

void storage::StorageTest::TestStocks ( storage::Storage fac,
cyclus::CompMap  v 
)
protected

Definition at line 70 of file _tmp_build/cycamore/storage_tests.cc.

References storage::Storage::stocks.

Referenced by storage::TEST_F().

Member Data Documentation

◆ discrete_handling

bool storage::StorageTest::discrete_handling
protected

Definition at line 37 of file _tmp_build/cycamore/storage_tests.h.

Referenced by InitParameters(), and SetUpStorage().

◆ in_c1

std::vector< std::string > storage::StorageTest::in_c1
protected

Definition at line 32 of file _tmp_build/cycamore/storage_tests.h.

Referenced by InitParameters(), and SetUpStorage().

◆ in_r1

std::string storage::StorageTest::in_r1
protected

◆ max_inv_size

double storage::StorageTest::max_inv_size
protected

◆ out_c1

std::vector< std::string > storage::StorageTest::out_c1
protected

Definition at line 32 of file _tmp_build/cycamore/storage_tests.h.

Referenced by InitParameters(), and SetUpStorage().

◆ residence_time

int storage::StorageTest::residence_time
protected

◆ src_facility_

Storage * storage::StorageTest::src_facility_
protected

Definition at line 17 of file _tmp_build/cycamore/storage_tests.h.

Referenced by SetUp(), SetUpStorage(), TearDown(), and storage::TEST_F().

◆ tc_

cyclus::TestContext storage::StorageTest::tc_
protected

◆ throughput

double storage::StorageTest::throughput
protected

The documentation for this class was generated from the following files: