Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mike James
committed
Nov 13, 2014
1 parent
13f6a81
commit 6cfc398
Showing
9 changed files
with
766 additions
and
609 deletions.
There are no files selected for viewing
1,088 changes: 544 additions & 544 deletions
1,088
StepCounter.Android/Resources/Resource.designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?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>{5425DF69-13D6-40B4-A3BF-B9920A7443B6}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>StepCounter.iOS.UITest</RootNamespace> | ||
<AssemblyName>StepCounter.iOS.UITest</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.6.5\lib\Xamarin.UITest.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="StepCounterUITests.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using System; | ||
using NUnit.Framework; | ||
using System.Reflection; | ||
using System.IO; | ||
using Xamarin.UITest.iOS; | ||
using Xamarin.UITest; | ||
using Xamarin.UITest.Queries; | ||
using System.Linq; | ||
|
||
namespace StepCounter.iOS.UITests | ||
{ | ||
[TestFixture] | ||
public class GestureValidationTests | ||
{ | ||
iOSApp _app; | ||
|
||
public string PathToIPA { get; set; } | ||
|
||
[TestFixtureSetUp] | ||
public void TestFixtureSetup() | ||
{ | ||
string currentFile = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath; | ||
FileInfo fi = new FileInfo(currentFile); | ||
string dir = fi.Directory.Parent.Parent.Parent.FullName; | ||
PathToIPA = Path.Combine(dir, "StepCounter", "bin", "iPhoneSimulator", "Debug", "StepCounteriOS.app"); | ||
} | ||
|
||
[SetUp] | ||
public void SetUp() | ||
{ | ||
_app = ConfigureApp.iOS.AppBundle(PathToIPA).ApiKey("0c4aec6adb022f65167bde1dc14de100").StartApp(); | ||
} | ||
|
||
[Test] | ||
public void SwipeDownToReset() | ||
{ | ||
_app.Repl(); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.