Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a444e8a
Introduce a package naming helper
grendello Dec 8, 2025
55bb8b9
InstallAndRunTests.DotNetRun works
grendello Dec 8, 2025
aecb0e4
InstallAndRunTests.ActivityAliasRuns works
grendello Dec 8, 2025
fac02bf
InstallAndRunTests.NativeAssemblyCacheWithSatelliteAssemblies updated
grendello Dec 8, 2025
521bf0d
InstallAndRunTests.GlobalLayoutEvent_ShouldRegisterAndFire_OnActivity…
grendello Dec 8, 2025
53e79fa
InstallAndRunTests.SubscribeToAppDomainUnhandledException updated
grendello Dec 8, 2025
62b1ddf
InstallAndRunTests.SmokeTestBuildAndRunWithSpecialCharacters updated,…
grendello Dec 8, 2025
b837f80
InstallAndRunTests.CustomLinkDescriptionPreserve updated, broken on N…
grendello Dec 8, 2025
161c584
InstallAndRunTests.JsonDeserializationCreatesJavaHandle works
grendello Dec 8, 2025
88081d3
InstallAndRunTests.RunWithInterpreterEnabled updated
grendello Dec 8, 2025
dede04d
InstallAndRunTests.SingleProject_ApplicationId updated
grendello Dec 8, 2025
f952aca
InstallAndRunTests.AppWithStyleableUsageRuns updated
grendello Dec 9, 2025
089d9a7
InstallAndRunTests.CheckXamarinFormsAppDeploysAndAButtonWorks broken …
grendello Dec 9, 2025
fe3cfe3
InstallAndRunTests.SkiaSharpCanvasBasedAppRuns works
grendello Dec 9, 2025
25fbe71
InstallAndRunTests.CheckResouceIsOverridden works
grendello Dec 9, 2025
6e2ade0
InstallAndRunTests.DotNetInstallAndRunPreviousSdk updated
grendello Dec 9, 2025
c28325c
InstallAndRunTests.DotNetInstallAndRunMinorAPILevels updated
grendello Dec 9, 2025
99c7a53
InstallAndRunTests.DeployToDevice works locally
grendello Dec 10, 2025
ecd702b
InstallAndRunTests.TypeAndMemberRemapping broken on NativeAOT
grendello Dec 10, 2025
fe49508
InstallAndRunTests.SupportDesugaringStaticInterfaceMethods works
grendello Dec 10, 2025
9f42485
InstallAndRunTests.FastDeployEnvironmentFiles updated
grendello Dec 10, 2025
5d32ab7
InstallAndRunTests.FixLegacyResourceDesignerStep updated
grendello Dec 10, 2025
e1904a2
InstallAndRunTests.MicrosoftIntune updated
grendello Dec 10, 2025
ccc3472
InstallAndRunTests.GradleFBProj works
grendello Dec 10, 2025
f728327
InstallAndRunTests.AppStartsWithManagedMarshalMethodsLookupEnabled works
grendello Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Runtime.CompilerServices;
using System.Text;
using Xamarin.Android.Tasks;
using Xamarin.ProjectTools;

namespace Xamarin.Android.Build.Tests;

class PackageUtils
{
/// <summary>
/// Constructs Android package name parameter for the <see cref="XamarinAndroidApplicationProject" /> which includes
/// the runtime used to build and run the application. A unique per-runtime package name is necessary so that elements
/// of different runtimes don't mix when running the same test for several of them.
/// </summary>
public static string MakePackageName (AndroidRuntime runtime, [CallerMemberName] string packageName = "")
{
if (String.IsNullOrEmpty (packageName)) {
throw new ArgumentException ("Must not be null or empty", nameof (packageName));
}

var sb = new StringBuilder (packageName);
sb.Append ('_');
sb.Append (runtime.ToString ().ToLowerInvariant ());

return sb.ToString ();
}
}
Loading
Loading