moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:51:46 +04:00
parent 96ed6ab4dc
commit b7929673b6
19 changed files with 5 additions and 0 deletions
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Test.java</file>
<line>6</line>
<entry_point TYPE="method" FQNAME="Test$1 void a()"/>
<problem_class>Empty method</problem_class>
<description>The method is empty</description>
</problem>
<problem>
<file>Test.java</file>
<line>13</line>
<entry_point TYPE="method" FQNAME="Test$5A$1 void aa()"/>
<problem_class>Empty method</problem_class>
<description>The method is empty</description>
</problem>
<problem>
<file>Test.java</file>
<line>20</line>
<entry_point TYPE="method" FQNAME="Test$5A$3A1$1 void aa1()"/>
<problem_class>Empty method</problem_class>
<description>The method is empty</description>
</problem>
<problem>
<file>Test.java</file>
<line>32</line>
<entry_point TYPE="method" FQNAME="Test.B$1 void bb()"/>
<problem_class>Empty method</problem_class>
<description>The method is empty</description>
</problem>
</problems>
@@ -0,0 +1,36 @@
public class Test {
public void foo() {
Runnable r = new Runnable() {
public void run(){
}
private void a(){}
}
class A {
void a(){
Runnable a = new Runnable() {
public void run(){
}
private void aa(){}
}
class A1 {
void a1(){
Runnable a1 = new Runnable() {
public void run(){
}
private void aa1(){}
}
}
}
}
}
}
class B {
void b() {
Runnable b = new Runnable() {
public void run(){
}
private void bb(){}
}
}
}
}