Merge pull request #218 from mykyta-bondarenko-gl/xi-location

[XI] removed UITest project from the "Location" solution
This commit is contained in:
Brad Umbaugh 2018-03-13 09:30:02 -06:00 коммит произвёл GitHub
Родитель cb6961a2c6 96cc1d6ef0
Коммит b9baa401a4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 0 добавлений и 119 удалений

Просмотреть файл

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Location.UITests</RootNamespace>
<AssemblyName>Location.UITests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Xamarin.UITest">
<HintPath>..\packages\Xamarin.UITest.0.7.1\lib\Xamarin.UITest.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Location\Location.csproj">
<Project>{1D18A729-56D4-46F0-AB46-A3D356FB7103}</Project>
<Name>Location</Name>
<ReferenceOutputAssembly>False</ReferenceOutputAssembly>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="Tests.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,33 +0,0 @@
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.iOS;
using Xamarin.UITest.Queries;
namespace Location.UITests
{
[TestFixture]
public class Tests
{
iOSApp app;
[SetUp]
public void BeforeEachTest ()
{
app = ConfigureApp.iOS.StartApp ();
}
[Test]
public void ViewIsDisplayed ()
{
AppResult[] results = app.WaitForElement (c => c.Child ("UIView"));
app.Screenshot ("First screen.");
Assert.IsTrue (results.Any ());
}
}
}

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.3" targetFramework="net45" />
<package id="Xamarin.UITest" version="0.7.1" targetFramework="net45" />
</packages>

Просмотреть файл

@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Location", "Location\Location.csproj", "{1D18A729-56D4-46F0-AB46-A3D356FB7103}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Location.UITests", "Location.UITests\Location.UITests.csproj", "{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|iPhoneSimulator = Debug|iPhoneSimulator
@ -27,17 +25,5 @@ Global
{1D18A729-56D4-46F0-AB46-A3D356FB7103}.Release|iPhone.Build.0 = Release|iPhone
{1D18A729-56D4-46F0-AB46-A3D356FB7103}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{1D18A729-56D4-46F0-AB46-A3D356FB7103}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|iPhone.Build.0 = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|Any CPU.Build.0 = Release|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|iPhone.ActiveCfg = Release|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|iPhone.Build.0 = Release|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{EAEFF458-C49A-4FD1-B8B0-B6BF86E2815D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

Просмотреть файл

@ -21,11 +21,6 @@ namespace Location
// Override point for customization after application launch.
// If not required for your application you can safely delete this method
// Code to start the Xamarin Test Cloud Agent
#if ENABLE_TEST_CLOUD
Xamarin.Calabash.Start();
#endif
return true;
}

Просмотреть файл

@ -63,9 +63,6 @@
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
<Reference Include="Calabash">
<HintPath>..\packages\Xamarin.TestCloud.Agent.0.13.0\lib\Xamarin.iOS10\Calabash.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json" />
@ -77,7 +74,6 @@
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.TestCloud.Agent" version="0.13.0" targetFramework="xamarinios10" />
</packages>