All without Readme and pumlid
This commit is contained in:
17
marker/src/test/java/AppTest.java
Normal file
17
marker/src/test/java/AppTest.java
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Created by Alexis on 01-May-17.
|
||||
*/
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Application test
|
||||
*/
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
String[] args = {};
|
||||
App.main(args);
|
||||
}
|
||||
}
|
16
marker/src/test/java/GuardTest.java
Normal file
16
marker/src/test/java/GuardTest.java
Normal file
@ -0,0 +1,16 @@
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.instanceOf;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
/**
|
||||
* Created by Alexis on 02-May-17.
|
||||
*/
|
||||
public class GuardTest {
|
||||
|
||||
@Test
|
||||
public void testGuard() {
|
||||
Guard guard = new Guard();
|
||||
assertThat(guard, instanceOf(Permission.class));
|
||||
}
|
||||
}
|
15
marker/src/test/java/ThiefTest.java
Normal file
15
marker/src/test/java/ThiefTest.java
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Created by Alexis on 02-May-17.
|
||||
*/
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
|
||||
public class ThiefTest {
|
||||
@Test
|
||||
public void testGuard() {
|
||||
Thief thief = new Thief();
|
||||
assertFalse(thief instanceof Permission);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user