mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Tried to fix cucumber tests, getting closer.
#story[1111]
This commit is contained in:
@@ -3,6 +3,7 @@ package steps;
|
||||
import cucumber.api.java.en.Given;
|
||||
import cucumber.api.java.en.Then;
|
||||
import cucumber.api.java.en.When;
|
||||
import org.junit.Assert;
|
||||
import seng302.gameServer.GameStages;
|
||||
import seng302.gameServer.GameState;
|
||||
import seng302.gameServer.MainServerThread;
|
||||
@@ -11,6 +12,9 @@ import seng302.gameServer.server.messages.BoatActionType;
|
||||
import seng302.model.Yacht;
|
||||
import seng302.visualiser.ClientToServerThread;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* Created by kre39 on 7/08/17.
|
||||
*/
|
||||
@@ -46,6 +50,7 @@ public class ToggleSailSteps {
|
||||
|
||||
@Then("^the sails are \"([^\"]*)\"$")
|
||||
public void the_sails_are(String arg1) throws Throwable {
|
||||
System.out.println(GameState.getYachts().values());
|
||||
//Yacht yacht = (new ArrayList<>(GameState.getYachts().values())).get(0);
|
||||
//Assert.assertTrue(yacht.getSailIn());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user