Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
f8f81b7f
Commit
f8f81b7f
authored
Feb 18, 2011
by
JINMEI Tatuya
Browse files
[trac61] removed some meaningless test cases
parent
d6f67da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/dnssectime_unittest.cc
View file @
f8f81b7f
...
...
@@ -144,11 +144,6 @@ TEST_F(DNSSECTimeTest, toText) {
dnssectime
::
detail
::
gettimeFunction
=
testGetTime
<
0x10000000aLL
>
;
EXPECT_EQ
(
"21060207062815"
,
timeToText32
(
0xffffffffL
));
// set the current time to: Mar16 12:56:32 UTC 2242
dnssectime
::
detail
::
gettimeFunction
=
testGetTime
<
8589934592LL
>
;
EXPECT_EQ
(
"22420316125632"
,
timeToText64
(
8589934592LL
));
EXPECT_EQ
(
"22420316125632"
,
timeToText32
(
0
));
// Try very large time value. Actually it's the possible farthest time
// that can be represented in the form of YYYYMMDDHHmmSS.
EXPECT_EQ
(
"99991231235959"
,
timeToText64
(
YEAR10K_EVE
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment