File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tests/com/magento/idea/magento2plugin/actions/generation/generator Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public void setUp() throws Exception {
63
63
/**
64
64
* Test generation of web api interface for a service with primitive types.
65
65
*/
66
+ @ SuppressWarnings ({"PMD.JUnitTestContainsTooManyAsserts" })
66
67
public void testWithPrimitiveTypes () {
67
68
final PhpClass service = extractServiceByFqn (FIRST_SERVICE_FQN );
68
69
final List <Method > publicMethods = PhpTypeMetadataParserUtil .getPublicMethods (service );
@@ -103,6 +104,7 @@ public void testWithPrimitiveTypes() {
103
104
/**
104
105
* Test generation of web api interface for a service with Object types.
105
106
*/
107
+ @ SuppressWarnings ({"PMD.JUnitTestContainsTooManyAsserts" })
106
108
public void testWithObjectTypesAndPhpDocComments () {
107
109
final PhpClass service = extractServiceByFqn (SECOND_SERVICE_FQN );
108
110
final List <Method > publicMethods = PhpTypeMetadataParserUtil .getPublicMethods (service );
@@ -169,6 +171,7 @@ private void assertServiceMethodsHaveInheritDoc(
169
171
* @param service PhpClass
170
172
* @param generatedInterfaceName String
171
173
*/
174
+ @ SuppressWarnings ({"PMD.CyclomaticComplexity" })
172
175
private void assertServiceHasInterfaceReference (
173
176
final @ NotNull PhpClass service ,
174
177
final @ NotNull String generatedInterfaceName
You can’t perform that action at this time.
0 commit comments