Skip to content

Redundant exceptions in parametrized tests data provider methods signatures #250

Closed
@EgorkaKulikov

Description

@EgorkaKulikov

Description

Parametrized tests produce warnings related to exceptions in method signatures.

For example, this throws is redundant. But sometimes we should render them.

 public static ArrayList<Arguments> provideDataForContainsCompare() throws Exception {
        ArrayList<Arguments> argList = new ArrayList<Arguments>();

        {
            IntExamples intExamples = new IntExamples();

            argList.add(Arguments.arguments(intExamples, 1, 1, 1));
        }

        return argList;
    }

Metadata

Metadata

Labels

comp-codegenIssue is related to code generatorctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions