-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CSharpMath.Ios.Tests * Create Test CSharpMath.Ios.yml * Update Test CSharpMath.Ios.yml * Update Test CSharpMath.Ios.yml * Update Test CSharpMath.Ios.yml * Run app? * Update Test CSharpMath.Ios.yml * Update Test CSharpMath.Ios.yml * Visual Studio automatic changes * Fix AngouriVersion * Try correct UDID * xUnit > NUnit * Imgur? * Screenshots instead of Imgur * Updates from https://github.community/t/unable-to-find-application-named-simulator/118331: Thanks @Yanjingzhu! * Whoops wrong name * killall does not accept paths * Ignore killall errors * Simplify waiting for PID logic * Pass tests * wait * If CI Terminate * Simplify newest_related_process * No debugger? * Limit pgrep to LAUNCH_SHELL_PID * Quote variable * Wait for process correctly * Enable debugger again * Write Debug.WriteLine to StdErr * Fix * Move it even before * No debugger * Launch!! * Remove DEBUGGER_ENABLED * Simplify more! * Go fail some tests * Update Test CSharpMath.Ios.yml * Delete wrong comments * Unquote? * Quote correctly * pbcopy-pbpaste * Back to using variables * Delete Test CSharpMath.Ios.yml * Update Test all projects.yml * Fix names * Upload artifacts * Pass tests * Update path * Fix image saving * Run even when failed * Run even when previous step failed * Exit last * Clarify [FAIL] * What about no star * Ahhh fine * Simplify project file * Fix * -> / * Fix * -> / * Fix compile items * Add project to graph * Reference CSharpMath
- Loading branch information
1 parent
46e7a7a
commit 804579d
Showing
15 changed files
with
516 additions
and
15 deletions.
There are no files selected for viewing
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
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 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Reflection; | ||
using Foundation; | ||
using UIKit; | ||
|
||
using Xunit.Runner; | ||
using Xunit.Sdk; | ||
|
||
|
||
namespace CSharpMath.Ios.Tests { | ||
// 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); | ||
|
||
// 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 | ||
#if CI | ||
TerminateAfterExecution = true; | ||
#endif | ||
return base.FinishedLaunching(app, options); | ||
} | ||
} | ||
} |
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,151 @@ | ||
<?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>{30C91103-12E5-47AE-85FE-41B0218A8997}</ProjectGuid> | ||
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>CSharpMath.Ios.Tests</RootNamespace> | ||
<AssemblyName>CSharpMath.Ios.Tests</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;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
<MtouchDebug>true</MtouchDebug> | ||
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> | ||
<MtouchFastDev>true</MtouchFastDev> | ||
<IOSDebuggerPort>23322</IOSDebuggerPort> | ||
<MtouchLink>None</MtouchLink> | ||
<MtouchArch>x86_64</MtouchArch> | ||
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler> | ||
<DeviceSpecificBuild>false</DeviceSpecificBuild> | ||
<MtouchVerbosity> | ||
</MtouchVerbosity> | ||
<NoWarn> | ||
</NoWarn> | ||
<LangVersion>Default</LangVersion> | ||
<Nullable> | ||
</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\iPhone\Release</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
<MtouchUseLlvm>true</MtouchUseLlvm> | ||
<MtouchFloat32>true</MtouchFloat32> | ||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | ||
<MtouchLink>SdkOnly</MtouchLink> | ||
<MtouchArch>ARM64</MtouchArch> | ||
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler> | ||
<MtouchVerbosity> | ||
</MtouchVerbosity> | ||
<NoWarn> | ||
</NoWarn> | ||
<LangVersion>Default</LangVersion> | ||
<Nullable> | ||
</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\iPhoneSimulator\Release</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> | ||
<MtouchLink>None</MtouchLink> | ||
<MtouchArch>x86_64</MtouchArch> | ||
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler> | ||
<MtouchVerbosity> | ||
</MtouchVerbosity> | ||
<NoWarn> | ||
</NoWarn> | ||
<LangVersion>Default</LangVersion> | ||
<Nullable> | ||
</Nullable> | ||
</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> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
<DeviceSpecificBuild>true</DeviceSpecificBuild> | ||
<MtouchDebug>true</MtouchDebug> | ||
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> | ||
<MtouchFastDev>true</MtouchFastDev> | ||
<MtouchFloat32>true</MtouchFloat32> | ||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements> | ||
<IOSDebuggerPort>41866</IOSDebuggerPort> | ||
<MtouchLink>SdkOnly</MtouchLink> | ||
<MtouchArch>ARM64</MtouchArch> | ||
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler> | ||
<MtouchVerbosity> | ||
</MtouchVerbosity> | ||
<NoWarn> | ||
</NoWarn> | ||
<LangVersion>Default</LangVersion> | ||
<Nullable> | ||
</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="!$([System.String]::IsNullOrEmpty($(CI))) And $(CI)"> | ||
<DefineConstants>$(DefineConstants);CI</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="Xamarin.iOS" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.devices" Version="2.5.25" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<InterfaceDefinition Include="LaunchScreen.storyboard" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Info.plist" /> | ||
<None Include="Entitlements.plist" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Main.cs" /> | ||
<Compile Include="AppDelegate.cs" /> | ||
<Compile Include="Tests.cs" /> | ||
<Compile Include="..\CSharpMath.Rendering.Tests\TestRenderingMathData.cs"> | ||
<Link>TestRenderingMathData.cs</Link> | ||
</Compile> | ||
<Compile Include="..\CSharpMath.Rendering.Tests\TestRenderingSharedData.cs"> | ||
<Link>TestRenderingSharedData.cs</Link> | ||
</Compile> | ||
<EmbeddedResource Include="..\CSharpMath.Rendering.Tests\MathDisplay\*" Exclude="..\CSharpMath.Rendering.Tests\MathDisplay\*.*.*" Link="MathDisplay\%(RecursiveDir)%(Filename)%(Extension)" /> | ||
<EmbeddedResource Include="..\CSharpMath.Rendering.Tests\MathInline\*" Exclude="..\CSharpMath.Rendering.Tests\MathInline\*.*.*" Link="MathInline\%(RecursiveDir)%(Filename)%(Extension)" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\CSharpMath\CSharpMath.csproj"> | ||
<Project>{5157367B-F03E-4ACB-83A1-0DE414A3BFCA}</Project> | ||
<Name>CSharpMath</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\CSharpMath.Ios\CSharpMath.Ios.csproj"> | ||
<Project>{11D4E6C7-C8E2-449C-A1E7-18BBBCE4E6F3}</Project> | ||
<Name>CSharpMath.Ios</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" /> | ||
</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,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> |
Oops, something went wrong.