Refactor `List.print_list` and `Tree.print_tree` in `art_apex_test.py`.

Move `List.print_list` and `Tree.print_tree` logics into inner
functions `print_list_rec` and `print_tree_rec` taking the current
path as argument, and remove fields `List._path` and `Tree._path`.

Test: art/build/apex/runtests.sh -l
Test: art/build/apex/runtests.sh -t
Change-Id: I48a867ea20c6d2340b4a3fe473c28ed3c1a37a79
1 file changed