Bug 498288 - test class with same name as main class not allowed
Summary: test class with same name as main class not allowed
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-21 10:22 EDT by JA MA CLA
Modified: 2022-07-28 01:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JA MA CLA 2016-07-21 10:22:01 EDT
Eclipse will not allow me to define a class in the test classpath (src/test/resources) with the same name as a class in the main compile classpath (src/main/resources). 

This is perfectly legal and supported by build tools and other IDEs (IntelliJ IDEA for example). The reason I need to do this is to override certain (Spring configuration) classes for testing purposes.
Comment 1 Eclipse Genie CLA 2020-07-24 18:09:10 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2022-07-28 01:55:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.