Пример #1
0
        public void BeforeTest()
        {
            UnitTestUtils.LoadOfflineData();
            OfflineBackend backend = (OfflineBackend)BackendManager.Backend;

            mMapData      = backend.GetPlayerData_Offline <MapData>(BackendConstants.MAP_BASE);
            mMapUnderTest = new Map(mMapData);
        }
Пример #2
0
        public void BeforeTest()
        {
            UnitTestUtils.LoadOfflineData();

            OfflineBackend backend = (OfflineBackend)BackendManager.Backend;
            MapData        mapData = backend.GetPlayerData_Offline <MapData>(BackendConstants.MAP_BASE);

            mMapAreaData = mapData.Areas[0];

            mMissionProgress           = new SingleMissionProgress();
            mMissionProgress.Completed = false;

            mAreaUnderTest = new MapArea(mMapAreaData, mMissionProgress);
        }