b3j0f.annotation.test.check module

class b3j0f.annotation.test.check.AnnotationCheckerTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test AnnotationChecker.

class TestAnnotationChecker(utcase, *args, **kwargs)[source]

Bases: b3j0f.annotation.check.AnnotationChecker

AnnotationCheckerTest.setUp()[source]
AnnotationCheckerTest.tearDown()[source]
AnnotationCheckerTest.test_annotation_class()[source]

Test to annotate an annotation class.

AnnotationCheckerTest.test_not_Annotation()[source]

Test to annotate an object which is not an annotation.

class b3j0f.annotation.test.check.ConditionTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test the Condition annotation.

post_cond(joinpoint)[source]
pre_cond(joinpoint)[source]
setUp()[source]
tearDown()[source]
test_pre()[source]

Test pre condition checking.

class b3j0f.annotation.test.check.MaxCountTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test MaxCount annotation.

test_default()[source]

Test default count.

test_more_than_one()[source]

Test > 1 count.

test_one()[source]

Test one count.

class b3j0f.annotation.test.check.TargetTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test Target Annotation.

test_callable()[source]

Test the type callable.

test_class()[source]

Test to use type such as types.

test_function()[source]

Test the type function.

test_multitypes()[source]

Test multi types.