-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Stefan Jandl <reg@bitfox.at>
- Loading branch information
1 parent
7f4b8fa
commit ea5dddc
Showing
30 changed files
with
126 additions
and
108 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
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
2 changes: 1 addition & 1 deletion
2
samples/Sentry.Samples.GraphQL.Server/Sentry.Samples.GraphQL.Server.csproj
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
2 changes: 1 addition & 1 deletion
2
samples/Sentry.Samples.MacCatalyst/Sentry.Samples.MacCatalyst.csproj
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
2 changes: 1 addition & 1 deletion
2
...es/Sentry.Samples.OpenTelemetry.AspNetCore/Sentry.Samples.OpenTelemetry.AspNetCore.csproj
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 was deleted.
Oops, something went wrong.
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,29 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = "Stop" | ||
|
||
Push-Location $PSScriptRoot/.. | ||
try | ||
{ | ||
if (!(Get-Command xharness -ErrorAction SilentlyContinue)) | ||
{ | ||
dotnet tool install Microsoft.DotNet.XHarness.CLI --global --version "1.*-*" | ||
} | ||
|
||
$tfm = 'net7.0-android' | ||
dotnet build -f $tfm test/Sentry.Maui.Device.TestApp | ||
if ($LASTEXITCODE -ne 0) | ||
{ | ||
throw "Failed to build Sentry.Maui.Device.TestApp" | ||
} | ||
|
||
$arch = $(uname -m) -eq 'arm64' ? 'arm64' : 'x64' | ||
Remove-Item -Recurse -Force test_output -ErrorAction SilentlyContinue | ||
xharness android test ` | ||
--app=test/Sentry.Maui.Device.TestApp/bin/Debug/$tfm/android-$arch/io.sentry.dotnet.maui.device.testapp-Signed.apk ` | ||
--package-name=io.sentry.dotnet.maui.device.testapp ` | ||
--output-directory=test_output | ||
} | ||
finally | ||
{ | ||
Pop-Location | ||
} |
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = "Stop" | ||
|
||
Push-Location $PSScriptRoot/.. | ||
try | ||
{ | ||
if (!(Get-Command xharness -ErrorAction SilentlyContinue)) | ||
{ | ||
dotnet tool install Microsoft.DotNet.XHarness.CLI --global --version "1.*-*" | ||
} | ||
|
||
$tfm = 'net7.0-ios' | ||
dotnet build -f $tfm test/Sentry.Maui.Device.TestApp | ||
if ($LASTEXITCODE -ne 0) | ||
{ | ||
throw "Failed to build Sentry.Maui.Device.TestApp" | ||
} | ||
|
||
$arch = $(uname -m) -eq 'arm64' ? 'arm64' : 'x64' | ||
Remove-Item -Recurse -Force test_output -ErrorAction SilentlyContinue | ||
xharness apple test ` | ||
--app=test/Sentry.Maui.Device.TestApp/bin/Debug/$tfm/iossimulator-$arch/Sentry.Maui.Device.TestApp.app ` | ||
--target=ios-simulator-64 ` | ||
--output-directory=test_output | ||
} | ||
finally | ||
{ | ||
Pop-Location | ||
} |
This file was deleted.
Oops, something went wrong.
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
19 changes: 19 additions & 0 deletions
19
test/Sentry.Maui.Tests/ApiApprovalTests.Run.DotNet8_0.verified.txt
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,19 @@ | ||
namespace Microsoft.Maui.Hosting | ||
{ | ||
public static class SentryMauiAppBuilderExtensions | ||
{ | ||
public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder) { } | ||
public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder, System.Action<Sentry.Maui.SentryMauiOptions>? configureOptions) { } | ||
public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder, string dsn) { } | ||
} | ||
} | ||
namespace Sentry.Maui | ||
{ | ||
public class SentryMauiOptions : Sentry.Extensions.Logging.SentryLoggingOptions | ||
{ | ||
public SentryMauiOptions() { } | ||
public bool IncludeBackgroundingStateInBreadcrumbs { get; set; } | ||
public bool IncludeTextInBreadcrumbs { get; set; } | ||
public bool IncludeTitleInBreadcrumbs { get; set; } | ||
} | ||
} |
Oops, something went wrong.