Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
0b02b36b
Commit
0b02b36b
authored
9 years ago
by
Rider Linden
Browse files
Options
Downloads
Patches
Plain Diff
Remove test for size of HttpStatus
parent
73536403
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcorehttp/tests/test_httpstatus.hpp
+18
-18
18 additions, 18 deletions
indra/llcorehttp/tests/test_httpstatus.hpp
with
18 additions
and
18 deletions
indra/llcorehttp/tests/test_httpstatus.hpp
+
18
−
18
View file @
0b02b36b
...
@@ -83,21 +83,21 @@ void HttpStatusTestObjectType::test<1>()
...
@@ -83,21 +83,21 @@ void HttpStatusTestObjectType::test<1>()
}
}
template
<
>
template
<
>
//
template <> template <>
void
HttpStatusTestObjectType
::
test
<
2
>
()
//
void HttpStatusTestObjectType::test<2>()
{
//
{
set_test_name
(
"HttpStatus memory structure"
);
//
set_test_name("HttpStatus memory structure");
//
// Require that an HttpStatus object can be trivially
//
// Require that an HttpStatus object can be trivially
// returned as a function return value in registers.
//
// returned as a function return value in registers.
// One should fit in an int on all platforms.
//
// One should fit in an int on all platforms.
//
ensure
(
sizeof
(
HttpStatus
)
<=
sizeof
(
int
));
// //
ensure(sizeof(HttpStatus) <= sizeof(int));
}
//
}
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
3
>
()
void
HttpStatusTestObjectType
::
test
<
2
>
()
{
{
set_test_name
(
"HttpStatus valid status string conversion"
);
set_test_name
(
"HttpStatus valid status string conversion"
);
...
@@ -124,7 +124,7 @@ void HttpStatusTestObjectType::test<3>()
...
@@ -124,7 +124,7 @@ void HttpStatusTestObjectType::test<3>()
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
4
>
()
void
HttpStatusTestObjectType
::
test
<
3
>
()
{
{
set_test_name
(
"HttpStatus invalid status string conversion"
);
set_test_name
(
"HttpStatus invalid status string conversion"
);
...
@@ -145,7 +145,7 @@ void HttpStatusTestObjectType::test<4>()
...
@@ -145,7 +145,7 @@ void HttpStatusTestObjectType::test<4>()
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
5
>
()
void
HttpStatusTestObjectType
::
test
<
4
>
()
{
{
set_test_name
(
"HttpStatus equality/inequality testing"
);
set_test_name
(
"HttpStatus equality/inequality testing"
);
...
@@ -164,7 +164,7 @@ void HttpStatusTestObjectType::test<5>()
...
@@ -164,7 +164,7 @@ void HttpStatusTestObjectType::test<5>()
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
6
>
()
void
HttpStatusTestObjectType
::
test
<
5
>
()
{
{
set_test_name
(
"HttpStatus basic HTTP status encoding"
);
set_test_name
(
"HttpStatus basic HTTP status encoding"
);
...
@@ -205,7 +205,7 @@ void HttpStatusTestObjectType::test<6>()
...
@@ -205,7 +205,7 @@ void HttpStatusTestObjectType::test<6>()
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
7
>
()
void
HttpStatusTestObjectType
::
test
<
6
>
()
{
{
set_test_name
(
"HttpStatus HTTP status text strings"
);
set_test_name
(
"HttpStatus HTTP status text strings"
);
...
@@ -237,7 +237,7 @@ void HttpStatusTestObjectType::test<7>()
...
@@ -237,7 +237,7 @@ void HttpStatusTestObjectType::test<7>()
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
8
>
()
void
HttpStatusTestObjectType
::
test
<
7
>
()
{
{
set_test_name
(
"HttpStatus toHex() nominal function"
);
set_test_name
(
"HttpStatus toHex() nominal function"
);
...
@@ -249,7 +249,7 @@ void HttpStatusTestObjectType::test<8>()
...
@@ -249,7 +249,7 @@ void HttpStatusTestObjectType::test<8>()
template
<
>
template
<
>
template
<
>
template
<
>
void
HttpStatusTestObjectType
::
test
<
9
>
()
void
HttpStatusTestObjectType
::
test
<
8
>
()
{
{
set_test_name
(
"HttpStatus toTerseString() nominal function"
);
set_test_name
(
"HttpStatus toTerseString() nominal function"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment