public void BeforeTest() { UnitTestUtils.LoadOfflineData(); mPlayerData = UnitTestUtils.LoadMockPlayerData(); CreateMission(); }
public void BeforeTest() { UnitTestUtils.LoadOfflineData(); UnitTestUtils.LoadMockPlayerData(); CreateTrainerManager(); }
public void BeforeTest() { UnitTestUtils.LoadOfflineData(); mPlayerData = UnitTestUtils.LoadMockPlayerData(); SetStatCalculator(); CreateMissionTask(); }
public void BeforeTest() { UnitTestUtils.LoadOfflineData(); mPlayerData = UnitTestUtils.LoadMockPlayerData(); mMissionProposal = CreateMockMissionProposal(); mUnit = new MockUnit(100); mTestSelection = new TaskUnitSelection(mUnit, new MissionTaskData() { Index = TEST_TASK_INDEX, StatRequirement = TEST_STAT, PowerRequirement = POWER_REQUIREMENT }, mMissionProposal); SetPlayerDataToNotEnoughUnits(); }
public void BeforeTest() { UnitTestUtils.LoadOfflineData(); UnitTestUtils.LoadMockPlayerData(); UnitData data = GenericDataLoader.GetData <UnitData>(GenericDataLoader.TEST_UNIT); mUnit = new Unit(data, new UnitProgress() { Level = 1, Trainers = 1 }, new ViewModel()); mBuilding = BuildingUpgradeTests.GetTestBuilding(); mBuilding.Unit = mUnit; }