Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Type with the same simple name" error in compiling generated tests #447

Open
jiseongg opened this issue Feb 25, 2023 · 1 comment
Open

Comments

@jiseongg
Copy link

jiseongg commented Feb 25, 2023

Context

I am doing a large experiment with EvoSuite. I am manually compiling generated test cases with javac command.
I found the compile error message like follow.

ZooKeeperService_ESTest.java:51: error: a type with the same simple name     is already defined by the single-type-import of Future

The reason is due to the following two import statements

import java.util.concurrent.Future;
import io.netty.util.concurrent.Future;

I am wondering if there is the option to print test suite without import so that all class name will be printed with the form of fully qualified name. (I am running EvoSuite on Apache ZooKeeper, just so you know.)

@jose
Copy link
Member

jose commented May 9, 2023

I am wondering if there is the option to print test suite without import so that all class name will be printed with the form of fully qualified name.

I'm not aware of such option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants