2009-07-20 |
Unit tests
Allain Lalonde
committed
on 20 Jul 2009
|
---|---|
Added tests for PBasicInputEventHandler
Allain Lalonde
committed
on 20 Jul 2009
|
|
2009-07-19 |
Added getInputEventListeners to PCanvas and PNode making them return an array of PInputEventListener objects. This makes it fall inline with the other listeners inherited from JComponent and it also makes listener methods testable.
Allain Lalonde
committed
on 19 Jul 2009
|
Reverted override of createInverse in PAffineTransform since the fact that it didn't throw anything was being overlooked in Hudson, but honoured in Eclipse
Allain Lalonde
committed
on 19 Jul 2009
|
|
Removing some calls to printStackTrace(), replacing them with appropriate responses Issue 101
Allain Lalonde
committed
on 19 Jul 2009
|
|
2009-07-18 |
Fixing bug with PImage being run in Headless Mode
Allain Lalonde
committed
on 18 Jul 2009
|
Unit Testing for PImage and removed a little cruft
Allain Lalonde
committed
on 18 Jul 2009
|
|
Some Unit Tests for PInputEvent
Allain Lalonde
committed
on 18 Jul 2009
|
|
Adding tests for PText
Allain Lalonde
committed
on 18 Jul 2009
|
|
Adding tests for PText and making it return empty string by default rather than null. More inline with JTextField
Allain Lalonde
committed
on 18 Jul 2009
|
|
renamed test since PCanvas was redundant
Allain Lalonde
committed
on 18 Jul 2009
|
|
Fixed a memory leak with PCanvas instances registering themselves with KeyboardFocus and never unregistering themselves.
...
Allain Lalonde
committed
on 18 Jul 2009
|
|
Allain Lalonde
committed
on 18 Jul 2009
|
|
Added Memory Leak Test for PCanvas, should demonstrate the memory leak installInputSources has
Allain Lalonde
committed
on 18 Jul 2009
|
|
Fixed Issue 100; Plastered PInputEventFilter with Unit Tests and then made it consider the masks conditionally.
...
Allain Lalonde
committed
on 18 Jul 2009
|
|
Adding some PInputEventFilter tests.
Allain Lalonde
committed
on 18 Jul 2009
|
|
Removed unnecessary call to getFullBounds in test. Probably just a hangover from a past test.
Allain Lalonde
committed
on 18 Jul 2009
|
|
Fixed Issue 91; deprecated repaintFromlayer(PBounds, PNode) in favor of the more specific repaintFromlayer(PBounds, PLayer) making it impossible to accidentally pass a camera say to this method.
Allain Lalonde
committed
on 18 Jul 2009
|
|
Fixed Issue 96; Made PAffineTransform throw PAffineTransformException (a subclass of RuntimeException) whenever a non-invertible transform is encountered.
...
Allain Lalonde
committed
on 18 Jul 2009
|
|
2009-07-17 |
Fixed Issue 92; make it check for empty stack before popping the cursor
Allain Lalonde
committed
on 17 Jul 2009
|
Fixed Issue 94; made removeLayer(PLayer) "fail" silently. Also added some additional tests and refactoring. Sorry for such a large commit, I'd try to split it up, but it's hard to tell what's safe to leave out and what's not. I know that the whole together unit tests fine. I have to remember to checkin more frequently.
Allain Lalonde
committed
on 17 Jul 2009
|
|
Simplifying getInverseTransform and making it not call printStackTrace() since it was handling that case anyway. Issue #96 may make this a non-issue anyway.
Allain Lalonde
committed
on 17 Jul 2009
|
|
2009-07-16 |
Some tests for PDragEventHandler
Allain Lalonde
committed
on 16 Jul 2009
|
Adding some preliminary tests for PInputEvent
Allain Lalonde
committed
on 16 Jul 2009
|
|
Added some trivial tests for PPanEventHandler and added come accesors to it for maxAutoPanSpeed and minAutoPanSpeed.
...
Allain Lalonde
committed
on 16 Jul 2009
|
|
Folding nested if statements into themselves. Makes PMD stop complaining so loudly.
Allain Lalonde
committed
on 16 Jul 2009
|
|
Refactored PDebug code so that PMD didn't complain about two ifs that could be joined. In the process making it slightly clearer.
Allain Lalonde
committed
on 16 Jul 2009
|
|
Replaced complex xor logic with Java's xor operator.
Allain Lalonde
committed
on 16 Jul 2009
|
|
Part of a solution to Issue #53; made toImage not use GraphicsEnvironment in the case of running in Headless mode.
Allain Lalonde
committed
on 16 Jul 2009
|
|
Added some tests for PAffineTransform
Allain Lalonde
committed
on 16 Jul 2009
|