Re-introduce printers for Node, Position, PositionAnchorType in GTest
This patch is inspired by http://crrev.com/1257203002, which makes printer for |WTFString| in GTest. This patch re-introduces printers for Node, Position and PositionAnchorType in GTest rather than printing address of pointer by fixing ODR violation for improving test authoring experience. In http://crrev.com/1095913003, we introduced |Node| and |Position| printers for GTest in "CoreTestHelpers.h". However, due by ODR violation, these printers aren't used in GTest, since some test files uses |Node| as parameters for GTest macros without including "CoreTestHelpers.h". Note: ODR stands for One Definition Rule. See details explanation in http://crrev.com/1257203002. BUG=514330 TEST=webkit_unit_tests --gtest_fitler=EditingUtilitiesTest.*,VisibleUnitsTest.* Review URL: https://codereview.chromium.org/1313283002 git-svn-id: svn://svn.chromium.org/blink/trunk@201207 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment