Skip to content

Generated parametrized test tries to use private inner class as a type in method parameters #596

Closed
@sofurihafe

Description

@sofurihafe

To Reproduce

  1. Run CodegenExampleTest with enabled parametrized test generation,
  2. Verify that innerClassTest test fails.

Expected behavior

Instead of private CodegenExample.InnerClass, there must be Object type.

Actual behavior

Generated code tries to use private inner class as a type in parameters.

Visual proofs (screenshots, logs, images)

image

Metadata

Metadata

Labels

comp-codegenIssue is related to code generatorctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions