@ -0,0 +1,19 @@ | |||
Any raw assets you want to be deployed with your application can be placed in | |||
this directory (and child directories) and given a Build Action of "AndroidAsset". | |||
These files will be deployed with you package and will be accessible using Android's | |||
AssetManager, like this: | |||
public class ReadAsset : Activity | |||
{ | |||
protected override void OnCreate (Bundle bundle) | |||
{ | |||
base.OnCreate (bundle); | |||
InputStream input = Assets.Open ("my_asset.txt"); | |||
} | |||
} | |||
Additionally, some Android functions will automatically load asset files: | |||
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); |
@ -0,0 +1,23 @@ | |||
using Android.App; | |||
using Android.OS; | |||
using Xunit.Runners.UI; | |||
using Xunit.Sdk; | |||
namespace eShopOnContainers.TestRunner.Droid | |||
{ | |||
[Activity(Label = "eShopOnContainers.TestRunner.Droid", MainLauncher = true, Icon = "@drawable/icon")] | |||
public class MainActivity : RunnerActivity | |||
{ | |||
protected override void OnCreate(Bundle bundle) | |||
{ | |||
// We need this to ensure the execution assembly is part of the app bundle | |||
AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); | |||
// or in any reference assemblies getting the Assembly from any type/class | |||
AddTestAssembly(typeof(UnitTests.DummyTests).Assembly); | |||
base.OnCreate(bundle); | |||
} | |||
} | |||
} | |||
@ -0,0 +1,43 @@ | |||
using System; | |||
using System.Reflection; | |||
using Android.App; | |||
using Android.Content; | |||
using Android.Runtime; | |||
using Android.Views; | |||
using Android.Widget; | |||
using Android.OS; | |||
using Xunit.Sdk; | |||
using Xunit.Runners.UI; | |||
namespace eShopOnContainers.TestRunner.Droid | |||
{ | |||
[Activity(Label = "xUnit Android Runner", MainLauncher = true, Theme= "@android:style/Theme.Material.Light")] | |||
public class MainActivity : RunnerActivity | |||
{ | |||
protected override void OnCreate(Bundle bundle) | |||
{ | |||
// tests can be inside the main assembly | |||
AddTestAssembly(Assembly.GetExecutingAssembly()); | |||
AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); | |||
// or in any reference assemblies | |||
//AddTestAssembly(typeof(PortableTests).Assembly); | |||
// or in any assembly that you load (since JIT is available) | |||
#if false | |||
// you can use the default or set your own custom writer (e.g. save to web site and tweet it ;-) | |||
Writer = new TcpTextWriter ("10.0.1.2", 16384); | |||
// start running the test suites as soon as the application is loaded | |||
AutoStart = true; | |||
// crash the application (to ensure it's ended) and return to springboard | |||
TerminateAfterExecution = true; | |||
#endif | |||
// you cannot add more assemblies once calling base | |||
base.OnCreate(bundle); | |||
} | |||
} | |||
} | |||
@ -0,0 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="eShopOnContainers.TestRunner.Droid.eShopOnContainers.TestRunner.Droid" android:versionCode="1" android:versionName="1.0"> | |||
<uses-sdk android:minSdkVersion="16" /> | |||
<application android:label="eShopOnContainers.TestRunner.Droid"></application> | |||
</manifest> |
@ -0,0 +1,30 @@ | |||
using System.Reflection; | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.InteropServices; | |||
using Android.App; | |||
// General Information about an assembly is controlled through the following | |||
// set of attributes. Change these attribute values to modify the information | |||
// associated with an assembly. | |||
[assembly: AssemblyTitle("eShopOnContainers.TestRunner.Droid")] | |||
[assembly: AssemblyDescription("")] | |||
[assembly: AssemblyConfiguration("")] | |||
[assembly: AssemblyCompany("")] | |||
[assembly: AssemblyProduct("eShopOnContainers.TestRunner.Droid")] | |||
[assembly: AssemblyCopyright("Copyright © 2016")] | |||
[assembly: AssemblyTrademark("")] | |||
[assembly: AssemblyCulture("")] | |||
[assembly: ComVisible(false)] | |||
// Version information for an assembly consists of the following four values: | |||
// | |||
// Major Version | |||
// Minor Version | |||
// Build Number | |||
// Revision | |||
// | |||
// You can specify all the values or you can default the Build and Revision Numbers | |||
// by using the '*' as shown below: | |||
// [assembly: AssemblyVersion("1.0.*")] | |||
[assembly: AssemblyVersion("1.0.0.0")] | |||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,44 @@ | |||
Images, layout descriptions, binary blobs and string dictionaries can be included | |||
in your application as resource files. Various Android APIs are designed to | |||
operate on the resource IDs instead of dealing with images, strings or binary blobs | |||
directly. | |||
For example, a sample Android app that contains a user interface layout (main.axml), | |||
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png) | |||
would keep its resources in the "Resources" directory of the application: | |||
Resources/ | |||
drawable/ | |||
icon.png | |||
layout/ | |||
main.axml | |||
values/ | |||
strings.xml | |||
In order to get the build system to recognize Android resources, set the build action to | |||
"AndroidResource". The native Android APIs do not operate directly with filenames, but | |||
instead operate on resource IDs. When you compile an Android application that uses resources, | |||
the build system will package the resources for distribution and generate a class called "R" | |||
(this is an Android convention) that contains the tokens for each one of the resources | |||
included. For example, for the above Resources layout, this is what the R class would expose: | |||
public class R { | |||
public class drawable { | |||
public const int icon = 0x123; | |||
} | |||
public class layout { | |||
public const int main = 0x456; | |||
} | |||
public class strings { | |||
public const int first_string = 0xabc; | |||
public const int second_string = 0xbcd; | |||
} | |||
} | |||
You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main | |||
to reference the layout/main.axml file, or R.strings.first_string to reference the first | |||
string in the dictionary file values/strings.xml. |
@ -0,0 +1,7 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
android:orientation="vertical" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
> | |||
</LinearLayout> |
@ -0,0 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<resources> | |||
<string name="Hello">Hello World, Click Me!</string> | |||
<string name="ApplicationName">eShopOnContainers.TestRunner.Droid</string> | |||
</resources> |
@ -0,0 +1,11 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<configuration> | |||
<runtime> | |||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||
<dependentAssembly> | |||
<assemblyIdentity name="xunit.runner.utility.dotnet" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" /> | |||
<bindingRedirect oldVersion="0.0.0.0-2.2.0.3444" newVersion="2.2.0.3444" /> | |||
</dependentAssembly> | |||
</assemblyBinding> | |||
</runtime> | |||
</configuration> |
@ -0,0 +1,184 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<PropertyGroup> | |||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||
<ProductVersion>8.0.30703</ProductVersion> | |||
<SchemaVersion>2.0</SchemaVersion> | |||
<ProjectGuid>{A289A7F0-ACD8-42AE-87B6-AB1AFD310BF1}</ProjectGuid> | |||
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||
<OutputType>Library</OutputType> | |||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||
<RootNamespace>eShopOnContainers.TestRunner.Droid</RootNamespace> | |||
<AssemblyName>eShopOnContainers.TestRunner.Droid</AssemblyName> | |||
<FileAlignment>512</FileAlignment> | |||
<AndroidApplication>true</AndroidApplication> | |||
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile> | |||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> | |||
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk> | |||
<TargetFrameworkVersion>v7.0</TargetFrameworkVersion> | |||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> | |||
<NuGetPackageImportStamp> | |||
</NuGetPackageImportStamp> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||
<DebugSymbols>true</DebugSymbols> | |||
<DebugType>full</DebugType> | |||
<Optimize>false</Optimize> | |||
<OutputPath>bin\Debug\</OutputPath> | |||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime> | |||
<AndroidLinkMode>None</AndroidLinkMode> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||
<DebugType>pdbonly</DebugType> | |||
<DebugSymbols>true</DebugSymbols> | |||
<AndroidManagedSymbols>true</AndroidManagedSymbols> | |||
<Optimize>true</Optimize> | |||
<OutputPath>bin\Release\</OutputPath> | |||
<DefineConstants>TRACE</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime> | |||
<AndroidLinkMode>SdkOnly</AndroidLinkMode> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\MonoAndroid10\FormsViewGroup.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Mono.Android" /> | |||
<Reference Include="mscorlib" /> | |||
<Reference Include="System" /> | |||
<Reference Include="System.Core" /> | |||
<Reference Include="System.Xml.Linq" /> | |||
<Reference Include="System.Xml" /> | |||
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.Design, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.Design.23.3.0\lib\MonoAndroid43\Xamarin.Android.Support.Design.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.v4.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.AppCompat.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.v7.CardView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.CardView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.CardView.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.v7.MediaRouter, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.MediaRouter.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.MediaRouter.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.v7.RecyclerView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.RecyclerView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.RecyclerView.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Android.Support.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Vector.Drawable.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.abstractions.2.0.1\lib\netstandard1.0\xunit.abstractions.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.assert, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.assert.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.assert.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.core, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.core.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.execution.dotnet, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.execution.dotnet.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.runner.devices, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.runner.devices.2.1.0\lib\MonoAndroid\xunit.runner.devices.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.runner.utility.dotnet, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.runner.utility.2.2.0-beta4-build3444\lib\netstandard1.1\xunit.runner.utility.dotnet.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Compile Include="MainActivity.cs" /> | |||
<Compile Include="Resources\Resource.Designer.cs" /> | |||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<None Include="app.config" /> | |||
<None Include="packages.config" /> | |||
<None Include="Resources\AboutResources.txt" /> | |||
<None Include="Assets\AboutAssets.txt" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<AndroidResource Include="Resources\layout\Main.axml"> | |||
<SubType>Designer</SubType> | |||
</AndroidResource> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<AndroidResource Include="Resources\values\Strings.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<AndroidResource Include="Resources\drawable\Icon.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<None Include="Properties\AndroidManifest.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="MainActivity.cs.txt" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\eShopOnContainers.UnitTests\eShopOnContainers.UnitTests.csproj"> | |||
<Project>{f7b6a162-bc4d-4924-b16a-713f9b0344e7}</Project> | |||
<Name>eShopOnContainers.UnitTests</Name> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> | |||
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" /> | |||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |||
<PropertyGroup> | |||
<ErrorText>Este proyecto hace referencia a los paquetes NuGet que faltan en este equipo. Use la restauración de paquetes NuGet para descargarlos. Para obtener más información, consulte http://go.microsoft.com/fwlink/?LinkID=322105. El archivo que falta es {0}.</ErrorText> | |||
</PropertyGroup> | |||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets'))" /> | |||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" /> | |||
<Error Condition="!Exists('..\..\packages\xunit.runner.devices.2.1.0\build\MonoAndroid\xunit.runner.devices.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.runner.devices.2.1.0\build\MonoAndroid\xunit.runner.devices.targets'))" /> | |||
</Target> | |||
<Import Project="..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" /> | |||
<Import Project="..\..\packages\xunit.runner.devices.2.1.0\build\MonoAndroid\xunit.runner.devices.targets" Condition="Exists('..\..\packages\xunit.runner.devices.2.1.0\build\MonoAndroid\xunit.runner.devices.targets')" /> | |||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||
Other similar extension points exist, see Microsoft.Common.targets. | |||
<Target Name="BeforeBuild"> | |||
</Target> | |||
<Target Name="AfterBuild"> | |||
</Target> | |||
--> | |||
</Project> |
@ -0,0 +1,20 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<packages> | |||
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid70" /> | |||
<package id="Xamarin.Forms" version="2.3.3.166-pre4" targetFramework="monoandroid70" /> | |||
<package id="xunit" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
<package id="xunit.abstractions" version="2.0.1" targetFramework="monoandroid70" /> | |||
<package id="xunit.assert" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
<package id="xunit.core" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
<package id="xunit.extensibility.core" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
<package id="xunit.extensibility.execution" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
<package id="xunit.runner.devices" version="2.1.0" targetFramework="monoandroid70" /> | |||
<package id="xunit.runner.utility" version="2.2.0-beta4-build3444" targetFramework="monoandroid70" /> | |||
</packages> |
@ -0,0 +1,9 @@ | |||
<ui:RunnerApplication | |||
x:Class="eShopOnContainers.TestRunner.Windows.App" | |||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||
xmlns:local="using:eShopOnContainers.TestRunner.Windows" | |||
xmlns:ui="using:Xunit.Runners.UI" | |||
RequestedTheme="Light"> | |||
</ui:RunnerApplication> |
@ -0,0 +1,18 @@ | |||
using System.Reflection; | |||
using Xunit.Runners.UI; | |||
namespace eShopOnContainers.TestRunner.Windows | |||
{ | |||
/// <summary> | |||
/// Provides application-specific behavior to supplement the default Application class. | |||
/// </summary> | |||
sealed partial class App : RunnerApplication | |||
{ | |||
protected override void OnInitializeRunner() | |||
{ | |||
// Otherwise you need to ensure that the test assemblies will | |||
// become part of the app bundle | |||
AddTestAssembly(typeof(UnitTests.DummyTests).GetTypeInfo().Assembly); | |||
} | |||
} | |||
} |
@ -0,0 +1,49 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Package | |||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" | |||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" | |||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" | |||
IgnorableNamespaces="uap mp"> | |||
<Identity | |||
Name="d659d59b-903a-4c8e-bbb8-d56346506a44" | |||
Publisher="CN=jsuarez" | |||
Version="1.0.0.0" /> | |||
<mp:PhoneIdentity PhoneProductId="d659d59b-903a-4c8e-bbb8-d56346506a44" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> | |||
<Properties> | |||
<DisplayName>eShopOnContainers.TestRunner.Windows</DisplayName> | |||
<PublisherDisplayName>jsuarez</PublisherDisplayName> | |||
<Logo>Assets\StoreLogo.png</Logo> | |||
</Properties> | |||
<Dependencies> | |||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" /> | |||
</Dependencies> | |||
<Resources> | |||
<Resource Language="x-generate"/> | |||
</Resources> | |||
<Applications> | |||
<Application Id="App" | |||
Executable="$targetnametoken$.exe" | |||
EntryPoint="eShopOnContainers.TestRunner.Windows.App"> | |||
<uap:VisualElements | |||
DisplayName="eShopOnContainers.TestRunner.Windows" | |||
Square150x150Logo="Assets\Square150x150Logo.png" | |||
Square44x44Logo="Assets\Square44x44Logo.png" | |||
Description="eShopOnContainers.TestRunner.Windows" | |||
BackgroundColor="transparent"> | |||
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/> | |||
<uap:SplashScreen Image="Assets\SplashScreen.png" /> | |||
</uap:VisualElements> | |||
</Application> | |||
</Applications> | |||
<Capabilities> | |||
<Capability Name="internetClient" /> | |||
</Capabilities> | |||
</Package> |
@ -0,0 +1,29 @@ | |||
using System.Reflection; | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.InteropServices; | |||
// General Information about an assembly is controlled through the following | |||
// set of attributes. Change these attribute values to modify the information | |||
// associated with an assembly. | |||
[assembly: AssemblyTitle("eShopOnContainers.TestRunner.Windows")] | |||
[assembly: AssemblyDescription("")] | |||
[assembly: AssemblyConfiguration("")] | |||
[assembly: AssemblyCompany("")] | |||
[assembly: AssemblyProduct("eShopOnContainers.TestRunner.Windows")] | |||
[assembly: AssemblyCopyright("Copyright © 2016")] | |||
[assembly: AssemblyTrademark("")] | |||
[assembly: AssemblyCulture("")] | |||
// Version information for an assembly consists of the following four values: | |||
// | |||
// Major Version | |||
// Minor Version | |||
// Build Number | |||
// Revision | |||
// | |||
// You can specify all the values or you can default the Build and Revision Numbers | |||
// by using the '*' as shown below: | |||
// [assembly: AssemblyVersion("1.0.*")] | |||
[assembly: AssemblyVersion("1.0.0.0")] | |||
[assembly: AssemblyFileVersion("1.0.0.0")] | |||
[assembly: ComVisible(false)] |
@ -0,0 +1,31 @@ | |||
<!-- | |||
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most | |||
developers. However, you can modify these parameters to modify the behavior of the .NET Native | |||
optimizer. | |||
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919 | |||
To fully enable reflection for App1.MyClass and all of its public/private members | |||
<Type Name="App1.MyClass" Dynamic="Required All"/> | |||
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32 | |||
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" /> | |||
Using the Namespace directive to apply reflection policy to all the types in a particular namespace | |||
<Namespace Name="DataClasses.ViewModels" Seralize="All" /> | |||
--> | |||
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> | |||
<Application> | |||
<!-- | |||
An Assembly element with Name="*Application*" applies to all assemblies in | |||
the application package. The asterisks are not wildcards. | |||
--> | |||
<Assembly Name="*Application*" Dynamic="Required All" /> | |||
<!-- Add your application specific runtime directives here. --> | |||
</Application> | |||
</Directives> |
@ -0,0 +1,139 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||
<PropertyGroup> | |||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | |||
<ProjectGuid>{02680C26-CA1D-4D9D-A7E3-D66AF5BE6F2F}</ProjectGuid> | |||
<OutputType>AppContainerExe</OutputType> | |||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||
<RootNamespace>eShopOnContainers.TestRunner.Windows</RootNamespace> | |||
<AssemblyName>eShopOnContainers.TestRunner.Windows</AssemblyName> | |||
<DefaultLanguage>es-ES</DefaultLanguage> | |||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> | |||
<TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> | |||
<TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion> | |||
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion> | |||
<FileAlignment>512</FileAlignment> | |||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||
<PackageCertificateKeyFile>eShopOnContainers.TestRunner.Windows_TemporaryKey.pfx</PackageCertificateKeyFile> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> | |||
<DebugSymbols>true</DebugSymbols> | |||
<OutputPath>bin\x86\Debug\</OutputPath> | |||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>full</DebugType> | |||
<PlatformTarget>x86</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | |||
<OutputPath>bin\x86\Release\</OutputPath> | |||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<Optimize>true</Optimize> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>pdbonly</DebugType> | |||
<PlatformTarget>x86</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> | |||
<DebugSymbols>true</DebugSymbols> | |||
<OutputPath>bin\ARM\Debug\</OutputPath> | |||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>full</DebugType> | |||
<PlatformTarget>ARM</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> | |||
<OutputPath>bin\ARM\Release\</OutputPath> | |||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<Optimize>true</Optimize> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>pdbonly</DebugType> | |||
<PlatformTarget>ARM</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> | |||
<DebugSymbols>true</DebugSymbols> | |||
<OutputPath>bin\x64\Debug\</OutputPath> | |||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>full</DebugType> | |||
<PlatformTarget>x64</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | |||
<OutputPath>bin\x64\Release\</OutputPath> | |||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> | |||
<Optimize>true</Optimize> | |||
<NoWarn>;2008</NoWarn> | |||
<DebugType>pdbonly</DebugType> | |||
<PlatformTarget>x64</PlatformTarget> | |||
<UseVSHostingProcess>false</UseVSHostingProcess> | |||
<ErrorReport>prompt</ErrorReport> | |||
<Prefer32Bit>true</Prefer32Bit> | |||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included --> | |||
<None Include="project.json" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Compile Include="App.xaml.cs"> | |||
<DependentUpon>App.xaml</DependentUpon> | |||
</Compile> | |||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<AppxManifest Include="Package.appxmanifest"> | |||
<SubType>Designer</SubType> | |||
</AppxManifest> | |||
<None Include="eShopOnContainers.TestRunner.Windows_TemporaryKey.pfx" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="Properties\Default.rd.xml" /> | |||
<Content Include="Assets\LockScreenLogo.scale-200.png" /> | |||
<Content Include="Assets\SplashScreen.scale-200.png" /> | |||
<Content Include="Assets\Square150x150Logo.scale-200.png" /> | |||
<Content Include="Assets\Square44x44Logo.scale-200.png" /> | |||
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> | |||
<Content Include="Assets\StoreLogo.png" /> | |||
<Content Include="Assets\Wide310x150Logo.scale-200.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ApplicationDefinition Include="App.xaml"> | |||
<Generator>MSBuild:Compile</Generator> | |||
<SubType>Designer</SubType> | |||
</ApplicationDefinition> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\eShopOnContainers.UnitTests\eShopOnContainers.UnitTests.csproj"> | |||
<Project>{f7b6a162-bc4d-4924-b16a-713f9b0344e7}</Project> | |||
<Name>eShopOnContainers.UnitTests</Name> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "> | |||
<VisualStudioVersion>14.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> | |||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||
Other similar extension points exist, see Microsoft.Common.targets. | |||
<Target Name="BeforeBuild"> | |||
</Target> | |||
<Target Name="AfterBuild"> | |||
</Target> | |||
--> | |||
</Project> |
@ -0,0 +1,20 @@ | |||
{ | |||
"dependencies": { | |||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0", | |||
"Xamarin.Forms": "2.3.3.166-pre4", | |||
"xunit": "2.2.0-beta4-build3444", | |||
"xunit.runner.devices": "2.1.0", | |||
"xunit.runner.utility": "2.2.0-beta4-build3444" | |||
}, | |||
"frameworks": { | |||
"uap10.0": {} | |||
}, | |||
"runtimes": { | |||
"win10-arm": {}, | |||
"win10-arm-aot": {}, | |||
"win10-x86": {}, | |||
"win10-x86-aot": {}, | |||
"win10-x64": {}, | |||
"win10-x64-aot": {} | |||
} | |||
} |
@ -0,0 +1,27 @@ | |||
using Foundation; | |||
using UIKit; | |||
using Xunit.Runner; | |||
using Xunit.Sdk; | |||
namespace eShopOnContainers.TestRunner.iOS | |||
{ | |||
// The UIApplicationDelegate for the application. This class is responsible for launching the | |||
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS. | |||
[Register("AppDelegate")] | |||
public class AppDelegate : RunnerAppDelegate | |||
{ | |||
public override bool FinishedLaunching(UIApplication app, NSDictionary options) | |||
{ | |||
// We need this to ensure the execution assembly is part of the app bundle | |||
AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); | |||
// Otherwise you need to ensure that the test assemblies will | |||
// become part of the app bundle | |||
AddTestAssembly(typeof(UnitTests.DummyTests).Assembly); | |||
return base.FinishedLaunching(app, options); | |||
} | |||
} | |||
} | |||
@ -0,0 +1,51 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.Linq; | |||
using System.Reflection; | |||
using Foundation; | |||
using UIKit; | |||
using Xunit.Runner; | |||
using Xunit.Sdk; | |||
namespace eShopOnContainers.TestRunner.iOS | |||
{ | |||
// The UIApplicationDelegate for the application. This class is responsible for launching the | |||
// User Interface of the application, as well as listening (and optionally responding) to | |||
// application events from iOS. | |||
[Register("AppDelegate")] | |||
public partial class AppDelegate : RunnerAppDelegate | |||
{ | |||
// | |||
// This method is invoked when the application has loaded and is ready to run. In this | |||
// method you should instantiate the window, load the UI into it and then make the window | |||
// visible. | |||
// | |||
// You have 17 seconds to return from this method, or iOS will terminate your application. | |||
// | |||
public override bool FinishedLaunching(UIApplication app, NSDictionary options) | |||
{ | |||
// We need this to ensure the execution assembly is part of the app bundle | |||
AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); | |||
// tests can be inside the main assembly | |||
AddTestAssembly(Assembly.GetExecutingAssembly()); | |||
// otherwise you need to ensure that the test assemblies will | |||
// become part of the app bundle | |||
//AddTestAssembly(typeof(PortableTests).Assembly); | |||
#if false | |||
// you can use the default or set your own custom writer (e.g. save to web site and tweet it ;-) | |||
Writer = new TcpTextWriter ("10.0.1.2", 16384); | |||
// start running the test suites as soon as the application is loaded | |||
AutoStart = true; | |||
// crash the application (to ensure it's ended) and return to springboard | |||
TerminateAfterExecution = true; | |||
#endif | |||
return base.FinishedLaunching(app, options); | |||
} | |||
} | |||
} |
@ -0,0 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |||
<plist version="1.0"> | |||
<dict> | |||
</dict> | |||
</plist> |
@ -0,0 +1,34 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |||
<plist version="1.0"> | |||
<dict> | |||
<key>CFBundleDisplayName</key> | |||
<string>eShopOnContainers.TestRunner.iOS</string> | |||
<key>CFBundleIdentifier</key> | |||
<string>com.companyname.eShopOnContainers.TestRunner.iOS</string> | |||
<key>CFBundleShortVersionString</key> | |||
<string>1.0</string> | |||
<key>CFBundleVersion</key> | |||
<string>1.0</string> | |||
<key>LSRequiresIPhoneOS</key> | |||
<true/> | |||
<key>MinimumOSVersion</key> | |||
<string></string> | |||
<key>UIDeviceFamily</key> | |||
<array> | |||
<integer>1</integer> | |||
</array> | |||
<key>UILaunchStoryboardName</key> | |||
<string>LaunchScreen</string> | |||
<key>UIRequiredDeviceCapabilities</key> | |||
<array> | |||
<string>armv7</string> | |||
</array> | |||
<key>UISupportedInterfaceOrientations</key> | |||
<array> | |||
<string>UIInterfaceOrientationPortrait</string> | |||
<string>UIInterfaceOrientationLandscapeLeft</string> | |||
<string>UIInterfaceOrientationLandscapeRight</string> | |||
</array> | |||
</dict> | |||
</plist> |
@ -0,0 +1,15 @@ | |||
using UIKit; | |||
namespace eShopOnContainers.TestRunner.iOS | |||
{ | |||
public class Application | |||
{ | |||
// This is the main entry point of the application. | |||
static void Main(string[] args) | |||
{ | |||
// if you want to use a different Application Delegate class from "AppDelegate" | |||
// you can specify it here. | |||
UIApplication.Main(args, null, "AppDelegate"); | |||
} | |||
} | |||
} |
@ -0,0 +1,36 @@ | |||
using System.Reflection; | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.InteropServices; | |||
// General Information about an assembly is controlled through the following | |||
// set of attributes. Change these attribute values to modify the information | |||
// associated with an assembly. | |||
[assembly: AssemblyTitle("eShopOnContainers.TestRunner.iOS")] | |||
[assembly: AssemblyDescription("")] | |||
[assembly: AssemblyConfiguration("")] | |||
[assembly: AssemblyCompany("")] | |||
[assembly: AssemblyProduct("eShopOnContainers.TestRunner.iOS")] | |||
[assembly: AssemblyCopyright("Copyright © 2016")] | |||
[assembly: AssemblyTrademark("")] | |||
[assembly: AssemblyCulture("")] | |||
// Setting ComVisible to false makes the types in this assembly not visible | |||
// to COM components. If you need to access a type in this assembly from | |||
// COM, set the ComVisible attribute to true on that type. | |||
[assembly: ComVisible(false)] | |||
// The following GUID is for the ID of the typelib if this project is exposed to COM | |||
[assembly: Guid("b68c2b56-7581-46ae-b55d-d25ddfd3bfe3")] | |||
// Version information for an assembly consists of the following four values: | |||
// | |||
// Major Version | |||
// Minor Version | |||
// Build Number | |||
// Revision | |||
// | |||
// You can specify all the values or you can default the Build and Revision Numbers | |||
// by using the '*' as shown below: | |||
// [assembly: AssemblyVersion("1.0.*")] | |||
[assembly: AssemblyVersion("1.0.0.0")] | |||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,43 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> | |||
<dependencies> | |||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207" /> | |||
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1" /> | |||
</dependencies> | |||
<objects> | |||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" /> | |||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder" /> | |||
<view contentMode="scaleToFill" id="iN0-l3-epB"> | |||
<rect key="frame" x="0.0" y="0.0" width="480" height="480" /> | |||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" /> | |||
<subviews> | |||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2016 " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" | |||
minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> | |||
<rect key="frame" x="20" y="439" width="441" height="21" /> | |||
<fontDescription key="fontDescription" type="system" pointSize="17" /> | |||
<color key="textColor" cocoaTouchSystemColor="darkTextColor" /> | |||
<nil key="highlightedColor" /> | |||
</label> | |||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="eShopOnContainers.TestRunner.iOS" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" | |||
minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> | |||
<rect key="frame" x="20" y="140" width="441" height="43" /> | |||
<fontDescription key="fontDescription" type="boldSystem" pointSize="36" /> | |||
<color key="textColor" cocoaTouchSystemColor="darkTextColor" /> | |||
<nil key="highlightedColor" /> | |||
</label> | |||
</subviews> | |||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" /> | |||
<constraints> | |||
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC" /> | |||
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk" /> | |||
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l" /> | |||
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0" /> | |||
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9" /> | |||
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g" /> | |||
</constraints> | |||
<nil key="simulatedStatusBarMetrics" /> | |||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics" /> | |||
<point key="canvasLocation" x="548" y="455" /> | |||
</view> | |||
</objects> | |||
</document> |
@ -0,0 +1,19 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<configuration> | |||
<runtime> | |||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||
<dependentAssembly> | |||
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | |||
<bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" /> | |||
</dependentAssembly> | |||
<dependentAssembly> | |||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | |||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> | |||
</dependentAssembly> | |||
<dependentAssembly> | |||
<assemblyIdentity name="xunit.runner.utility.dotnet" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" /> | |||
<bindingRedirect oldVersion="0.0.0.0-2.2.0.3444" newVersion="2.2.0.3444" /> | |||
</dependentAssembly> | |||
</assemblyBinding> | |||
</runtime> | |||
</configuration> |
@ -0,0 +1,175 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<PropertyGroup> | |||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform> | |||
<ProjectGuid>{B68C2B56-7581-46AE-B55D-D25DDFD3BFE3}</ProjectGuid> | |||
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||
<OutputType>Exe</OutputType> | |||
<RootNamespace>eShopOnContainers.TestRunner.iOS</RootNamespace> | |||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> | |||
<AssemblyName>eShopOnContainers.TestRunner.iOS</AssemblyName> | |||
<NuGetPackageImportStamp> | |||
</NuGetPackageImportStamp> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' "> | |||
<DebugSymbols>true</DebugSymbols> | |||
<DebugType>full</DebugType> | |||
<Optimize>false</Optimize> | |||
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath> | |||
<DefineConstants>DEBUG</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<ConsolePause>false</ConsolePause> | |||
<MtouchArch>x86_64</MtouchArch> | |||
<MtouchLink>SdkOnly</MtouchLink> | |||
<MtouchDebug>True</MtouchDebug> | |||
<MtouchSdkVersion>10.1</MtouchSdkVersion> | |||
<MtouchProfiling>False</MtouchProfiling> | |||
<MtouchFastDev>False</MtouchFastDev> | |||
<MtouchUseLlvm>False</MtouchUseLlvm> | |||
<MtouchUseThumb>False</MtouchUseThumb> | |||
<MtouchEnableBitcode>False</MtouchEnableBitcode> | |||
<MtouchUseSGen>False</MtouchUseSGen> | |||
<MtouchUseRefCounting>False</MtouchUseRefCounting> | |||
<OptimizePNGs>True</OptimizePNGs> | |||
<MtouchTlsProvider>Default</MtouchTlsProvider> | |||
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler> | |||
<MtouchFloat32>False</MtouchFloat32> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' "> | |||
<DebugType>none</DebugType> | |||
<Optimize>true</Optimize> | |||
<OutputPath>bin\iPhoneSimulator\Release</OutputPath> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<MtouchLink>None</MtouchLink> | |||
<MtouchArch>x86_64</MtouchArch> | |||
<ConsolePause>false</ConsolePause> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' "> | |||
<DebugSymbols>true</DebugSymbols> | |||
<DebugType>full</DebugType> | |||
<Optimize>false</Optimize> | |||
<OutputPath>bin\iPhone\Debug</OutputPath> | |||
<DefineConstants>DEBUG</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<ConsolePause>false</ConsolePause> | |||
<MtouchArch>ARMv7, ARM64</MtouchArch> | |||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | |||
<CodesignKey>iPhone Developer</CodesignKey> | |||
<MtouchDebug>true</MtouchDebug> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' "> | |||
<DebugType>none</DebugType> | |||
<Optimize>true</Optimize> | |||
<OutputPath>bin\iPhone\Release</OutputPath> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | |||
<MtouchArch>ARMv7, ARM64</MtouchArch> | |||
<ConsolePause>false</ConsolePause> | |||
<CodesignKey>iPhone Developer</CodesignKey> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' "> | |||
<DebugType>none</DebugType> | |||
<Optimize>True</Optimize> | |||
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<ConsolePause>False</ConsolePause> | |||
<MtouchArch>ARMv7, ARM64</MtouchArch> | |||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | |||
<BuildIpa>True</BuildIpa> | |||
<CodesignProvision>Automatic:AdHoc</CodesignProvision> | |||
<CodesignKey>iPhone Distribution</CodesignKey> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' "> | |||
<DebugType>none</DebugType> | |||
<Optimize>True</Optimize> | |||
<OutputPath>bin\iPhone\AppStore</OutputPath> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
<ConsolePause>False</ConsolePause> | |||
<MtouchArch>ARMv7, ARM64</MtouchArch> | |||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | |||
<CodesignProvision>Automatic:AppStore</CodesignProvision> | |||
<CodesignKey>iPhone Distribution</CodesignKey> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Compile Include="Main.cs" /> | |||
<Compile Include="AppDelegate.cs" /> | |||
<None Include="app.config" /> | |||
<None Include="Info.plist" /> | |||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||
<InterfaceDefinition Include="Resources\LaunchScreen.xib" /> | |||
<None Include="packages.config" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Reference Include="System" /> | |||
<Reference Include="System.Xml" /> | |||
<Reference Include="System.Core" /> | |||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.166-pre4\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="Xamarin.iOS" /> | |||
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.abstractions.2.0.1\lib\netstandard1.0\xunit.abstractions.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.assert, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.assert.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.assert.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.core, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.core.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.execution.dotnet, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.execution.dotnet.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.runner.devices, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.runner.devices.2.1.0\lib\Xamarin.iOS\xunit.runner.devices.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.runner.utility.dotnet, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.runner.utility.2.2.0-beta4-build3444\lib\netstandard1.1\xunit.runner.utility.dotnet.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="AppDelegate.cs.txt" /> | |||
<Content Include="Entitlements.plist" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\eShopOnContainers.UnitTests\eShopOnContainers.UnitTests.csproj"> | |||
<Project>{f7b6a162-bc4d-4924-b16a-713f9b0344e7}</Project> | |||
<Name>eShopOnContainers.UnitTests</Name> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" /> | |||
<Import Project="..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" /> | |||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |||
<PropertyGroup> | |||
<ErrorText>Este proyecto hace referencia a los paquetes NuGet que faltan en este equipo. Use la restauración de paquetes NuGet para descargarlos. Para obtener más información, consulte http://go.microsoft.com/fwlink/?LinkID=322105. El archivo que falta es {0}.</ErrorText> | |||
</PropertyGroup> | |||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.3.166-pre4\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" /> | |||
<Error Condition="!Exists('..\..\packages\xunit.runner.devices.2.1.0\build\Xamarin.iOS\xunit.runner.devices.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.runner.devices.2.1.0\build\Xamarin.iOS\xunit.runner.devices.targets'))" /> | |||
</Target> | |||
<Import Project="..\..\packages\xunit.runner.devices.2.1.0\build\Xamarin.iOS\xunit.runner.devices.targets" Condition="Exists('..\..\packages\xunit.runner.devices.2.1.0\build\Xamarin.iOS\xunit.runner.devices.targets')" /> | |||
</Project> |
@ -0,0 +1,12 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<packages> | |||
<package id="Xamarin.Forms" version="2.3.3.166-pre4" targetFramework="xamarinios10" /> | |||
<package id="xunit" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
<package id="xunit.abstractions" version="2.0.1" targetFramework="xamarinios10" /> | |||
<package id="xunit.assert" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
<package id="xunit.core" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
<package id="xunit.extensibility.core" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
<package id="xunit.extensibility.execution" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
<package id="xunit.runner.devices" version="2.1.0" targetFramework="xamarinios10" /> | |||
<package id="xunit.runner.utility" version="2.2.0-beta4-build3444" targetFramework="xamarinios10" /> | |||
</packages> |
@ -0,0 +1,17 @@ | |||
using eShopOnContainers.Core.Services.Catalog; | |||
using System.Threading.Tasks; | |||
using Xunit; | |||
namespace eShopOnContainers.UnitTests | |||
{ | |||
public class CatalogServiceTests | |||
{ | |||
[Fact] | |||
public async Task GetFakeCatalogTest() | |||
{ | |||
var catalogMockService = new CatalogMockService(); | |||
var result = await catalogMockService.GetCatalogAsync(); | |||
Assert.NotEqual(0, result.Count); | |||
} | |||
} | |||
} |
@ -0,0 +1,27 @@ | |||
using System; | |||
using System.Threading.Tasks; | |||
using Xunit; | |||
namespace eShopOnContainers.UnitTests | |||
{ | |||
public class DummyTests | |||
{ | |||
[Fact] | |||
public void ThisShouldPass_Sync() | |||
{ | |||
Assert.True(true); | |||
} | |||
[Fact] | |||
public async Task ThisShouldPass_Async() | |||
{ | |||
await Task.Run(() => { Assert.True(true); }); | |||
} | |||
[Fact] | |||
public async Task ThisShouldFail_Async() | |||
{ | |||
await Task.Run(() => { throw new Exception("Oops!"); }); | |||
} | |||
} | |||
} |
@ -0,0 +1,17 @@ | |||
using eShopOnContainers.Core.Services.Orders; | |||
using System.Threading.Tasks; | |||
using Xunit; | |||
namespace eShopOnContainers.UnitTests | |||
{ | |||
public class OrdersServiceTests | |||
{ | |||
[Fact] | |||
public async Task GetFakeOrdersTest() | |||
{ | |||
var ordersMockService = new OrdersMockService(); | |||
var result = await ordersMockService.GetOrdersAsync(); | |||
Assert.NotEqual(0, result.Count); | |||
} | |||
} | |||
} |
@ -0,0 +1,30 @@ | |||
using System.Resources; | |||
using System.Reflection; | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.InteropServices; | |||
// La información general de un ensamblado se controla mediante el siguiente | |||
// conjunto de atributos. Cambie estos valores de atributo para modificar la información | |||
// asociada con un ensamblado. | |||
[assembly: AssemblyTitle("eShopOnContainers.UnitTests")] | |||
[assembly: AssemblyDescription("")] | |||
[assembly: AssemblyConfiguration("")] | |||
[assembly: AssemblyCompany("")] | |||
[assembly: AssemblyProduct("eShopOnContainers.UnitTests")] | |||
[assembly: AssemblyCopyright("Copyright © 2016")] | |||
[assembly: AssemblyTrademark("")] | |||
[assembly: AssemblyCulture("")] | |||
[assembly: NeutralResourcesLanguage("es")] | |||
// La información de versión de un ensamblado consta de los cuatro valores siguientes: | |||
// | |||
// Versión principal | |||
// Versión secundaria | |||
// Número de compilación | |||
// Revisión | |||
// | |||
// Puede especificar todos los valores o usar los valores predeterminados de número de compilación y de revisión | |||
// mediante el carácter '*', como se muestra a continuación: | |||
// [assembly: AssemblyVersion("1.0.*")] | |||
[assembly: AssemblyVersion("1.0.0.0")] | |||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,77 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||
<PropertyGroup> | |||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||
<ProjectGuid>{F7B6A162-BC4D-4924-B16A-713F9B0344E7}</ProjectGuid> | |||
<OutputType>Library</OutputType> | |||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||
<RootNamespace>eShopOnContainers.UnitTests</RootNamespace> | |||
<AssemblyName>eShopOnContainers.UnitTests</AssemblyName> | |||
<DefaultLanguage>es-ES</DefaultLanguage> | |||
<FileAlignment>512</FileAlignment> | |||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||
<TargetFrameworkProfile>Profile44</TargetFrameworkProfile> | |||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||
<DebugSymbols>true</DebugSymbols> | |||
<DebugType>full</DebugType> | |||
<Optimize>false</Optimize> | |||
<OutputPath>bin\Debug\</OutputPath> | |||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||
<DebugType>pdbonly</DebugType> | |||
<Optimize>true</Optimize> | |||
<OutputPath>bin\Release\</OutputPath> | |||
<DefineConstants>TRACE</DefineConstants> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Compile Include="CatalogServiceTests.cs" /> | |||
<Compile Include="DummyTests.cs" /> | |||
<Compile Include="OrdersServiceTests.cs" /> | |||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.abstractions.2.0.1\lib\netstandard1.0\xunit.abstractions.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.assert, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.assert.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.assert.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.core, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.core.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
<Reference Include="xunit.execution.dotnet, Version=2.2.0.3444, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0-beta4-build3444\lib\netstandard1.0\xunit.execution.dotnet.dll</HintPath> | |||
<Private>True</Private> | |||
</Reference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<None Include="packages.config" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\eShopOnContainers.Core\eShopOnContainers.Core.csproj"> | |||
<Project>{65116d1c-145b-4693-abda-f0fb6f425191}</Project> | |||
<Name>eShopOnContainers.Core</Name> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | |||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||
Other similar extension points exist, see Microsoft.Common.targets. | |||
<Target Name="BeforeBuild"> | |||
</Target> | |||
<Target Name="AfterBuild"> | |||
</Target> | |||
--> | |||
</Project> |
@ -0,0 +1,10 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<packages> | |||
<package id="xunit" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.abstractions" version="2.0.1" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.assert" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.core" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.extensibility.core" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.extensibility.execution" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" /> | |||
<package id="xunit.runner.console" version="2.2.0-beta4-build3444" targetFramework="portable46-net451+win81" developmentDependency="true" /> | |||
</packages> |