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 {
6363 /**
6464 * Test generation of web api interface for a service with primitive types.
6565 */
66+ @ SuppressWarnings ({"PMD.JUnitTestContainsTooManyAsserts" })
6667 public void testWithPrimitiveTypes () {
6768 final PhpClass service = extractServiceByFqn (FIRST_SERVICE_FQN );
6869 final List <Method > publicMethods = PhpTypeMetadataParserUtil .getPublicMethods (service );
@@ -103,6 +104,7 @@ public void testWithPrimitiveTypes() {
103104 /**
104105 * Test generation of web api interface for a service with Object types.
105106 */
107+ @ SuppressWarnings ({"PMD.JUnitTestContainsTooManyAsserts" })
106108 public void testWithObjectTypesAndPhpDocComments () {
107109 final PhpClass service = extractServiceByFqn (SECOND_SERVICE_FQN );
108110 final List <Method > publicMethods = PhpTypeMetadataParserUtil .getPublicMethods (service );
@@ -169,6 +171,7 @@ private void assertServiceMethodsHaveInheritDoc(
169171 * @param service PhpClass
170172 * @param generatedInterfaceName String
171173 */
174+ @ SuppressWarnings ({"PMD.CyclomaticComplexity" })
172175 private void assertServiceHasInterfaceReference (
173176 final @ NotNull PhpClass service ,
174177 final @ NotNull String generatedInterfaceName
You can’t perform that action at this time.
0 commit comments