(Note that these ToString methods were previously called DebugPrint)
It turns out that DebugPrint was actually used to implement auth_logic_ast_traversing_visitor_test.cc and between me and Gogul we were not able to think of a way to re-implement this test without using strings within a reasonable timeframe (see also: this code).
Instead of deprecating this method, we should write tests for ToString. Then it's OK for tests to depend on it.
(Note that these ToString methods were previously called DebugPrint)
It turns out that DebugPrint was actually used to implement
auth_logic_ast_traversing_visitor_test.cc
and between me and Gogul we were not able to think of a way to re-implement this test without using strings within a reasonable timeframe (see also: this code).Instead of deprecating this method, we should write tests for
ToString
. Then it's OK for tests to depend on it.