[ImageJ-bugs] [Bug 900] Headless mode incorect macro parsing (grid stitching)

bugzilla at fiji.sc bugzilla at fiji.sc
Tue Sep 2 07:53:58 CDT 2014


http://fiji.sc/bugzilla/show_bug.cgi?id=900

--- Comment #4 from Johannes Schindelin <johannes.schindelin at gmx.de> ---
Please note that the best way to debug ij1-patcher might be to write a unit
test, for example imitating the booleanTest() method in the
HeadlessEnvironmentTest class:

https://github.com/imagej/ij1-patcher/blob/52cf6a088e2e5df387c1ef8db1c5dfea04f80c50/src/test/java/net/imagej/patcher/HeadlessEnvironmentTest.java#L136-L143

A good way may be to add another boolean value, say, "parallel", defaulting to
"true", to
https://github.com/imagej/ij1-patcher/blob/52cf6a088e2e5df387c1ef8db1c5dfea04f80c50/src/test/java/net/imagej/patcher/Headless_Example_Plugin.java#L73-L82
and append some text to the "value" variable when it was turned off via
"parallel=false". This could be tested in the booleanTest() method which you
can run directly in Eclipse (or Netbeans or IntelliJ).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140902/c51553e1/attachment.html>


More information about the Imagej-bugs mailing list