public GpsService(BaseGpsInfo baseGpsData) { _client = GpsClientFactory.Create(baseGpsData); }
public GpsService(GpsType gpsServiceType) { _client = GpsClientFactory.Create(gpsServiceType); }
public void CreateUnkownGpsInfoTest() { GpsClientFactory.Create(new UnkownGpsInfo()); }
public void CreateNullGpsTest() { GpsClientFactory.Create(null); }
public void CreateWindowsLocationApiGpsInfoTest() { var result = GpsClientFactory.Create(new WindowsLocationApiInfo()); Assert.IsInstanceOfType(result, typeof(WindowsLocationApiGpsClient)); }
public void CreateFileGpsInfoTest() { var result = GpsClientFactory.Create(new FileGpsInfo()); Assert.IsInstanceOfType(result, typeof(FileGpsClient)); }
public void CreateComPortGpsInfoTest() { var result = GpsClientFactory.Create(new ComPortInfo()); Assert.IsInstanceOfType(result, typeof(ComPortGpsClient)); }
public void CreateFileGpsTypeTest() { var result = GpsClientFactory.Create(GpsType.File); Assert.IsInstanceOfType(result, typeof(FileGpsClient)); }
public void CreateComPortGpsTypeTest() { var result = GpsClientFactory.Create(GpsType.ComPort); Assert.IsInstanceOfType(result, typeof(ComPortGpsClient)); }