提交 277137cf authored 作者: Michael Jerris's avatar Michael Jerris

Thu Mar 5 13:06:15 CST 2009 Pekka Pessi <first.last@nokia.com>

  * check_nta: use S2_CASE()
  Ignore-this: c94d4219b0882f1343bcfc56f975ea48



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12736 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 676d7c5b
Tue Mar 24 10:33:24 CDT 2009 Tue Mar 24 10:35:04 CDT 2009
...@@ -95,7 +95,7 @@ START_TEST(client_2_0_0) ...@@ -95,7 +95,7 @@ START_TEST(client_2_0_0)
struct message *request; struct message *request;
struct event *response; struct event *response;
s2_case("2.0.0", "Send MESSAGE", S2_CASE("2.0.0", "Send MESSAGE",
"Basic non-INVITE transaction with outbound proxy"); "Basic non-INVITE transaction with outbound proxy");
orq = nta_outgoing_tcreate(s2->default_leg, orq = nta_outgoing_tcreate(s2->default_leg,
...@@ -123,7 +123,7 @@ START_TEST(client_2_0_1) ...@@ -123,7 +123,7 @@ START_TEST(client_2_0_1)
struct message *request; struct message *request;
struct event *response; struct event *response;
s2_case("2.0.0", "Send MESSAGE", S2_CASE("2.0.0", "Send MESSAGE",
"Basic non-INVITE transaction with " "Basic non-INVITE transaction with "
"numeric per-transaction outbound proxy"); "numeric per-transaction outbound proxy");
...@@ -155,7 +155,7 @@ START_TEST(client_2_0_2) ...@@ -155,7 +155,7 @@ START_TEST(client_2_0_2)
char payload[2048]; char payload[2048];
s2_case("2.0.2", "Send MESSAGE", S2_CASE("2.0.2", "Send MESSAGE",
"Basic non-INVITE transaction exceeding " "Basic non-INVITE transaction exceeding "
"default path MTU (1300 bytes)"); "default path MTU (1300 bytes)");
...@@ -210,7 +210,7 @@ START_TEST(client_2_1_0) ...@@ -210,7 +210,7 @@ START_TEST(client_2_1_0)
char payload[2048]; char payload[2048];
s2_case("2.1.0", "Try UDP after trying with TCP", S2_CASE("2.1.0", "Try UDP after trying with TCP",
"TCP connect() is refused"); "TCP connect() is refused");
memset(payload, 'x', sizeof payload); memset(payload, 'x', sizeof payload);
...@@ -279,7 +279,7 @@ START_TEST(client_2_1_1) ...@@ -279,7 +279,7 @@ START_TEST(client_2_1_1)
char payload[2048]; char payload[2048];
s2_case("2.1.1", "Try UDP after trying with TCP", S2_CASE("2.1.1", "Try UDP after trying with TCP",
"TCP connect() times out"); "TCP connect() times out");
memset(payload, 'x', sizeof payload); memset(payload, 'x', sizeof payload);
...@@ -337,7 +337,7 @@ START_TEST(client_2_1_2) ...@@ -337,7 +337,7 @@ START_TEST(client_2_1_2)
struct event *response; struct event *response;
url_t udpurl[1]; url_t udpurl[1];
s2_case("2.1.2", "Send MESSAGE", S2_CASE("2.1.2", "Send MESSAGE",
"Non-INVITE transaction to TCP-only server"); "Non-INVITE transaction to TCP-only server");
client_setup_tcp_only_server(); client_setup_tcp_only_server();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论