using Microsoft.VisualStudio.TestTools.UnitTesting; using Client.Start; /* ============================================================================== * 功能描述:RevitCmdExecutorTests * 创 建 者:Garrett * 创建日期:2019/4/16 14:40:52 * ==============================================================================*/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace Client.Start.Tests { [TestClass()] public class RevitCmdExecutorTests { [TestMethod()] public void ExecuteCmdTest() { JObject jObject=new JObject(); jObject.Add("ProjectId", "Pj4201050001"); jObject.Add("UserId", "18612660722"); string json = jObject.ToString(); var executor=new RevitCmdExecutor(); executor.ExecuteCmd("DataCheckCommand", json, new HashSet()); Assert.Fail(); } } }