MCPcopy Create free account

hub / github.com/TNG/ArchUnit-Examples / functions

Functions765 in github.com/TNG/ArchUnit-Examples

MethodiAlsoMayAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
MethodiAlsoMayAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
MethodiAlsoMayAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
MethodiMayAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
MethodiMayAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
MethodiMayAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
MethodiShouldNotAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
MethodiShouldNotAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
MethodiShouldNotAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
MethodillegalAccessToController
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
MethodillegalAccessToController
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
MethodillegalAccessToController
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
MethodillegallyInstantiateThirdPartyClass
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
MethodillegallyInstantiateThirdPartyClass
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
MethodillegallyInstantiateThirdPartyClass
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
MethodillegallyInstantiateThirdPartySubclass
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
MethodillegallyInstantiateThirdPartySubclass
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
MethodillegallyInstantiateThirdPartySubclass
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
MethodillegallyUseEntityManager
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
MethodillegallyUseEntityManager
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
MethodillegallyUseEntityManager
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
Methodinit
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Methodinit
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Methodinit
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Methodinit
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Methodinit
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Methodinit
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Methodinterfaces_must_not_be_placed_in_implementation_packages
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:29
Methodinterfaces_should_not_have_names_ending_with_the_word_interface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:19
Methodinterfaces_should_not_have_simple_class_names_containing_the_word_interface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:24
MethodjodaTimeIsBad
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
MethodjodaTimeIsBad
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
MethodjodaTimeIsBad
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
Methodlayer_dependencies_are_respected
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/LayeredArchitectureTest.java:14
Methodlayer_dependencies_are_respected_with_exception
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/LayeredArchitectureTest.java:29
Methodloggers_should_be_private_static_final
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CodingRulesTest.java:44
Methodmain
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Methodmain
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Methodmain
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Methodmain
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
Methodmain
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Methodmain
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Methodmain
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Methodmain
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
Methodmain
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Methodmain
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Methodmain
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Methodmain
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
MethodmethodBypassingAsyncProxy
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
MethodmethodBypassingAsyncProxy
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
MethodmethodBypassingAsyncProxy
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
MethodmethodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
MethodmethodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
MethodmethodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
MethodmethodWithGenericReturnTypeViolatingLayerRule
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
MethodmethodWithGenericReturnTypeViolatingLayerRule
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
MethodmethodWithGenericReturnTypeViolatingLayerRule
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
MethodmethodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-junit5/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
MethodmethodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-plain/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
MethodmethodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-junit4/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
MethodmethodWithReturnTypeInSliceFour
()
example-junit5/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
MethodmethodWithReturnTypeInSliceFour
()
example-plain/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
MethodmethodWithReturnTypeInSliceFour
()
example-junit4/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
Methodmodules_should_be_free_of_cycles
This example demonstrates how to check for cyclic dependencies between modules.
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:148
Methodmodules_should_only_depend_on_each_other_through_module_API
This example demonstrates how to check that modules only depend on each other through a specific API.
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:137
Methodmodules_should_respect_their_declared_dependencies__use_annotation_API
This example demonstrates how to easily derive modules from classes annotated with a certain annotation, and also test for allowed dependencies using
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:76
Methodmodules_should_respect_their_declared_dependencies__use_generic_API
This example demonstrates how to use the generic API to define modules. The result in this example again is the same as the above, however in general
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:121
Methodmodules_should_respect_their_declared_dependencies__use_package_API
This example demonstrates how to derive modules from a package pattern. The `..` stands for arbitrary many packages and the `( )` captures one specifi
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:38
Methodmodules_should_respect_their_declared_dependencies__use_root_class_API
This example demonstrates how to use the slightly more generic root class API to define modules. While the result in this example is the same as the a
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:95
Methodmodules_should_respect_their_declared_dependencies_and_exposed_packages
This example demonstrates how to easily derive modules from classes annotated with a certain annotation, and also test for allowed dependencies and co
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:59
Methodno_access_to_standard_streams_as_method
(JavaClasses classes)
example-junit5/src/test/java/com/tngtech/archunit/exampletest/junit5/CodingRulesTest.java:26
Methodno_access_to_standard_streams_as_method
(JavaClasses classes)
example-junit4/src/test/java/com/tngtech/archunit/exampletest/junit4/CodingRulesTest.java:29
Methodno_accesses_to_upper_package
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/DependencyRulesTest.java:14
Methodno_bypass_of_proxy_logic
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/ProxyRulesTest.java:15
Methodno_classes_should_access_standard_streams_or_throw_generic_exceptions
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CodingRulesTest.java:64
Methodno_classes_should_depend_on_service
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/FrozenRulesTest.java:30
Methodno_classes_should_use_the_EntityManager
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/FrozenRulesTest.java:36
Methodno_cycles_by_constructor_calls_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:28
Methodno_cycles_by_field_access_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:42
Methodno_cycles_by_inheritance_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:35
Methodno_cycles_by_member_dependencies_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:49
Methodno_cycles_by_method_calls_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:21
Methodno_cycles_in_complex_scenario
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:63
Methodno_cycles_in_complex_scenario_with_custom_ignore
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:70
Methodno_cycles_in_freely_customized_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:80
Methodno_cycles_in_simple_scenario
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:56
Methodno_new_classes_should_implement_SomeBusinessInterface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/RestrictNumberOfClassesWithACertainPropertyTest.java:16
MethodokaySinceTheVisibilityIsNonPublic
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
MethodokaySinceTheVisibilityIsNonPublic
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
MethodokaySinceTheVisibilityIsNonPublic
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
Methodonion_architecture_defined_by_annotations
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:56
Methodonion_architecture_is_respected
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:29
Methodonion_architecture_is_respected_with_exception
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:41
Methodonly_DAOs_may_use_the_EntityManager
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/DaoRulesTest.java:38
Methodonly_security_infrastructure_should_use_java_security
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/SecurityTest.java:12
Methodonly_security_infrastructure_should_use_java_security_on_whole_classpath
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/SecurityTest.java:23
MethodotherIllegalMethod
(String param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
MethodotherIllegalMethod
(String param)
example-plain/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
MethodotherIllegalMethod
(String param)
example-junit4/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
MethodotherMethod
(int param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WellBehaved.java:6
← previousnext →501–600 of 765, ranked by callers