Skip to content

Commit 4b2c07a

Browse files
committed
v1.0.0 release.
1 parent 2944912 commit 4b2c07a

63 files changed

Lines changed: 7190 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
187 KB
Binary file not shown.

FakeAgent/.vs/FakeAgent/v16/.suo

58 KB
Binary file not shown.
71.2 KB
Binary file not shown.
24 Bytes
Binary file not shown.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
6+
<IsPackable>false</IsPackable>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
11+
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
12+
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
13+
<PackageReference Include="coverlet.collector" Version="1.2.0" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\FakeAgent.Net\FakeAgent.Net.csproj" />
18+
</ItemGroup>
19+
20+
</Project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2+
using System;
3+
using System.Threading.Tasks;
4+
5+
namespace FakeAgent.Net.Tests
6+
{
7+
[TestClass]
8+
public class UnitTest
9+
{
10+
[TestMethod]
11+
public async Task LoadFromFile()
12+
{
13+
var isOk = await FakeAgent.TryLoadSource(useLocal: false);
14+
Assert.AreEqual(true, isOk);
15+
for (int i = 0; i < 100; i++)
16+
{
17+
var agent = FakeAgent.RandomAgent;
18+
Console.WriteLine($"[{i + 1}] {agent}");
19+
}
20+
21+
}
22+
}
23+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// <autogenerated />
2+
using System;
3+
using System.Reflection;
4+
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// 此代码由工具生成。
4+
// 运行时版本:4.0.30319.42000
5+
//
6+
// 对此文件的更改可能会导致不正确的行为,并且如果
7+
// 重新生成代码,这些更改将会丢失。
8+
// </auto-generated>
9+
//------------------------------------------------------------------------------
10+
11+
using System;
12+
using System.Reflection;
13+
14+
[assembly: System.Reflection.AssemblyCompanyAttribute("FakeAgent.Net.Tests")]
15+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18+
[assembly: System.Reflection.AssemblyProductAttribute("FakeAgent.Net.Tests")]
19+
[assembly: System.Reflection.AssemblyTitleAttribute("FakeAgent.Net.Tests")]
20+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21+
22+
// 由 MSBuild WriteCodeFragment 类生成。
23+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b5e2214f6fc43d2ce956546ad08d43c1724ff59a
Binary file not shown.

0 commit comments

Comments
 (0)