moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 21:26:00 +04:00
parent 25140c5070
commit be563a6e3d
5 changed files with 6 additions and 0 deletions
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Test.java</file>
<line>3</line>
<description>Variable is assigned to itself</description>
</problem>
</problems>
@@ -0,0 +1,5 @@
public class Test {
public static void main(String[] args) {
args = args;
}
}
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,11 @@
public class Test {
public static void main(String[] args) {
//noinspection SillyAssignment
args = args;
int i = 0;
if (i == 0) {
} else //noinspection SillyAssignment
i == i;
}
}