Skip to content

从 WPF 官方拷贝测试辅助逻辑 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -8,6 +8,11 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>source;dotnet;nuget;msbuild</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/dotnet-campus/CUnit</PackageProjectUrl>
<Copyright>Copyright (c) 2019-2022 dotnet职业技术学院</Copyright>
<RepositoryUrl>https://github.com/dotnet-campus/CUnit</RepositoryUrl>
</PropertyGroup>

<PropertyGroup>
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 dotnet职业技术学院
Copyright (c) 2022 dotnet职业技术学院

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
7 changes: 7 additions & 0 deletions MSTest.Extensions.sln
Original file line number Diff line number Diff line change
@@ -23,6 +23,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnetCampus.UITest.WPF", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnetCampus.UITest.WPF.Demo", "demo\dotnetCampus.UITest.WPF.Demo\dotnetCampus.UITest.WPF.Demo.csproj", "{F1D52FE3-2E23-4C7D-AA64-CAC204B4EBBF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnetCampus.UITest.WPFTestHelper", "src\dotnetCampus.UITest.WPFTestHelper\dotnetCampus.UITest.WPFTestHelper.csproj", "{A5195542-3263-436B-8850-A9F4C1E36B2B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -45,6 +47,10 @@ Global
{F1D52FE3-2E23-4C7D-AA64-CAC204B4EBBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1D52FE3-2E23-4C7D-AA64-CAC204B4EBBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1D52FE3-2E23-4C7D-AA64-CAC204B4EBBF}.Release|Any CPU.Build.0 = Release|Any CPU
{A5195542-3263-436B-8850-A9F4C1E36B2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A5195542-3263-436B-8850-A9F4C1E36B2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A5195542-3263-436B-8850-A9F4C1E36B2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A5195542-3263-436B-8850-A9F4C1E36B2B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -54,6 +60,7 @@ Global
{7AB54453-67E4-46BC-A314-EBA72C082E7E} = {DA39C42F-B4EA-43F0-AB8C-40987B63F4D6}
{E62C4947-CD69-411D-8749-78C8B2C25ACE} = {1C4D72B5-A7C1-4AAE-A66F-4DDAC5979C28}
{F1D52FE3-2E23-4C7D-AA64-CAC204B4EBBF} = {DA39C42F-B4EA-43F0-AB8C-40987B63F4D6}
{A5195542-3263-436B-8850-A9F4C1E36B2B} = {1C4D72B5-A7C1-4AAE-A66F-4DDAC5979C28}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {21BFBA8A-2901-4A78-A722-0DDA95D3773F}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -74,3 +74,7 @@ There are many ways to contribute to MSTestEnhancer
## License

MSTestEnhancer is licensed under the [MIT license](/LICENSE)

## Thanks

https://github.com/dotnet/wpf-test/
4 changes: 0 additions & 4 deletions src/MSTest.Extensions/MSTest.Extensions.csproj
Original file line number Diff line number Diff line change
@@ -6,11 +6,7 @@
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<PackageId>MSTestEnhancer</PackageId>
<Authors>dotnet-campus</Authors>
<RepositoryUrl>https://github.com/dotnet-campus/CUnit.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/dotnet-campus/CUnit</PackageProjectUrl>
<Copyright>Copyright (c) 2018-2021 dotnet职业技术学院</Copyright>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>MSTestEnhancer helps you to write unit tests without naming any method. You can write method contract descriptions instead of writing confusing test method name when writing unit tests.</Description>
<PackageReleaseNotes>Add some assersion extensions.</PackageReleaseNotes>
3 changes: 0 additions & 3 deletions src/dotnetCampus.UITest.WPF/dotnetCampus.UITest.WPF.csproj
Original file line number Diff line number Diff line change
@@ -6,10 +6,7 @@
<UseWPF>true</UseWPF>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Description>The UITest framework for WPF</Description>
<PackageProjectUrl>https://github.com/dotnet-campus/CUnit</PackageProjectUrl>
<Copyright>Copyright (c) 2021 dotnet职业技术学院</Copyright>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/dotnet-campus/CUnit</RepositoryUrl>
<PackageTags>dotnet;nuget;msbuild;UITest;WPF;MSTest;TestFramework</PackageTags>
</PropertyGroup>

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;

namespace dotnetCampus.UITest.WPFTestHelper.ApplicationControl
{
/// <summary>
/// Provides configuration information for an <see cref="AutomatedApplication"/>.
/// </summary>
[Serializable]
public class ApplicationSettings
{
/// <summary>
/// The interface used for creation of the AutomatedApplicationImplementation.
/// </summary>
public IAutomatedApplicationImplFactory ApplicationImplementationFactory
{
get;
set;
}
}
}
Loading