mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
check if abstract test class has non abstract inheritor -> its test methods are used
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems/>
|
||||
+1
@@ -0,0 +1 @@
|
||||
public class ChildTest extends AbstractTest {}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public abstract class AbstractTest {
|
||||
@org.junit.Test
|
||||
public void testSmth() {}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>3</line>
|
||||
<entry_point TYPE="method" FQNAME="AbstractTest void testSmth()"/>
|
||||
<description>Method is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public abstract class AbstractTest {
|
||||
@org.junit.Test
|
||||
public void testSmth() {}
|
||||
}
|
||||
Reference in New Issue
Block a user