forked from xamarin/Xamarin.Forms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TPV Initial Project Setup (xamarin#9418)
* TPV Initial Setup * Update Xamarin.Forms.ControlGallery.WindowsUniversal/Xamarin.Forms.ControlGallery.WindowsUniversal.csproj * - project fixes * - partial * code cleanup * - nuspec updates * - uitest fixes for mac * - project fixes * netcore app tests * - tests * mac fixes * - yaml search filter * - yaml * - yaml * - pane priority fixes * - tall and wide mode config tests * - add files back in * - spacing fixes
- Loading branch information
Showing
31 changed files
with
2,016 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>Xamarin.Forms.DualScreen</id> | ||
<version>$version$</version> | ||
<authors>Microsoft</authors> | ||
<owners>microsoft xamarin</owners> | ||
<tags>xamarin forms twopaneview DualScreen xamarinforms xamarinformsdualscreen xamarin.forms.dualscreen</tags> | ||
<license type="expression">MIT</license> | ||
<iconUrl>https://raw.githubusercontent.com/xamarin/Xamarin.Forms/master/Assets/xamarin_128x128.png</iconUrl> | ||
<projectUrl>http://xamarin.com/forms</projectUrl> | ||
<repository type="git" url="https://github.com/xamarin/xamarin.forms"/> | ||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
<description>DualScreen support for Xamarin.Forms</description> | ||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | ||
<dependencies> | ||
<group> | ||
<dependency id="Xamarin.Forms" version="$version$"/> | ||
</group> | ||
<group targetFramework="MonoAndroid90"> | ||
<dependency id="Xamarin.DuoSdk" version="0.0.3.2" /> | ||
</group> | ||
<group targetFramework="MonoAndroid10.0"> | ||
<dependency id="Xamarin.DuoSdk" version="0.0.3.2" /> | ||
</group> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
|
||
<!--netstandard 1.0--> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard1.0\Xamarin.Forms.DualScreen.dll" target="lib\netstandard1.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard1.0\Xamarin.Forms.DualScreen.*pdb" target="lib\netstandard1.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard1.0\Xamarin.Forms.DualScreen.*mdb" target="lib\netstandard1.0" /> | ||
|
||
<!--netstandard 2.0 --> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard2.0\Xamarin.Forms.DualScreen.dll" target="lib\netstandard2.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard2.0\Xamarin.Forms.DualScreen.*pdb" target="lib\netstandard2.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\netstandard2.0\Xamarin.Forms.DualScreen.*mdb" target="lib\netstandard2.0" /> | ||
|
||
<!--Android 90--> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid90\Xamarin.Forms.DualScreen.dll" target="lib\MonoAndroid90" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid90\Xamarin.Forms.DualScreen.*pdb" target="lib\MonoAndroid90" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid90\Xamarin.Forms.DualScreen.*mdb" target="lib\MonoAndroid90" /> | ||
|
||
<!--Android 10.0--> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid10.0\Xamarin.Forms.DualScreen.dll" target="lib\MonoAndroid10.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid10.0\Xamarin.Forms.DualScreen.*pdb" target="lib\MonoAndroid10.0" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\monoandroid10.0\Xamarin.Forms.DualScreen.*mdb" target="lib\MonoAndroid10.0" /> | ||
|
||
<!--UAP--> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\uap10.0.16299\Xamarin.Forms.DualScreen.dll" target="lib\uap10.0.16299" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\uap10.0.16299\Xamarin.Forms.DualScreen.*pdb" target="lib\uap10.0.16299" /> | ||
<file src="..\Xamarin.Forms.DualScreen\bin\$Configuration$\uap10.0.16299\Xamarin.Forms.DualScreen.*mdb" target="lib\uap10.0.16299" /> | ||
|
||
</files> | ||
</package> |
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
Binary file not shown.
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
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,30 @@ | ||
using System; | ||
using System.Globalization; | ||
using System.Threading; | ||
|
||
using NUnit.Framework; | ||
|
||
namespace Xamarin.Forms.DualScreen.UnitTests | ||
{ | ||
public class BaseTestFixture | ||
{ | ||
CultureInfo _defaultCulture; | ||
CultureInfo _defaultUICulture; | ||
|
||
[SetUp] | ||
public virtual void Setup() | ||
{ | ||
_defaultCulture = System.Threading.Thread.CurrentThread.CurrentCulture; | ||
_defaultUICulture = System.Threading.Thread.CurrentThread.CurrentUICulture; | ||
Device.PlatformServices = new MockPlatformServices(); | ||
} | ||
|
||
[TearDown] | ||
public virtual void TearDown() | ||
{ | ||
Device.PlatformServices = null; | ||
System.Threading.Thread.CurrentThread.CurrentCulture = _defaultCulture; | ||
System.Threading.Thread.CurrentThread.CurrentUICulture = _defaultUICulture; | ||
} | ||
} | ||
} |
Oops, something went wrong.