8 #include <gtest/gtest.h>
39 auto s4 = std::move(s1);
40 auto s5(std::move(s2));
46 auto s4 = std::move(s1);
47 auto s5(std::move(s2));
65 ASSERT_THROW(
PrimSource(
"name", {}), std::invalid_argument);
69 ASSERT_TRUE(m_prim_rr_client);
70 ASSERT_THROW(
PrimSource(
"", m_prim_rr_client), std::invalid_argument);
74 ASSERT_THROW(
MetaSource(
"name", {}), std::invalid_argument);
78 ASSERT_TRUE(m_meta_rr_client);
79 ASSERT_THROW(
MetaSource(
"", m_meta_rr_client), std::invalid_argument);
Keeps relevant state to be able to communicate with a primary data source.
std::string const & GetName() const
std::shared_ptr< PrimSource::RrClient > m_prim_rr_client
std::shared_ptr< MetaSource::RrClient > m_meta_rr_client
Test fixture for source tests.
TEST_F(TestDpmDaqController, StatusUpdateInNotScheduledSucceeds)
Mockup of metadaqif classes.
Declarations for daq::Source and related classes.
EXPECT_EQ(meta.rr_uri, "zpb.rr://meta")