File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 37
37
#define BASE64_FILE_BINARY " ../test/data/base64/base64_binary.jpg"
38
38
#define BASE64_FILE_UTILS " ../test/data/base64/base64_utils.dat"
39
39
#define BASE64_FILE_TEXT " :/base64/base64_text.dat"
40
- #define BASE64_FILE_BASE64 " ../test/data/base64/base64_base64.dat "
40
+ #define BASE64_FILE_BASE64 " ../test/data/base64/base64_base64.txt "
41
41
42
42
TestBase64::TestBase64 ()
43
43
{
@@ -47,7 +47,7 @@ TestBase64::TestBase64()
47
47
48
48
bool TestBase64::testFast ()
49
49
{
50
- return testUnitUtilsColumnLimit ();
50
+ return test_base64_utils_loadb64 ();
51
51
}
52
52
53
53
bool TestBase64::test_base64 ()
@@ -517,7 +517,7 @@ bool TestBase64::test_base64_utils_loadb64()
517
517
if ( (NULL ==text) || (NULL ==base) ) {
518
518
return error (" Null edit boxes" );
519
519
}
520
- QString encoded = base->toPlainText ();
520
+ QString encoded = base->toPlainText (). trimmed () ;
521
521
QString expected = " YWJjZA==" ;
522
522
if (encoded!=expected) {
523
523
return error (QString (" Load differs Decoded (%1):'%2'\n Expected (%3):%4" ).arg (encoded.length ()).arg (encoded).arg (expected.length ()).arg (expected));
You can’t perform that action at this time.
0 commit comments