vispy.util.tests.test_event_emitter module#

class vispy.util.tests.test_event_emitter.BasicEvent(type, native=None, **kwargs)#

Bases: Event

class vispy.util.tests.test_event_emitter.TestEmitters(methodName='runTest')#

Bases: TestCase

assert_result(key=None, **kwargs)#
record_event(ev, key=None)#
test_chained_emitters()#

Chained emitters

test_decorator_connection()#

Connection by decorator

test_disconnect()#

Emitter disconnection

test_emission_order()#

Event emission order

test_emitter()#

Emitter constructed with no arguments

test_emitter_block()#

EventEmitter.blocker

test_emitter_error_handling()#

Emitter error handling

test_emitter_loop()#

Catch emitter loops

test_emitter_source()#

Emitter constructed with source argument

test_emitter_subclass()#

The EventEmitter subclassing

test_emitter_type()#

Emitter constructed with type argument

test_emitter_type_event_class()#

Emitter constructed with event_class argument

test_event_block()#

Event.blocked

test_event_handling()#

Event.handled

test_event_kwargs()#

Extra Event kwargs

test_multiple_callbacks()#

Multiple emitter callbacks

test_prebuilt_event()#

Emit pre-built event

test_reconnect()#

Ignore callback reconnect

test_source_stack_integrity()#

Emitter checks source stack

test_symbolic_callback()#

Symbolic callbacks

test_typed_event()#

Emit Event class with pre-specified type

try_emitter(em, **kwargs)#
class vispy.util.tests.test_event_emitter.TypedEvent(**kwargs)#

Bases: Event

vispy.util.tests.test_event_emitter.test_emitter_block()#
vispy.util.tests.test_event_emitter.test_emitter_reentrance_allowed_when_blocked1()#
vispy.util.tests.test_event_emitter.test_emitter_reentrance_allowed_when_blocked2()#
vispy.util.tests.test_event_emitter.test_emitter_reentrance_allowed_when_blocked3()#
vispy.util.tests.test_event_emitter.test_event_connect_order()#

Test event connection order