Lines Matching defs:errorcode
1008 const StunErrorCodeAttribute* errorcode = msg.GetErrorCode();
1009 ASSERT_TRUE(errorcode != NULL);
1010 EXPECT_EQ(kTestErrorClass, errorcode->eclass());
1011 EXPECT_EQ(kTestErrorNumber, errorcode->number());
1012 EXPECT_EQ(kTestErrorReason, errorcode->reason());
1013 EXPECT_EQ(kTestErrorCode, errorcode->code());
1049 StunErrorCodeAttribute* errorcode = StunAttribute::CreateErrorCode();
1050 errorcode->SetCode(kTestErrorCode);
1051 errorcode->SetReason(kTestErrorReason);
1052 EXPECT_TRUE(msg.AddAttribute(errorcode));