Skip to content

Failed to generate tests because canonical name was not found #459

Closed

Description

@sofurihafe

Description

Tests generation failed because ClassId.canonicalName has thrown an exception

To Reproduce

  1. Run Contest Estimator with method com.google.common.base.CaseFormat.* and 300s time limit.

Actual behavior

    public void testTo_errors()
     {
        // Couldn't generate some tests. List of errors:
        // 
        // 1 occurrences of:
        // ClassId com.google.common.base.CaseFormat$1 does not have canonical name
    }
    

Activity

  1. dtim commented on Jul 8, 2022

    @dtim
    Collaborator

    Seems to be related to anonymous classes.

  2. Repository owner moved this from Todo to Done in UTBot Javaon Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-symbolic-engineIssue is related to the symbolic execution enginectg-bugIssue is a bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions