46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Swarmops.Logic.UITests
|
|
{
|
|
public class Sockets: IUITestGroup
|
|
{
|
|
public string GroupId { get { return "Sockets"; } }
|
|
|
|
public string GroupName { get { return "Sockets"; } }
|
|
|
|
public void InitializeServerSide() { }
|
|
|
|
public string JavaScriptClientCodeDocReady { get { return string.Empty; } }
|
|
public IUITest[] Tests
|
|
{
|
|
get
|
|
{
|
|
return new IUITest[ ] {
|
|
new TestSocketConnecting() /*,
|
|
new TestSocketEcho(),
|
|
new TestFrontendHeartbeatReceived(),
|
|
new TestBackendHeartbeatReceived()*/
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
public class TestSocketConnecting : IUITest
|
|
{
|
|
public string Id { get { return @"Browser"; } }
|
|
|
|
public string Name { get { return @"Browser WebSocket connection"; } }
|
|
|
|
public void ExecuteServerSide()
|
|
{
|
|
|
|
}
|
|
|
|
public string JavaScriptClientCode { get { return string.Empty; } }
|
|
}
|
|
}
|