CYCAMORE
Protected Member Functions | Protected Attributes | List of all members
SinkTest Class Reference

#include <sink_tests.h>

Inheritance diagram for SinkTest:
Inheritance graph
[legend]
Collaboration diagram for SinkTest:
Collaboration graph
[legend]

Protected Member Functions

void InitParameters ()
 
void InitParameters ()
 
virtual void SetUp ()
 
virtual void SetUp ()
 
void SetUpSink ()
 
void SetUpSink ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 

Protected Attributes

double capacity_
 
std::string commod1_
 
std::string commod2_
 
std::string commod3_
 
double inv_
 
int ncommods_
 
double qty_
 
cycamore::Sinksrc_facility
 
cyclus::TestContext tc_
 
TestFacility * trader
 

Detailed Description

Definition at line 11 of file _tmp_build/cycamore/sink_tests.h.

Member Function Documentation

◆ InitParameters() [1/2]

void SinkTest::InitParameters ( )
protected

Definition at line 25 of file _tmp_build/cycamore/sink_tests.cc.

References capacity_, commod1_, commod2_, commod3_, inv_, ncommods_, and qty_.

Referenced by SetUp().

◆ InitParameters() [2/2]

void SinkTest::InitParameters ( )
protected

◆ SetUp() [1/2]

virtual void SinkTest::SetUp ( )
protectedvirtual

◆ SetUp() [2/2]

void SinkTest::SetUp ( )
protectedvirtual

Definition at line 12 of file _tmp_build/cycamore/sink_tests.cc.

References InitParameters(), SetUpSink(), src_facility, tc_, and trader.

Here is the call graph for this function:

◆ SetUpSink() [1/2]

void SinkTest::SetUpSink ( )
protected

Definition at line 36 of file _tmp_build/cycamore/sink_tests.cc.

References cycamore::Sink::AddCommodity(), cycamore::Sink::Capacity(), capacity_, commod1_, commod2_, inv_, cycamore::Sink::SetMaxInventorySize(), and src_facility.

Referenced by SetUp().

Here is the call graph for this function:

◆ SetUpSink() [2/2]

void SinkTest::SetUpSink ( )
protected

◆ TearDown() [1/2]

virtual void SinkTest::TearDown ( )
protectedvirtual

◆ TearDown() [2/2]

void SinkTest::TearDown ( )
protectedvirtual

Definition at line 20 of file _tmp_build/cycamore/sink_tests.cc.

References src_facility.

Member Data Documentation

◆ capacity_

double SinkTest::capacity_
protected

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

Referenced by InitParameters(), SetUpSink(), and TEST_F().

◆ commod1_

std::string SinkTest::commod1_
protected

Definition at line 16 of file _tmp_build/cycamore/sink_tests.h.

Referenced by InitParameters(), SetUpSink(), and TEST_F().

◆ commod2_

std::string SinkTest::commod2_
protected

Definition at line 16 of file _tmp_build/cycamore/sink_tests.h.

Referenced by InitParameters(), SetUpSink(), and TEST_F().

◆ commod3_

std::string SinkTest::commod3_
protected

Definition at line 16 of file _tmp_build/cycamore/sink_tests.h.

Referenced by InitParameters().

◆ inv_

double SinkTest::inv_
protected

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

Referenced by InitParameters(), SetUpSink(), and TEST_F().

◆ ncommods_

int SinkTest::ncommods_
protected

Definition at line 18 of file _tmp_build/cycamore/sink_tests.h.

Referenced by InitParameters(), and TEST_F().

◆ qty_

double SinkTest::qty_
protected

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

Referenced by InitParameters(), and TEST_F().

◆ src_facility

cycamore::Sink * SinkTest::src_facility
protected

Definition at line 15 of file _tmp_build/cycamore/sink_tests.h.

Referenced by SetUp(), SetUpSink(), TearDown(), and TEST_F().

◆ tc_

cyclus::TestContext SinkTest::tc_
protected

Definition at line 13 of file _tmp_build/cycamore/sink_tests.h.

Referenced by SetUp(), and TEST_F().

◆ trader

TestFacility * SinkTest::trader
protected

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

Referenced by SetUp(), and TEST_F().


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