CYCAMORE
Loading...
Searching...
No Matches
source_tests.cc File Reference
#include "source_tests.h"
#include <gtest/gtest.h>
#include <sstream>
#include "cyc_limits.h"
#include "resource_helpers.h"
#include "test_context.h"

Go to the source code of this file.

Namespaces

namespace  cycamore
 

Macros

#define CYCLUS_AGENT_TESTS_CONNECTED   cyclus_agent_tests_connected
 

Functions

int ConnectAgentTests ()
 
 INSTANTIATE_TEST_SUITE_P (SourceFac, AgentTests, Values(&SourceConstructor))
 
 INSTANTIATE_TEST_SUITE_P (SourceFac, FacilityTests, Values(&SourceConstructor))
 
cyclus::Agent * SourceConstructor (cyclus::Context *ctx)
 
 cycamore::TEST_F (SourceTest, AddBids)
 
 cycamore::TEST_F (SourceTest, Clone)
 
 cycamore::TEST_F (SourceTest, Longitude)
 
 cycamore::TEST_F (SourceTest, Package)
 
 cycamore::TEST_F (SourceTest, PositionInitialize)
 
 cycamore::TEST_F (SourceTest, Print)
 
 cycamore::TEST_F (SourceTest, Response)
 
 cycamore::TEST_F (SourceTest, TransportUnit)
 

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 254 of file src/source_tests.cc.

Function Documentation

◆ ConnectAgentTests()

int ConnectAgentTests ( )

◆ INSTANTIATE_TEST_SUITE_P() [1/2]

INSTANTIATE_TEST_SUITE_P ( SourceFac ,
AgentTests ,
Values & SourceConstructor )

◆ INSTANTIATE_TEST_SUITE_P() [2/2]

INSTANTIATE_TEST_SUITE_P ( SourceFac ,
FacilityTests ,
Values & SourceConstructor )

◆ SourceConstructor()

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

Definition at line 246 of file src/source_tests.cc.

Variable Documentation

◆ cyclus_agent_tests_connected

int cyclus_agent_tests_connected = ConnectAgentTests()
static

Definition at line 253 of file src/source_tests.cc.