blob: 7d5071cfdbd8525549d2152da41681540337257f (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package au.id.zancanaro;
import org.junit.Assert;
import org.junit.Test;
import org.junit.experimental.theories.DataPoint;
import org.junit.experimental.theories.Theories;
import org.junit.experimental.theories.Theory;
import org.junit.runner.RunWith;
@RunWith(Theories.class)
public class TheoriesTest {
@DataPoint
public static String car = "carlo";
@DataPoint
public static String car2 = "carlo2";
@Theory
public void testName(String str) throws Exception {
Assert.assertEquals(str, car2);
}
}
|