mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
moving tests to CE
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems></problems>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
|
||||
public Test() {
|
||||
Test.main(null);
|
||||
}
|
||||
|
||||
public static void main(String[] args){}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>3</line>
|
||||
<problem_class>Actual method parameter is the same constant</problem_class>
|
||||
<description>Actual value of parameter</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Test {
|
||||
|
||||
private void foo(String... args) {}
|
||||
|
||||
public void bar() {
|
||||
foo("foo");
|
||||
foo("foo");
|
||||
}
|
||||
|
||||
public static void main(String[] args){
|
||||
new Test().bar();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems></problems>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Test {
|
||||
|
||||
private void foo(String... args) {}
|
||||
|
||||
public void bar() {
|
||||
foo("foo", "bar");
|
||||
foo("bla");
|
||||
}
|
||||
|
||||
public static void main(String[] args){
|
||||
new Test().bar();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>7</line>
|
||||
<problem_class>Actual method parameter is the same constant</problem_class>
|
||||
<description>Actual value of parameter</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
|
||||
public Test() {
|
||||
Test.main(null);
|
||||
}
|
||||
|
||||
public static void main(String[] args){}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user