简体   繁体   中英

testing java files in a package (file names are different but contents are same)?

I have 5 java files to test.When I put them in a same package(my test file is in this package too) it says duplicate classes found. I want to test them in one package cause it would be easier.Can you help me about this??If there's another easier way to do this please let me know:(note : I use intelliJ İDEA)

You could rename the classes and update the needed Types

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM