blob: 954d53da84ee3aef91268da436e132894cab7c8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Synchronization;
using Tango.Transport.Web;
namespace Tango.UnitTesting
{
[TestClass]
[TestCategory("Machine Service")]
public class MachineService_TST
{
[TestMethod]
public void Check_For_Updates()
{
ITransportWebClient client = new ProtoWebClient();
var result = client.Post<CheckForUpdateRequest, CheckForUpdateResponse>("http://localhost:51581/api/PPC/CheckForUpdate", new CheckForUpdateRequest()
{
SerialNumber = "0000",
Version = "0.0.0.0",
}).Result;
}
}
}
|