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