public void StartExporter() { var svc = new ExportDataService <Task>(); Assert.DoesNotThrow(() => svc.Start(null)); Assert.DoesNotThrow(() => svc.ForceWait()); }
public void SetSourceParamsNullAndStartExporter() { var svc = new ExportDataService <Task>(); Assert.DoesNotThrow(() => svc.PassSourceParams(null)); Assert.DoesNotThrow(() => svc.Start(null)); Assert.DoesNotThrow(() => svc.ForceWait()); Assert.DoesNotThrow(() => svc.Stop(null)); }
public void SetSourceParamsAndStartExporter() { var svc = new ExportDataService <Task>(); Assert.DoesNotThrow(() => svc.PassSourceParams(new List <TypedParameter> { new TypedParameter(typeof(int), 5) })); Assert.DoesNotThrow(() => svc.Start(null)); Assert.DoesNotThrow(() => svc.ForceWait()); Assert.DoesNotThrow(() => svc.Stop(null)); }