We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version: 0.10.0.777
[ OK ] Redis.ConnectDockerizedServer (4,656 ms) Warning: Could not parse duration in line '[ OK ] Redis.ConnectDockerizedServer (4,656 ms)'
[ OK ] Redis.ConnectDockerizedServer (4,656 ms)
Warning: Could not parse duration in line '[ OK ] Redis.ConnectDockerizedServer (4,656 ms)'
I guess that the cause is ',' among duration.
The text was updated successfully, but these errors were encountered:
Thanks for your report! Weird - we haven't seen such values up to now. Two questions:
We are going to release version 0.10.1 pretty soon - if you answer within the next couple of hours, the fix for this will go into that version.
Sorry, something went wrong.
In google test internally test times are represented by TimeInMillis:
TimeInMillis
// Returns the elapsed time, in milliseconds. TimeInMillis elapsed_time() const { return elapsed_time_; }
which is just a 64-bit integer:
typedef TypeWithSize<8>::Int TimeInMillis; // Represents time in milliseconds.
PrettyUnitTestResultPrinter::OnTestCaseEnd just printfs a string it's gotten from internal::StreamableToString(test_case.elapsed_time())
PrettyUnitTestResultPrinter::OnTestCaseEnd
printf
internal::StreamableToString(test_case.elapsed_time())
StreamableToString streams this integer into class Message which streams it into std::stringstream.
StreamableToString
Message
std::stringstream
The output will always be an integer, no decimals.
So what @cbsuh sees is the number fourthousandsixhundredfiftysix in the current locale, i.e. with comma as thousands separator.
ecc1751
fixed test on different locales, copied test to streaming parser tests (
85c1f6a
#143)
jgefele
No branches or pull requests
version: 0.10.0.777
[ OK ] Redis.ConnectDockerizedServer (4,656 ms)
Warning: Could not parse duration in line '[ OK ] Redis.ConnectDockerizedServer (4,656 ms)'
I guess that the cause is ',' among duration.
The text was updated successfully, but these errors were encountered: