View Javadoc

1   package cz.cuni.amis.pogamut.ut2004.bot.navigation;
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 UT2004Test189_DM1on1Albatross_Elevator 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  	@Test
23  	public void test189_elevator_1_time() {
24  		startTest(
25  		// use NavigationTestBot for the test
26  				NavigationTestBot.class,
27  				// timeout: 1 minute
28  				1,
29  				// test movement between start:
30  				// DM-1on1-Albatross.InventorySpot342, end:
31  				// DM-1on1-Albatross.InventorySpot363 number of repetitions both
32  				// ways
33  				new NavigationTestBotParameters(
34  						"DM-1on1-Albatross.InventorySpot342",
35  						"DM-1on1-Albatross.InventorySpot363", 1, true));
36  	}
37  
38  	/*
39  	 * TODO: Test fails
40  	 */
41  	@Test
42  	public void test189_elevator_20_time() {
43  
44  		startTest(
45  		// use NavigationTestBot for the test
46  				NavigationTestBot.class,
47  				// timeout: 4 minutes
48  				4,
49  				// test movement between start:
50  				// DM-1on1-Albatross.InventorySpot342, end:
51  				// DM-1on1-Albatross.InventorySpot363 number of repetitions both
52  				// ways
53  				new NavigationTestBotParameters(
54  						"DM-1on1-Albatross.InventorySpot342",
55  						"DM-1on1-Albatross.InventorySpot363", 20, true));
56  	}
57  
58  }