acardona/CATMAID — pull request #398 by OliverUv (2012-08-19 11:29:15+00:00)
Title: Replace tree.object.list.php

Lines 973-1012 are not covered by any test case - couldn't figure out how to get the jstree to send any expandtarget parameters.

Didn't want to arbitrarily try any as I'm not sure what the intended use is or what the result would be. I could send arbitrary HTTP requests to the running catmaid instance, but I'd have no way of knowing whether I'm using the parameters in a valid combination or not.

The error printouts on lines 971, 972, 975, 976 try to mimic PHP's log_error() which writes to Apache's error.log file. When running in tests, the lines are printed in the test runner. I don't know how they would behave in production.