This commit is contained in:
parent
8615a0e021
commit
6ee4e11161
@ -35,6 +35,7 @@ class InheritanceTest extends SimpleEventListenerBase implements SimpleEventList
|
||||
}
|
||||
|
||||
@Event
|
||||
@Priority(250)
|
||||
private void onSimpleEventPrivate(SimpleEvent event) {
|
||||
assertSame(0, event.getCounter());
|
||||
event.increment();
|
||||
|
@ -16,8 +16,8 @@ abstract class SimpleEventListenerBase {
|
||||
fail("This handler should not be invoked");
|
||||
}
|
||||
|
||||
@Priority(150)
|
||||
@Event
|
||||
@Priority(150)
|
||||
private void onSimpleEventPrivate(SimpleEvent event) {
|
||||
assertSame(1, event.getCounter());
|
||||
event.increment();
|
||||
|
Loading…
Reference in New Issue
Block a user