Skip to content

Commit 3f4584c

Browse files
Bananeweizenromani
authored andcommitted
fix test classpath
Two of the bundles contain nested tests, which are mixed with the main sources, since both are on the main classpath. Mark those test sources as containing tests only. With this change the tests are shown as a separate test source folder and can be run directly from eclipse. It is not possible to accidentally mix test and main sources, because Eclipse has a main/test classpath separation. Also make all projects use Linux line terminators for new files by default, since that seems to be what the majority of files is using currently.
1 parent f067b70 commit 3f4584c

File tree

12 files changed

+30
-2
lines changed

12 files changed

+30
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n

net.sf.eclipsecs.checkstyle/.classpath

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
</classpathentry>
99
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
1010
<classpathentry kind="src" path="metadata"/>
11-
<classpathentry kind="src" path="test"/>
11+
<classpathentry kind="src" output="target/test-classes" path="test">
12+
<attributes>
13+
<attribute name="test" value="true"/>
14+
</attributes>
15+
</classpathentry>
1216
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
1317
<classpathentry kind="output" path="target/classes"/>
1418
</classpath>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
line.separator=\n

0 commit comments

Comments
 (0)