This commit is contained in:
2021-06-13 10:28:03 +02:00
parent eb70603c85
commit df2d24cbd3
7487 changed files with 943244 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
using System;
using Unity.Cloud.Collaborate.Models;
using Unity.Cloud.Collaborate.Models.Enums;
using Unity.Cloud.Collaborate.UserInterface;
namespace Unity.Cloud.Collaborate.Tests.Models
{
internal class TestStartModel : IStartModel
{
public int requestTurnOnServiceCount;
public int showServicePageCount;
public int showLoginPageCount;
public int showNoSeatPageCount;
public event Action StateChanged = delegate { };
public void TriggerStateChanged()
{
StateChanged();
}
public event Action<ProjectStatus> ProjectStatusChanged = delegate { };
public void TriggerProjectStatusChanged(ProjectStatus status)
{
ProjectStatusChanged(status);
}
public ProjectStatus ProjectStatus { get; set; }
public void OnStart()
{
throw new NotImplementedException();
}
public void OnStop()
{
throw new NotImplementedException();
}
public void RestoreState(IWindowCache cache)
{
throw new NotImplementedException();
}
public void SaveState(IWindowCache cache)
{
throw new NotImplementedException();
}
public void RequestTurnOnService()
{
requestTurnOnServiceCount++;
}
public void ShowServicePage()
{
showServicePageCount++;
}
public void ShowLoginPage()
{
showLoginPageCount++;
}
public void ShowNoSeatPage()
{
showNoSeatPageCount++;
}
}
}