Skip to content

Commit dbc3141

Browse files
committed
Special Char Unit Test [WIP]
1 parent 3b0510f commit dbc3141

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

build-tools/xaprepare/xaprepare/ConfigAndData/Configurables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Xamarin.Android.Prepare
1515
//
1616
partial class Configurables
1717
{
18-
const string BinutilsVersion = "2.37-XA.1";
18+
const string BinutilsVersion = "2.35.2-XA.1";
1919

2020
const string MicrosoftOpenJDK11Version = "11.0.10";
2121
const string MicrosoftOpenJDK11Release = "9.1";

tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,26 @@ public void MonoSymbolicateAndroidStackTrace ()
178178
}) ;
179179
}
180180

181+
[Test]
182+
[Category ("UsesDevice"), Category ("SmokeTests")]
183+
public void SmokeTestBuildAndRunWithSpecialCharacters ()
184+
{
185+
AssertHasDevices ();
186+
var testName = "テスト";
187+
188+
var rootPath = Path.Combine (Root, "temp", TestName);
189+
var proj = new XamarinFormsAndroidApplicationProject () {
190+
ProjectName = testName,
191+
IsRelease = true,
192+
};
193+
proj.SetAndroidSupportedAbis ("armeabi-v7a", "x86");
194+
proj.SetDefaultTargetDevice ();
195+
using (var builder = CreateApkBuilder (Path.Combine (rootPath, proj.ProjectName))){
196+
Assert.IsTrue (builder.Install (proj), "Install should have succeeded.");
197+
Assert.True (builder.RunTarget (proj, "_Run", doNotCleanupOnUpdate: true), "Project should have run.");
198+
}
199+
}
200+
181201
[Test, Category ("MonoSymbolicate")]
182202
public void MonoSymbolicateNetStandardStackTrace ()
183203
{

0 commit comments

Comments
 (0)