Skip to content

Absent class name in static constant usage #300

Closed
@CaelmBleidd

Description

@CaelmBleidd

Description

If we generate tests using the contest estimator for com.google.common.base.CaseFormat, we will see that the resulting file does not compile because of absent class name in static constant usage: expectedFinalCaseFormat = .UPPER_CAMEL.

To Reproduce

Steps to reproduce the behavior:

  1. Run the contest estimator for com.google.common.base.CaseFormat with 300s time limit
  2. Open generated file

Expected behaviour

Compilable file.

Actual behaviour

Generated file does not compile.

Visual proofs (screenshots, logs, images)
image

Environment

The default environment for the contest estimator.

Additional context

There is no additional context.

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