// NOTE: This is a work in progress. Currently this file only has tests for // TurnServerConnection, a primitive class used by TurnServer.
namespace webrtc {
class TurnServerConnectionTest : public ::testing::Test {
public:
TurnServerConnectionTest() : thread_(&vss_), socket_factory_(&vss_) {}
void ExpectEqual(const TurnServerConnection& a, const TurnServerConnection& b) {
EXPECT_TRUE(a == b);
EXPECT_FALSE(a < b);
EXPECT_FALSE(b < a);
}
void ExpectNotEqual(const TurnServerConnection& a, const TurnServerConnection& b) {
EXPECT_FALSE(a == b); // We don't care which is less than the other, as long as only one is less // than the other.
EXPECT_TRUE((a < b) != (b < a));
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.