b3j0f.aop.test.joinpoint module¶
-
class
b3j0f.aop.test.joinpoint.ApplyInterceptionTest(*args, **kwargs)[source]¶ Bases:
b3j0f.utils.ut.UTCase
-
class
b3j0f.aop.test.joinpoint.FindCTXTest(*args, **kwargs)[source]¶ Bases:
b3j0f.utils.ut.UTCaseTest find_ctx function.
-
class
b3j0f.aop.test.joinpoint.GetFunctionTest(*args, **kwargs)[source]¶ Bases:
b3j0f.utils.ut.UTCase
-
class
b3j0f.aop.test.joinpoint.JoinpointProceedingTest(*args, **kwargs)[source]¶ Bases:
b3j0f.utils.ut.UTCaseTest to apply joinpoint poincut on any kinf of elements and parameters.
-
joinpoint_proceeding(jp)[source]¶ Base joinpoint proceeding which increments self count and return the proceeding result.
Parameters: jp (Joinpoint) – joinpoint to proceed. Returns: joinpoint proceeding.
-
setUp()[source]¶ Create a default joinpoint with self joinpoint_proceeding such as the only one advice and an integer count attribute equals 0.
-
test_function_args_kwargs_params()[source]¶ Test to intercept a function with var args, kwargs and params.
-
test_function_args_kwargs_params_closure()[source]¶ Test to intercept a function with var args, kwargs, params and closure.
-