20110927T003106: *: <== :aivar!~aivar@dyn-144-92-48-238.microscopy.wisc.edu QUIT :Quit: aivar 20110927T134251: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu JOIN #imagejdev 20110927T162711: *: <== :aivar!~aivar@dyn-144-92-48-238.microscopy.wisc.edu JOIN #imagejdev 20110927T172834: *: <== :tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net JOIN #imagejdev 20110927T172859: *: <== :tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net PRIVMSG #imagejdev :Curtis -- chat? (On what?) 20110927T172859: tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net: Curtis -- chat? (On what?) 20110927T173020: *: <== :tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net PRIVMSG #imagejdev :I've turned on TS3 20110927T173020: tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net: I've turned on TS3 20110927T174415: *: <== :tnargsirrah!~chatzilla@c-174-63-126-71.hsd1.vt.comcast.net QUIT :Ping timeout: 276 seconds 20110927T181205: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :ctrueden, what should I do if I want to install a dummy EventService for the tests? 20110927T181205: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: ctrueden, what should I do if I want to install a dummy EventService for the tests? 20110927T181230: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :ctrueden, make a new class implementing EventService and put it into core/core/src/test/? 20110927T181230: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: ctrueden, make a new class implementing EventService and put it into core/core/src/test/? 20110927T181300: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :... or leave it for now? 20110927T181300: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: ... or leave it for now? 20110927T181900: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :The simplest thing is to create a minimal ImageJ context. 20110927T181900: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: The simplest thing is to create a minimal ImageJ context. 20110927T181915: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :Otherwise you can use EasyMock to create a mock EventService. But we haven't done so yet. 20110927T181915: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: Otherwise you can use EasyMock to create a mock EventService. But we haven't done so yet. 20110927T181928: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :ImageJ.createContext(EventService.class); 20110927T181928: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: ImageJ.createContext(EventService.class); 20110927T181941: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :It will create an ImageJ with an EventService, and any prerequisites (of which there are none in this case, I believe). 20110927T181941: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: It will create an ImageJ with an EventService, and any prerequisites (of which there are none in this case, I believe). 20110927T181949: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :So, pretty lightweight. 20110927T181949: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: So, pretty lightweight. 20110927T181952: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :Then you can use that everywhere in tests. 20110927T181952: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: Then you can use that everywhere in tests. 20110927T182032: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :See ShadowMenuTest for an example where I do this with MenuService. 20110927T182032: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: See ShadowMenuTest for an example where I do this with MenuService. 20110927T182129: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :You should not need to make too many mock classes yourself… with EasyMock you can program the desired behavior. 20110927T182129: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: You should not need to make too many mock classes yourself… with EasyMock you can program the desired behavior. 20110927T182359: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :Does that all make sense? 20110927T182359: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: Does that all make sense? 20110927T182803: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :Yes, it does! 20110927T182803: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: Yes, it does! 20110927T182818: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :I'll try to do that (but first, I have to continue splitting my huge Events.* commit) 20110927T182818: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: I'll try to do that (but first, I have to continue splitting my huge Events.* commit) 20110927T182822: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu PRIVMSG #imagejdev :OK. 20110927T182822: ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu: OK. 20110927T183255: *: <== :hinerm!~hinerm@dyn-144-92-48-204.microscopy.wisc.edu JOIN #imagejdev 20110927T192130: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :Yesss! I got it working, that mock thingie. 20110927T192130: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: Yesss! I got it working, that mock thingie. 20110927T192148: *: <== :dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu PRIVMSG #imagejdev :read: the tests pass again. 20110927T192148: dscho!~dscho@dyn-144-92-48-243.microscopy.wisc.edu: read: the tests pass again. 20110927T222046: *: <== :hinerm!~hinerm@dyn-144-92-48-204.microscopy.wisc.edu QUIT :Quit: hinerm 20110927T232327: *: <== :ctrueden!~Adium@dyn-144-92-48-222.microscopy.wisc.edu QUIT :Quit: Leaving.