Skip to content

Commit

Permalink
Test now run (but fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell committed Sep 19, 2024
1 parent fd5d4a3 commit de28ea8
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 138 deletions.
14 changes: 0 additions & 14 deletions test/Sentry.Maui.Device.TestApp/App.xaml

This file was deleted.

11 changes: 0 additions & 11 deletions test/Sentry.Maui.Device.TestApp/App.xaml.cs

This file was deleted.

15 changes: 0 additions & 15 deletions test/Sentry.Maui.Device.TestApp/AppShell.xaml

This file was deleted.

9 changes: 0 additions & 9 deletions test/Sentry.Maui.Device.TestApp/AppShell.xaml.cs

This file was deleted.

36 changes: 0 additions & 36 deletions test/Sentry.Maui.Device.TestApp/MainPage.xaml

This file was deleted.

23 changes: 0 additions & 23 deletions test/Sentry.Maui.Device.TestApp/MainPage.xaml.cs

This file was deleted.

12 changes: 1 addition & 11 deletions test/Sentry.Maui.Device.TestApp/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
})
.UseXHarnessTestRunner(conf => {
conf.AddTestAssemblies([
typeof(MauiProgram).Assembly,
// typeof(MauiProgram).Assembly,
typeof(Sentry.Tests.SentrySdkTests).Assembly,
typeof(Sentry.Extensions.Logging.Tests.LogLevelExtensionsTests).Assembly,
typeof(Sentry.Maui.Tests.SentryMauiOptionsTests).Assembly,
Expand All @@ -28,10 +22,6 @@ public static MauiApp CreateMauiApp()
conf.AddXunit();
});

#if DEBUG
builder.Logging.AddDebug();
#endif

return builder.Build();
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
</manifest>
15 changes: 0 additions & 15 deletions test/Sentry.Maui.Device.TestApp/Resources/Raw/AboutAssets.txt

This file was deleted.

0 comments on commit de28ea8

Please sign in to comment.