Skip to content
New issue

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

fix htmltow test case #6817

Merged
merged 1 commit into from
Mar 26, 2015
Merged

fix htmltow test case #6817

merged 1 commit into from
Mar 26, 2015

Conversation

Paxxi
Copy link
Member

@Paxxi Paxxi commented Mar 25, 2015

this silences a bunch of forced conversion to bool performance warnings in VS and also fixes the htmltow test case that failed because of source file encoding issues.
@Memphiz what do you think?

@Paxxi Paxxi added the Type: Fix non-breaking change which fixes an issue label Mar 25, 2015
EXPECT_TRUE(memcmp(firstBuf.c_str(), buf, firstBuf.length()) == 0);
EXPECT_TRUE(file.Read(buf, secondBuf.length()));
EXPECT_EQ(0, memcmp(firstBuf.c_str(), buf, firstBuf.length()));
EXPECT_EQ(secondBuf.length(), file.Read(buf, secondBuf.length()));

This comment was marked as spam.

This comment was marked as spam.

@Memphiz
Copy link
Member

Memphiz commented Mar 25, 2015

Fine work in general :)

@Paxxi
Copy link
Member Author

Paxxi commented Mar 26, 2015

cleaned it up a bit more with the parenthesis and fixed the !memcmp you spotted

@Memphiz
Copy link
Member

Memphiz commented Mar 26, 2015

sry one thing left - prefix the commit message with [tests] please to give it a proper context. After then feel free to merge

…some cleanup as well

Fix failing test case
text encoding in source file made the test fail on win32
Paxxi added a commit that referenced this pull request Mar 26, 2015
[tests] fix htmltow test case and some cleanup
@Paxxi Paxxi merged commit d79526a into xbmc:master Mar 26, 2015
@Paxxi Paxxi deleted the warnings branch March 26, 2015 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants