diff --git a/core/src/test/java/edu/umd/cs/piccolo/PLayerTest.java b/core/src/test/java/edu/umd/cs/piccolo/PLayerTest.java index 78e3d12..528cf30 100644 --- a/core/src/test/java/edu/umd/cs/piccolo/PLayerTest.java +++ b/core/src/test/java/edu/umd/cs/piccolo/PLayerTest.java @@ -112,20 +112,22 @@ class MockPCamera extends PCamera { class Notification { + String type; PBounds bounds; //this should really be PLayer PNode layer; - Notification(PBounds bounds, PNode layer) { + Notification(String type, PBounds bounds, PNode layer) { this.bounds = bounds; this.layer = layer; + this.type = type; } } List notifications = new ArrayList(); public void repaintFromLayer(PBounds bounds, PNode layer) { - notifications.add(new Notification(bounds, layer)); + notifications.add(new Notification("repaintFromLayer", bounds, layer)); super.repaintFromLayer(bounds, layer); } }