View Javadoc

1   package cz.cuni.amis.pogamut.ut2004.bot.navigation2;
2   
3   import cz.cuni.amis.pogamut.ut2004.bot.UT2004BotTest;
4   import org.junit.Test;
5   
6   /**
7    * 
8    * @author Peta Michalik
9    */
10  public class UT2004Test193_DM1on1Albatross_Combined extends UT2004BotTest {
11  
12  	@Override
13  	protected String getMapName() {
14  		return "DM-1on1-Albatross";
15  	}
16  
17  	@Override
18  	protected String getGameType() {
19  		return "BotDeathMatch";
20  	}
21  
22  	/**
23  	 * TODO: test fails!
24  	 */
25  	@Test
26  	public void test193_combined_1_time() {
27  		startTest(
28  		// use NavigationTestBot for the test
29  				Navigation2TestBot.class,
30  				// timeout: 1 minute
31  				1,
32  				// test movement between start: DM-1on1-Albatross.AIMarker8,
33  				// end: DM-1on1-Albatross.LiftExit3 number of repetitions both
34  				// ways
35  				new Navigation2TestBotParameters("DM-1on1-Albatross.AIMarker8",
36  						"DM-1on1-Albatross.LiftExit3", 1, true));
37  	}
38  
39  	/*
40  	 * TODO: Test fails
41  	 */
42  	@Test
43  	public void test193_combined_20_time() {
44  
45  		startTest(
46  		// use NavigationTestBot for the test
47  				Navigation2TestBot.class,
48  				// timeout: 10 minutes
49  				10,
50  				// test movement between start: DM-1on1-Albatross.AIMarker8,
51  				// end: DM-1on1-Albatross.LiftExit3 number of repetitions both
52  				// ways
53  				new Navigation2TestBotParameters("DM-1on1-Albatross.AIMarker8",
54  						"DM-1on1-Albatross.LiftExit3", 20, true));
55  	}
56  
57  }