Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron

Landing on a CLOSED TREE
This commit is contained in:
Ehsan Akhgari
2011-10-17 10:59:28 -04:00
parent e1a204cad0
commit 478ad1a412
1968 changed files with 25639 additions and 25639 deletions

View File

@@ -120,7 +120,7 @@ void TestEncodeHelper(const char* in, const char* expected)
nsCString out, strIn(in), strExp(expected);
nsUrlClassifierUtils utils;
utils.SpecialEncode(strIn, PR_TRUE, out);
utils.SpecialEncode(strIn, true, out);
CheckEquals(strExp, out);
}
@@ -138,7 +138,7 @@ void TestEnc()
}
nsUrlClassifierUtils utils;
nsCString out;
utils.SpecialEncode(noenc, PR_FALSE, out);
utils.SpecialEncode(noenc, false, out);
CheckEquals(noenc, out);
// Test that all the chars that we should encode [0,32],37,[127,255] are
@@ -153,7 +153,7 @@ void TestEnc()
}
out.Truncate();
utils.SpecialEncode(yesAsString, PR_FALSE, out);
utils.SpecialEncode(yesAsString, false, out);
CheckEquals(yesExpectedString, out);
TestEncodeHelper("blah//blah", "blah/blah");