示例#1
0
 @Test
 public void ring() {
   assertTrue(
       ui.run(
           "verify",
           "-deadlock=potential -inputNPROCS_BOUND=8",
           "-inputN_BOUND=4",
           filename("ring.cvl")));
 }
示例#2
0
 @Test
 public void wildcard() {
   assertTrue(
       ui.run(
           "verify",
           "-inputNPROCS=2 -showTransitions",
           "-enablePrintf=false",
           filename("wildcard.cvl")));
 }
示例#3
0
 @Test
 public void blockAdder() {
   assertTrue(ui.run("verify", "-inputB=6", "-inputW=3", filename("blockAdder.cvl")));
 }
示例#4
0
 @Test
 public void barrierBad() {
   assertFalse(ui.run("verify", "-min", "-inputB=4", filename("barrierBad.cvl")));
   assertFalse(ui.run("replay", "-id=0", filename("barrierBad.cvl")));
 }
示例#5
0
 @Test
 public void barrier2() {
   assertTrue(ui.run("verify", "-inputB=4", filename("barrier2.cvl")));
 }
示例#6
0
 @Test
 public void bank() {
   assertTrue(ui.run("verify", "-inputNUM_ACCOUNTS=3", filename("bank.cvl")));
 }
示例#7
0
 @Test
 public void waitSelf() {
   assertFalse(ui.run("verify", filename("waitSelf.cvl")));
 }
示例#8
0
 @Test
 public void locksGood() {
   assertTrue(ui.run("verify", filename("locksGood.cvl")));
 }
示例#9
0
 @Test
 public void diningBad() {
   assertFalse(ui.run("verify", "-inputB=4", "-min", filename("diningBad.cvl")));
   assertFalse(ui.run("replay", filename("diningBad.cvl")));
 }
示例#10
0
 @Test
 public void ring3Bad() {
   assertFalse(ui.run("verify -deadlock=potential", filename("ring3Bad.cvl")));
 }
示例#11
0
 @Test
 public void ring3() {
   assertTrue(ui.run("verify -deadlock=potential", filename("ring3.cvl")));
 }
示例#12
0
 @Test
 public void ring2Bad() {
   assertFalse(ui.run("verify", "-deadlock=potential -inputNPROCS=3", filename("ring2Bad.cvl")));
 }
示例#13
0
 @Test
 public void mpiPthreadsMin() {
   assertFalse(ui.run("verify", "-min", filename("mpi-pthreads.cvl")));
 }
示例#14
0
 @Test
 public void hybrid() {
   assertFalse(ui.run("verify", "-inputNPROCS=2", filename("hybrid.cvl")));
 }
示例#15
0
 @Test
 public void dlqueue() {
   assertTrue(ui.run("verify", filename("dlqueue.cvl")));
 }
示例#16
0
 @Test
 public void blockAdderBad() {
   assertFalse(ui.run("verify", "-inputB=6", "-inputW=3", "-min", filename("blockAdderBad.cvl")));
   assertFalse(ui.run("replay", filename("blockAdderBad.cvl")));
 }
示例#17
0
 @Test
 public void dining() {
   assertTrue(ui.run("verify", "-inputBOUND=4 -showTransitions=false", filename("dining.cvl")));
 }
示例#18
0
 @Test
 public void wildcardBad() {
   assertFalse(ui.run("verify", "-enablePrintf=false", filename("wildcardBad.c")));
   ui.run("replay", filename("wildcardBad.c"));
 }
示例#19
0
 @Test
 public void locksBad10() {
   assertFalse(ui.run("verify", filename("locksBad10.cvl")));
 }
示例#20
0
 @Test
 public void adder() {
   assertTrue(ui.run("verify", "-inputB=5", filename("adder.cvl")));
 }
示例#21
0
 @Test
 public void spawn() {
   assertTrue(ui.run("verify", "-inputN=10", filename("spawn.cvl")));
 }
示例#22
0
 @Test
 public void spawnBad() {
   assertFalse(ui.run("verify", "-inputN=10", filename("spawnBad.cvl")));
 }