CYCAMORE
Loading...
Searching...
No Matches
sink_tests.cc File Reference
#include <gtest/gtest.h>
#include "facility_tests.h"
#include "agent_tests.h"
#include "resource_helpers.h"
#include "infile_tree.h"
#include "xml_parser.h"
#include "sink_tests.h"

Go to the source code of this file.

Macros

#define CYCLUS_AGENT_TESTS_CONNECTED   cyclus_agent_tests_connected
 

Functions

int ConnectAgentTests ()
 
 INSTANTIATE_TEST_SUITE_P (SinkFac, AgentTests, Values(&SinkConstructor))
 
 INSTANTIATE_TEST_SUITE_P (SinkFac, FacilityTests, Values(&SinkConstructor))
 
cyclus::Agent * SinkConstructor (cyclus::Context *ctx)
 
 TEST_F (SinkTest, Accept)
 
 TEST_F (SinkTest, BidPrefs)
 
 TEST_F (SinkTest, Clone)
 
 TEST_F (SinkTest, DISABLED_XMLInit)
 
 TEST_F (SinkTest, EmptyRequests)
 
 TEST_F (SinkTest, InitialState)
 
 TEST_F (SinkTest, InRecipe)
 
 TEST_F (SinkTest, PositionInitialize)
 
 TEST_F (SinkTest, PositionInitialize2)
 
 TEST_F (SinkTest, Print)
 
 TEST_F (SinkTest, RandomNormalFreq)
 
 TEST_F (SinkTest, RandomNormalFreqMultipleCycles)
 
 TEST_F (SinkTest, RandomNormalFreqWithMeanSttdev)
 
 TEST_F (SinkTest, RandomNormalSize)
 
 TEST_F (SinkTest, RandomNormalSizeUniformFreq)
 
 TEST_F (SinkTest, RandomNormalSizeWithMeanSttdev)
 
 TEST_F (SinkTest, RandomUniformFreq)
 
 TEST_F (SinkTest, RandomUniformSize)
 
 TEST_F (SinkTest, Requests)
 

Variables

static int cyclus_agent_tests_connected = ConnectAgentTests()
 

Macro Definition Documentation

◆ CYCLUS_AGENT_TESTS_CONNECTED

#define CYCLUS_AGENT_TESTS_CONNECTED   cyclus_agent_tests_connected

Definition at line 579 of file build/cycamore/sink_tests.cc.

Function Documentation

◆ ConnectAgentTests()

int ConnectAgentTests ( )

◆ INSTANTIATE_TEST_SUITE_P() [1/2]

INSTANTIATE_TEST_SUITE_P ( SinkFac ,
AgentTests ,
Values & SinkConstructor )

◆ INSTANTIATE_TEST_SUITE_P() [2/2]

INSTANTIATE_TEST_SUITE_P ( SinkFac ,
FacilityTests ,
Values & SinkConstructor )

◆ SinkConstructor()

cyclus::Agent * SinkConstructor ( cyclus::Context * ctx)

Definition at line 571 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [1/19]

TEST_F ( SinkTest ,
Accept  )

Definition at line 154 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [2/19]

TEST_F ( SinkTest ,
BidPrefs  )

Definition at line 222 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [3/19]

TEST_F ( SinkTest ,
Clone  )

Definition at line 61 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [4/19]

TEST_F ( SinkTest ,
DISABLED_XMLInit  )

Definition at line 78 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [5/19]

TEST_F ( SinkTest ,
EmptyRequests  )

Definition at line 143 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [6/19]

TEST_F ( SinkTest ,
InitialState  )

Definition at line 44 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [7/19]

TEST_F ( SinkTest ,
InRecipe  )

Definition at line 186 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [8/19]

TEST_F ( SinkTest ,
PositionInitialize  )

Definition at line 272 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [9/19]

TEST_F ( SinkTest ,
PositionInitialize2  )

Definition at line 306 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [10/19]

TEST_F ( SinkTest ,
Print  )

Definition at line 268 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [11/19]

TEST_F ( SinkTest ,
RandomNormalFreq  )

Definition at line 448 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [12/19]

TEST_F ( SinkTest ,
RandomNormalFreqMultipleCycles  )

Definition at line 503 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [13/19]

TEST_F ( SinkTest ,
RandomNormalFreqWithMeanSttdev  )

Definition at line 475 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [14/19]

TEST_F ( SinkTest ,
RandomNormalSize  )

Definition at line 369 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [15/19]

TEST_F ( SinkTest ,
RandomNormalSizeUniformFreq  )

Definition at line 538 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [16/19]

TEST_F ( SinkTest ,
RandomNormalSizeWithMeanSttdev  )

Definition at line 393 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [17/19]

TEST_F ( SinkTest ,
RandomUniformFreq  )

Definition at line 419 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [18/19]

TEST_F ( SinkTest ,
RandomUniformSize  )

Definition at line 345 of file build/cycamore/sink_tests.cc.

◆ TEST_F() [19/19]

TEST_F ( SinkTest ,
Requests  )

Definition at line 112 of file build/cycamore/sink_tests.cc.

Variable Documentation

◆ cyclus_agent_tests_connected

int cyclus_agent_tests_connected = ConnectAgentTests()
static

Definition at line 578 of file build/cycamore/sink_tests.cc.