diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/BrowserStackTest.cs b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/BrowserStackTest.cs
index a2802cbfab..84377d65d1 100644
--- a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/BrowserStackTest.cs
+++ b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/BrowserStackTest.cs
@@ -29,20 +29,6 @@ namespace Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android
driver = new AndroidDriver(new Uri("http://127.0.0.1:4723/wd/hub"), androidOptions);
}
- ///
- /// Sends a log to BrowserStack that is visible in the text logs and labeled as ANNOTATION.
- ///
- /// Log text to send.
- /// Log level -- choose between info, debug, warning, and error
- public void browserStackLog(String text, String logLevel = "info")
- {
- String jsonToSend = String.Format(
- "browserstack_executor: {\"action\": \"annotate\", \"arguments\": {\"data\": {0}, \"level\": {1}}}",
- JsonConvert.ToString(text), JsonConvert.ToString(logLevel));
-
- ((IJavaScriptExecutor)driver).ExecuteScript(jsonToSend);
- }
-
///
/// Passes the correct test status to BrowserStack and ensures the driver quits.
///
diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/RunAllTest.cs b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/RunAllTest.cs
index e4a546fdda..5db3dc9957 100644
--- a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/RunAllTest.cs
+++ b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android/RunAllTest.cs
@@ -80,7 +80,7 @@ namespace Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android
public async Task ClickRunAllTest()
{
// XAML for the main page:
- // https://github.com/mattleibow/DeviceRunners/blob/main/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml
+ // https://github.com/mattleibow/DeviceRunners/blob/cba7644e07b305ba64dc930b01c3eee55ef2b93d/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml
AppiumElement runAllButton = FindAppiumElementThenClick("//android.widget.Button", "Run All");
while (!runAllButton.Enabled)
@@ -93,7 +93,6 @@ namespace Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android
if (numFailed == 0)
{
- Assert.Pass();
return;
}
diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj
index a825295d17..346f88e856 100644
--- a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj
+++ b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj
@@ -1,132 +1,136 @@
-
- $(ProjectDir)..\..\..
-
+
+ $(ProjectDir)..\..\..
+
-
+
-
-
- net8.0-android;net8.0-ios;net8.0-maccatalyst
- $(TargetFrameworks);net8.0-windows10.0.19041.0
+
+
+
+
-
-
+ net8.0-android
+ $(TargetFrameworks);net8.0-windows10.0.19041.0
- Microsoft.ML.OnnxRuntime.Tests.MAUI
- true
- true
- enable
- enable
- true
-
- 8002
+
+
-
- $(DefineConstants);INCLUDE_FAILING_TESTS
- $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL
- $(DefineConstants);MODE_XHARNESS
+ Exe
+ Microsoft.ML.OnnxRuntime.Tests.MAUI
+ true
+ true
+ enable
+ enable
+ true
+
+ 8002
-
- Microsoft.ML.OnnxRuntime.Tests.MAUI
+
+ $(DefineConstants);INCLUDE_FAILING_TESTS
+ $(DefineConstants);MODE_NON_INTERACTIVE_VISUAL
+ $(DefineConstants);MODE_XHARNESS
-
- ORT.CSharp.Tests.MAUI
+
+ Microsoft.ML.OnnxRuntime.Tests.MAUI
-
- 1.0
- 1
+
+ ORT.CSharp.Tests.MAUI
- 15.0
- 13.1
- 30.0
- 10.0.17763.0
- 10.0.17763.0
+
+ 1.0
+ 1
- true
- ..\..\OnnxRuntime.snk
- true
-
+ 15.0
+ 13.1
+ 30.0
+ 10.0.17763.0
+ 10.0.17763.0
-
-
-
+ true
+ ..\..\OnnxRuntime.snk
+
-
-
+
+
+
-
-
-
+
+
-
-
+
+
+
-
-
-
+
+
-
-
-
- InferenceTest.cs
-
-
- OrtIoBindingAllocationTest.cs
-
-
- TensorTests.cs
-
-
+
+
+
-
-
-
-
-
+
+
+
+ InferenceTest.cs
+
+
+ OrtIoBindingAllocationTest.cs
+
+
+ TensorTests.cs
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- <_VisualStudioTestRunnerFiles
- Include="@(PackagingOutputs)"
- Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" />
-
-
-
+
+
+
+
-
- false
- en
-
+
+
+ <_VisualStudioTestRunnerFiles Include="@(PackagingOutputs)" Condition="$([System.String]::Copy('%(PackagingOutputs.FullPath)').Contains('xunit.runner.visualstudio'))" />
+
+
+
+
+
+
+
+
+
+ false
+ en
+
+
+
+ apk
+