Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
greenlet.tests.test_greenlet.TestGreenlet Class Reference
Inheritance diagram for greenlet.tests.test_greenlet.TestGreenlet:
Inheritance graph
[legend]
Collaboration diagram for greenlet.tests.test_greenlet.TestGreenlet:
Collaboration graph
[legend]

Public Member Functions

 test_simple (self)
 
 test_switch_no_run_raises_AttributeError (self)
 
 test_throw_no_run_raises_AttributeError (self)
 
 test_parent_equals_None (self)
 
 test_run_equals_None (self)
 
 test_two_children (self)
 
 test_two_recursive_children (self)
 
 test_threads (self)
 
 test_exception (self)
 
 test_send_exception (self)
 
 test_dealloc (self)
 
 test_dealloc_catches_GreenletExit_throws_other (self)
 
 test_dealloc_other_thread (self)
 
 test_frame (self)
 
 test_thread_bug (self)
 
 test_switch_kwargs (self)
 
 test_switch_kwargs_to_parent (self)
 
 test_switch_to_another_thread (self)
 
 test_exc_state (self)
 
 test_instance_dict (self)
 
 test_running_greenlet_has_no_run (self)
 
 test_deepcopy (self)
 
 test_parent_restored_on_kill (self)
 
 test_parent_return_failure (self)
 
 test_throw_exception_not_lost (self)
 
 test_throw_to_dead_thread_doesnt_crash (self)
 
 test_throw_to_dead_thread_doesnt_crash_wait (self)
 
 test_recursive_startup (self)
 
 test_threaded_updatecurrent (self)
 
 test_dealloc_switch_args_not_lost (self)
 
 test_tuple_subclass (self)
 
 test_abstract_subclasses (self)
 
 test_implicit_parent_with_threads (self)
 
 test_issue_245_reference_counting_subclass_no_threads (self)
 
 test_falling_off_end_switches_to_unstarted_parent_raises_error (self)
 
 test_falling_off_end_switches_to_unstarted_parent_works (self)
 
 test_switch_to_dead_greenlet_with_unstarted_perverse_parent (self)
 
 test_switch_to_dead_greenlet_reparent (self)
 
 test_can_access_f_back_of_suspended_greenlet (self)
 
 test_get_stack_with_nested_c_calls (self)
 
 test_frames_always_exposed (self)
 

Public Attributes

 expect_greenlet_leak
 
 count
 
 cycle
 
 callback
 
 glets
 

Static Public Attributes

 initial_refs = sys.getrefcount(MyGreenlet)
 
list thread_ready_events = []
 
int thread_count = initial_refs + 45
 
 event = Event()
 
 thread = Thread(target=thread_main, args=(event,))
 

Protected Member Functions

 _do_simple_test (self)
 
 _do_test_throw_to_dead_thread_doesnt_crash (self, wait_for_cleanup=False)
 

The documentation for this class was generated from the following file: