You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using Shentun.Peis.PlugIns.ImportLisResults;using Shentun.Peis.PlugIns.SyncAsbitemPrice;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Xunit.Abstractions;
namespace Shentun.Peis.PlugIns.Tests{ public class SyncAsbitemPricePlugInsTest { private readonly ITestOutputHelper _output; public SyncAsbitemPricePlugInsTest(ITestOutputHelper testOutputHelper) { _output = testOutputHelper;
}
[Fact] public async Task DoWorkAsync() { var input = new SyncAsbitemPricePlugInsDbBase(new Guid("8742ccb6-ab93-4e4d-aad9-873b69fafd8c")); await input.DoWork();
}
[Fact] public async Task GetInterfaceAsbitems() {
var input = new SyncAsbitemPricePlugInsDbBase(new Guid("8742ccb6-ab93-4e4d-aad9-873b69fafd8c")); var list = await input.GetInterfaceAsbitems(); foreach (var item in list) { _output.WriteLine(item.AsbitemId + "," + item.AsbitemName + "," + item.Price.ToString()); }
} }}
|