Add platform tests
This commit is contained in:
parent
508af4f69b
commit
2e5241f678
|
@ -0,0 +1,29 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2012
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iOSTests", "iOSTests\iOSTests.csproj", "{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Debug|iPhoneSimulator = Debug|iPhoneSimulator
|
||||||
|
Release|iPhone = Release|iPhone
|
||||||
|
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||||
|
Debug|iPhone = Debug|iPhone
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|Any CPU.ActiveCfg = Release|iPhone
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|Any CPU.Build.0 = Release|iPhone
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|iPhone.Build.0 = Release|iPhone
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||||
|
{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -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,36 @@
|
||||||
|
<?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>CFBundleName</key>
|
||||||
|
<string>Ooui Test</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.kruegersystems.ooui-test</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
<true />
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>10.3</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UILaunchStoryboardName</key>
|
||||||
|
<string>LaunchScreen</string>
|
||||||
|
<key>NSAppTransportSecurity</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSAllowsArbitraryLoads</key>
|
||||||
|
<true />
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
|
||||||
|
<dependencies>
|
||||||
|
<deployment identifier="iOS" />
|
||||||
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530" />
|
||||||
|
</dependencies>
|
||||||
|
<scenes>
|
||||||
|
<!--View Controller-->
|
||||||
|
<scene sceneID="EHf-IW-A2E">
|
||||||
|
<objects>
|
||||||
|
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
||||||
|
<layoutGuides>
|
||||||
|
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb" />
|
||||||
|
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok" />
|
||||||
|
</layoutGuides>
|
||||||
|
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="600" height="600" />
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" />
|
||||||
|
</view>
|
||||||
|
</viewController>
|
||||||
|
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder" />
|
||||||
|
</objects>
|
||||||
|
<point key="canvasLocation" x="53" y="375" />
|
||||||
|
</scene>
|
||||||
|
</scenes>
|
||||||
|
</document>
|
|
@ -0,0 +1,20 @@
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
using Foundation;
|
||||||
|
using UIKit;
|
||||||
|
|
||||||
|
namespace iOSTests
|
||||||
|
{
|
||||||
|
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 "UnitTestAppDelegate"
|
||||||
|
// you can specify it here.
|
||||||
|
UIApplication.Main (args, null, "UnitTestAppDelegate");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System;
|
||||||
|
using NUnit.Framework;
|
||||||
|
using Ooui;
|
||||||
|
|
||||||
|
namespace iOSTests
|
||||||
|
{
|
||||||
|
[TestFixture]
|
||||||
|
public class PresentTests
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void Present ()
|
||||||
|
{
|
||||||
|
var b = new Button ();
|
||||||
|
UI.Publish ("/b", b);
|
||||||
|
UI.Present ("/b");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
using Foundation;
|
||||||
|
using UIKit;
|
||||||
|
using MonoTouch.NUnit.UI;
|
||||||
|
|
||||||
|
namespace iOSTests
|
||||||
|
{
|
||||||
|
// 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 ("UnitTestAppDelegate")]
|
||||||
|
public partial class UnitTestAppDelegate : UIApplicationDelegate
|
||||||
|
{
|
||||||
|
// class-level declarations
|
||||||
|
UIWindow window;
|
||||||
|
TouchRunner runner;
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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)
|
||||||
|
{
|
||||||
|
// create a new window instance based on the screen size
|
||||||
|
window = new UIWindow (UIScreen.MainScreen.Bounds);
|
||||||
|
runner = new TouchRunner (window);
|
||||||
|
|
||||||
|
// register every tests included in the main application/assembly
|
||||||
|
runner.Add (System.Reflection.Assembly.GetExecutingAssembly ());
|
||||||
|
|
||||||
|
window.RootViewController = new UINavigationController (runner.GetViewController ());
|
||||||
|
|
||||||
|
// make the window visible
|
||||||
|
window.MakeKeyAndVisible ();
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,206 @@
|
||||||
|
<?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)' == '' ">iPhoneSimulator</Platform>
|
||||||
|
<ProjectGuid>{1379E3B3-99A7-4B46-BED6-1338A94EBBD4}</ProjectGuid>
|
||||||
|
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>iOSTests</RootNamespace>
|
||||||
|
<AssemblyName>iOSTests</AssemblyName>
|
||||||
|
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;NUNIT</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
|
<DeviceSpecificBuild>true</DeviceSpecificBuild>
|
||||||
|
<MtouchDebug>true</MtouchDebug>
|
||||||
|
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
|
||||||
|
<MtouchFastDev>true</MtouchFastDev>
|
||||||
|
<MtouchProfiling>true</MtouchProfiling>
|
||||||
|
<IOSDebuggerPort>32958</IOSDebuggerPort>
|
||||||
|
<MtouchLink>None</MtouchLink>
|
||||||
|
<MtouchArch>i386, x86_64</MtouchArch>
|
||||||
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
||||||
|
<DebugType></DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\iPhone\Release</OutputPath>
|
||||||
|
<DefineConstants>NUNIT</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
|
<MtouchFloat32>true</MtouchFloat32>
|
||||||
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
|
<MtouchLink>SdkOnly</MtouchLink>
|
||||||
|
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
||||||
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
||||||
|
<DebugType></DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
|
||||||
|
<DefineConstants>NUNIT</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
|
<DeviceSpecificBuild>true</DeviceSpecificBuild>
|
||||||
|
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
|
||||||
|
<MtouchLink>None</MtouchLink>
|
||||||
|
<MtouchArch>i386, x86_64</MtouchArch>
|
||||||
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\iPhone\Debug</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;NUNIT</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
|
<DeviceSpecificBuild>true</DeviceSpecificBuild>
|
||||||
|
<MtouchDebug>true</MtouchDebug>
|
||||||
|
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
|
||||||
|
<MtouchFastDev>true</MtouchFastDev>
|
||||||
|
<MtouchProfiling>true</MtouchProfiling>
|
||||||
|
<MtouchFloat32>true</MtouchFloat32>
|
||||||
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
|
<IOSDebuggerPort>58236</IOSDebuggerPort>
|
||||||
|
<MtouchLink>SdkOnly</MtouchLink>
|
||||||
|
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
||||||
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="Xamarin.iOS" />
|
||||||
|
<Reference Include="MonoTouch.NUnitLite" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
<Reference Include="Newtonsoft.Json">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\netstandard1.3\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<InterfaceDefinition Include="LaunchScreen.storyboard" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Info.plist" />
|
||||||
|
<None Include="Entitlements.plist" />
|
||||||
|
<None Include="..\..\Ooui\Client.js">
|
||||||
|
<Link>Ooui\Client.js</Link>
|
||||||
|
</None>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Main.cs" />
|
||||||
|
<Compile Include="UnitTestAppDelegate.cs" />
|
||||||
|
<Compile Include="..\..\Ooui\Button.cs">
|
||||||
|
<Link>Ooui\Button.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Canvas.cs">
|
||||||
|
<Link>Ooui\Canvas.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\CanvasRenderingContext2D.cs">
|
||||||
|
<Link>Ooui\CanvasRenderingContext2D.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Color.cs">
|
||||||
|
<Link>Ooui\Color.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Div.cs">
|
||||||
|
<Link>Ooui\Div.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Element.cs">
|
||||||
|
<Link>Ooui\Element.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\EventTarget.cs">
|
||||||
|
<Link>Ooui\EventTarget.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Form.cs">
|
||||||
|
<Link>Ooui\Form.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\FormControl.cs">
|
||||||
|
<Link>Ooui\FormControl.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Heading.cs">
|
||||||
|
<Link>Ooui\Heading.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Image.cs">
|
||||||
|
<Link>Ooui\Image.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Input.cs">
|
||||||
|
<Link>Ooui\Input.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Label.cs">
|
||||||
|
<Link>Ooui\Label.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\List.cs">
|
||||||
|
<Link>Ooui\List.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\ListItem.cs">
|
||||||
|
<Link>Ooui\ListItem.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Message.cs">
|
||||||
|
<Link>Ooui\Message.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Node.cs">
|
||||||
|
<Link>Ooui\Node.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Paragraph.cs">
|
||||||
|
<Link>Ooui\Paragraph.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Select.cs">
|
||||||
|
<Link>Ooui\Select.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Span.cs">
|
||||||
|
<Link>Ooui\Span.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\Style.cs">
|
||||||
|
<Link>Ooui\Style.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\TextArea.cs">
|
||||||
|
<Link>Ooui\TextArea.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\TextNode.cs">
|
||||||
|
<Link>Ooui\TextNode.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Ooui\UI.cs">
|
||||||
|
<Link>Ooui\UI.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PresentTests.cs" />
|
||||||
|
<Compile Include="..\..\Tests\ButtonTests.cs">
|
||||||
|
<Link>Tests\ButtonTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\CanvasTests.cs">
|
||||||
|
<Link>Tests\CanvasTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\EventTargetTests.cs">
|
||||||
|
<Link>Tests\EventTargetTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\MessageSendTests.cs">
|
||||||
|
<Link>Tests\MessageSendTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\NodeTests.cs">
|
||||||
|
<Link>Tests\NodeTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\StyleTests.cs">
|
||||||
|
<Link>Tests\StyleTests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="..\..\Tests\UITests.cs">
|
||||||
|
<Link>Tests\UITests.cs</Link>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||||
|
</Project>
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Microsoft.CSharp" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="NETStandard.Library" version="1.6.1" targetFramework="xamarinios10" />
|
||||||
|
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.AppContext" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Collections" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.ComponentModel.TypeConverter" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Console" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Globalization" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.IO" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.IO.Compression" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Linq" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Net.Http" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Net.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Net.Sockets" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.ObjectModel" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Reflection" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.Serialization.Formatters" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Runtime.Serialization.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Text.Encoding" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Threading" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Threading.Timer" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
<package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="xamarinios10" />
|
||||||
|
</packages>
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if NUNIT
|
||||||
|
using NUnit.Framework;
|
||||||
|
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
|
||||||
|
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
|
||||||
|
#else
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
#endif
|
||||||
|
|
||||||
using Ooui;
|
using Ooui;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue