Skip to content
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

FlaUI and TestStack.White interoperability #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Binary file removed Libs/Interop.UIAutomationClient.dll
Binary file not shown.
1 change: 0 additions & 1 deletion Libs/Interop.UIAutomationClient.txt

This file was deleted.

1 change: 1 addition & 0 deletions UiaComWrapper/AnnotationPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
3 changes: 2 additions & 1 deletion UiaComWrapper/Automation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

using System;
using UIAComWrapperInternal;
using UIAutomationClient;
using Interop.UIAutomationClient;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
4 changes: 3 additions & 1 deletion UiaComWrapper/AutomationElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Interop.UIAutomationClient;
using UIAutomationClient = Interop.UIAutomationClient;
using UIAComWrapperInternal;

namespace System.Windows.Automation
Expand Down Expand Up @@ -596,7 +598,7 @@ public static AutomationElement RootElement
{
try
{
UIAutomationClient.IUIAutomationElement element =
IUIAutomationElement element =
Automation.Factory.GetRootElementBuildCache(
CacheRequest.CurrentNativeCacheRequest);
return AutomationElement.Wrap(element);
Expand Down
2 changes: 1 addition & 1 deletion UiaComWrapper/AutomationElementCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System;
using System.Diagnostics;
using System.Collections;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
3 changes: 2 additions & 1 deletion UiaComWrapper/AutomationInteropProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
using System;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient;
using Interop.UIAutomationClient;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation.Providers
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/CacheRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Collections;
using System.Diagnostics;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
4 changes: 2 additions & 2 deletions UiaComWrapper/ClientEventList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Automation;
using UIAutomationClient;
using StructureChangeType = System.Windows.Automation.StructureChangeType;
using UIAutomationClient = Interop.UIAutomationClient;
using IUIAutomationElement = Interop.UIAutomationClient.IUIAutomationElement;

namespace UIAComWrapperInternal
{
Expand Down
3 changes: 2 additions & 1 deletion UiaComWrapper/ClientSideProviders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
using System.Runtime.InteropServices;
using System.Windows.Automation.Providers;
using UIAComWrapperInternal;
using UIAutomationClient;
using Interop.UIAutomationClient;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/Conditions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Windows;
using System.Diagnostics;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/DockPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/DragPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/DropTargetPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/ExpandCollapsePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/GridPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/InternalSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Windows.Automation;
using System.Windows.Automation.Text;
using System.Windows;
using UIAutomationClient = Interop.UIAutomationClient;

namespace UIAComWrapperInternal
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/InvokePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System;
using System.Diagnostics;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/LegacyIAccessiblePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/MultipleViewPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/ObjectModelPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
2 changes: 1 addition & 1 deletion UiaComWrapper/ProviderInterfaces.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Provider interfaces.
// IRawElementProviderSimple is defined in the interop DLL,
// since the Client code refers to it. Everything else is here.
using UIAutomationClient;
using Interop.UIAutomationClient;
using TextPatternRangeEndpoint = System.Windows.Automation.Text.TextPatternRangeEndpoint;
using TextUnit = System.Windows.Automation.Text.TextUnit;

Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/ScrollPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/SelectionPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/SpreadsheetPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/StylesPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/SynchronizedInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TablePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TextChildPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Runtime.InteropServices;
using System.Windows.Automation.Text;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TextPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Runtime.InteropServices;
using System.Windows.Automation.Text;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TextRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using System.Globalization;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation.Text
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TogglePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TransformPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/TreeWalker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
5 changes: 3 additions & 2 deletions UiaComWrapper/UIAComWrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
<Reference Include="Interop.UIAutomationClient, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Interop.UIAutomationClient, Version=10.0.18362.0, Culture=neutral, PublicKeyToken=0f06aa439ea1c622, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>False</EmbedInteropTypes>
<HintPath>..\Libs\Interop.UIAutomationClient.dll</HintPath>
<HintPath>..\packages\Interop.UIAutomationClient.Signed.10.18362.0\lib\net40\Interop.UIAutomationClient.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
Expand Down Expand Up @@ -143,6 +143,7 @@
<None Include="install.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="UIAComWrapper.nuspec" />
<None Include="UIAComWrapper.snk" />
</ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion UiaComWrapper/UIAComWrapper.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
<description>The UI Automation COM-to-.NET Adapter makes it possible to use the new Windows Automation API 3.0 COM interfaces, with their improved reliability and performance, while still using the same System.Windows.Automation classes as in earlier versions of UI Automation</description>
<copyright>Copyright Michael Bernstein 2013</copyright>
<tags>UIA</tags>
<dependencies>
<dependency id="Interop.UIAutomationClient.Signed" version="10.18362.0" />
</dependencies>
</metadata>
<files>
<file src="UIAComWrapper.dll" target="lib\net40" />
<file src="UIAComWrapper.pdb" target="lib\net40" />
<file src="Interop.UIAutomationClient.dll" target="lib\net40" />
<file src="install.ps1" target="tools" />
</files>
</package>
2 changes: 1 addition & 1 deletion UiaComWrapper/UiaCoreProviderApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Runtime.InteropServices;
using System.Security;
using System.Windows.Automation.Providers;
using UIAutomationClient;
using Interop.UIAutomationClient;

namespace UIAComWrapperInternal
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Globalization;
using System.Windows;
using System.Windows.Automation;
using UIAutomationClient = Interop.UIAutomationClient;

namespace UIAComWrapperInternal
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/ValuePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/VirtualizedPatterns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
1 change: 1 addition & 0 deletions UiaComWrapper/WindowPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using UIAComWrapperInternal;
using UIAutomationClient = Interop.UIAutomationClient;

namespace System.Windows.Automation
{
Expand Down
4 changes: 4 additions & 0 deletions UiaComWrapper/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Interop.UIAutomationClient.Signed" version="10.18362.0" targetFramework="net40" />
</packages>
3 changes: 2 additions & 1 deletion UiaComWrapperTests/ClientSideProvidersTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
using System.Windows.Automation;
using System.Windows.Automation.Providers;
using NUnit.Framework;
using UIAutomationClient;
using Interop.UIAutomationClient;
using UIAutomationClient = Interop.UIAutomationClient;

namespace UIAComWrapperTests
{
Expand Down
3 changes: 2 additions & 1 deletion UiaComWrapperTests/MockPatternTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
using System.Windows.Automation;
using System.Windows.Automation.Providers;
using NUnit.Framework;
using UIAutomationClient;
using Interop.UIAutomationClient;
using SupportedTextSelection = System.Windows.Automation.SupportedTextSelection;
using ZoomUnit = System.Windows.Automation.ZoomUnit;
using UIAutomationClient = Interop.UIAutomationClient;

namespace UIAComWrapperTests
{
Expand Down
Loading