Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7174f3f
commit 169710a
Showing
2 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
.../testMultiMet/rt-project/src/test/java/RottenTestsFinder/FakePaperTests/RTFRow30Skip.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package RottenTestsFinder.FakePaperTests; | ||
|
||
import static org.junit.Assert.assertTrue; | ||
import static org.junit.Assert.fail; | ||
|
||
import org.junit.Test; | ||
|
||
public class RTFRow30Skip extends AbstractRTestCase { | ||
@Test | ||
public void test0() { | ||
int i = 10; | ||
if (i > 0) { | ||
return; | ||
} | ||
System.out.println("test"); | ||
} | ||
|
||
@Test | ||
public void test1() { | ||
int i = 10; | ||
if (i > 0) { | ||
return; | ||
} | ||
fail("test"); | ||
} | ||
|
||
@Test | ||
public void test2() { | ||
int i = 10; | ||
if (i > 0) { | ||
return; | ||
} | ||
assertTrue(i > 0); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters