Add test::fail_count to experimental

This commit is contained in:
Vinnie Falco
2018-05-02 08:32:09 -07:00
parent 59f01a158b
commit e4c2ae6384
18 changed files with 208 additions and 149 deletions
+7 -7
View File
@@ -203,11 +203,11 @@ public:
friend class writer;
std::string s_;
test::fail_counter& fc_;
test::fail_count& fc_;
public:
explicit
value_type(test::fail_counter& fc)
value_type(test::fail_count& fc)
: fc_(fc)
{
}
@@ -353,7 +353,7 @@ public:
for(n = 0; n < limit; ++n)
{
test::fail_counter fc(n);
test::fail_count fc(n);
test::stream ts{ioc_, fc}, tr{ioc_};
ts.connect(tr);
request<fail_body> m(verb::get, "/", 10, fc);
@@ -383,7 +383,7 @@ public:
for(n = 0; n < limit; ++n)
{
test::fail_counter fc(n);
test::fail_count fc(n);
test::stream ts{ioc_, fc}, tr{ioc_};
ts.connect(tr);
request<fail_body> m{verb::get, "/", 10, fc};
@@ -414,7 +414,7 @@ public:
for(n = 0; n < limit; ++n)
{
test::fail_counter fc(n);
test::fail_count fc(n);
test::stream ts{ioc_, fc}, tr{ioc_};
ts.connect(tr);
request<fail_body> m{verb::get, "/", 10, fc};
@@ -445,7 +445,7 @@ public:
for(n = 0; n < limit; ++n)
{
test::fail_counter fc(n);
test::fail_count fc(n);
test::stream ts{ioc_, fc}, tr{ioc_};
ts.connect(tr);
request<fail_body> m{verb::get, "/", 10, fc};
@@ -472,7 +472,7 @@ public:
for(n = 0; n < limit; ++n)
{
test::fail_counter fc(n);
test::fail_count fc(n);
test::stream ts{ioc_, fc}, tr{ioc_};
ts.connect(tr);
request<fail_body> m{verb::get, "/", 10, fc};