|
|
|
@ -68,6 +68,7 @@ namespace NMEASentenceCollectorTests
|
|
|
|
std::string data;
|
|
|
|
std::string data;
|
|
|
|
|
|
|
|
|
|
|
|
m_collector->setMyCall1("N0CALL");
|
|
|
|
m_collector->setMyCall1("N0CALL");
|
|
|
|
|
|
|
|
m_collector->setMyCall2("5100");
|
|
|
|
m_collector->getData(data);
|
|
|
|
m_collector->getData(data);
|
|
|
|
|
|
|
|
|
|
|
|
EXPECT_TRUE(data.find("N0CALL-5") != std::string::npos) << "Callsign in APRS frame shall be N0CALL-5";
|
|
|
|
EXPECT_TRUE(data.find("N0CALL-5") != std::string::npos) << "Callsign in APRS frame shall be N0CALL-5";
|
|
|
|
@ -78,6 +79,7 @@ namespace NMEASentenceCollectorTests
|
|
|
|
std::string data;
|
|
|
|
std::string data;
|
|
|
|
|
|
|
|
|
|
|
|
m_collector->setMyCall1("N0CALL H");
|
|
|
|
m_collector->setMyCall1("N0CALL H");
|
|
|
|
|
|
|
|
m_collector->setMyCall2("5100");
|
|
|
|
m_collector->getData(data);
|
|
|
|
m_collector->getData(data);
|
|
|
|
|
|
|
|
|
|
|
|
EXPECT_TRUE(data.find("N0CALL") != std::string::npos) << "Callsign in APRS frame shall be N0CALL-H";
|
|
|
|
EXPECT_TRUE(data.find("N0CALL") != std::string::npos) << "Callsign in APRS frame shall be N0CALL-H";
|
|
|
|
|