Page MenuHomePhabricator

parser_test_results.txt

Authored By
bzimport
Nov 21 2014, 10:25 PM
Size
2 KB
Referenced Files
None
Subscribers
None

parser_test_results.txt

== This was the output after the fix: ==
sean@[hostname]:~$ SERVER_ID=43339 php /usr/wikia/source/wiki/maintenance/wikia/parserBugTester.php --conf /usr/wikia/conf/current/wiki.factory/LocalSettings.php 2>&1
Testing parser tag examples...
5 test cases.
Test passed.
Test passed.
Test passed.
Test passed.
Test passed.
== This was the output before the fix: ==
sean@[hostname]:~$ SERVER_ID=43339 php /usr/wikia/source/wiki/maintenance/wikia/parserBugTester.php --conf /usr/wikia/conf/current/wiki.factory/LocalSettings.php 2>&1
Testing parser tag examples...
5 test cases.
------------------------------------------
MISMATCH!
------------------------------------------
INPUT: <stest facebook-logo="true" a:b="c" z_-.Z="val" A:B-c.1_2:3="val" _1="2">These attribs should be passed through</stest>
EXPECTED: <p><stest facebook-logo="true" a:b="c" z_-.z="val" a:b-c.1_2:3="val" _1="2">These attribs should be passed through</stest>
</p>
ACTUAL: <p><stest>These attribs should be passed through</stest>
</p>
------------------------------------------
------------------------------------------
MISMATCH!
------------------------------------------
INPUT: <stest -a="no" .b="no" 0c="no" 9d="no" don't="no" a=b="c" a%="no" hi"="no" a$="no" a@="no" ^a="no" a*="no" a(b)="no">Denied</stest>
EXPECTED: <p><stest>Denied</stest>
</p>
ACTUAL: <p><stest 0c="no" 9d="no">Denied</stest>
</p>
------------------------------------------
------------------------------------------
MISMATCH!
------------------------------------------
INPUT: <stest profile-id="107399782623294"></stest>
EXPECTED: <p><stest profile-id="107399782623294"></stest>
</p>
ACTUAL: <p><stest></stest>
</p>
------------------------------------------
------------------------------------------
MISMATCH!
------------------------------------------
INPUT: <stest profile-id="107399782623294"/>
EXPECTED: <p><stest profile-id="107399782623294"></stest>
</p>
ACTUAL: <p><stest></stest>
</p>
------------------------------------------
Test passed.
== RESULTS ==
Number of failures: 4
Number of successes: 1
THE TESTS FAILED!! <--------------- BAD BAD BAD

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4870
Default Alt Text
parser_test_results.txt (2 KB)

Event Timeline