Skip to content

Commit

Permalink
verify
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Jan 8, 2024
1 parent 0a23cc9 commit c37072a
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 80 deletions.
40 changes: 20 additions & 20 deletions test/Sentry.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace Sentry
Sentry.Request Request { get; set; }
Sentry.SdkVersion Sdk { get; }
string? TransactionName { get; set; }
Sentry.User User { get; set; }
Sentry.SentryUser User { get; set; }
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
}
public interface IHasExtra
Expand Down Expand Up @@ -242,7 +242,7 @@ namespace Sentry
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
void SetExtra(string key, object? value);
void SetTag(string key, string value);
void SetUser(Sentry.User? user);
void SetUser(Sentry.SentryUser? user);
void UnsetTag(string key);
}
public interface ISentryClient
Expand All @@ -269,7 +269,7 @@ namespace Sentry
}
public interface ISentryUserFactory
{
Sentry.User? Create();
Sentry.SentryUser? Create();
}
public interface ISession
{
Expand Down Expand Up @@ -428,7 +428,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.ITransactionTracer? Transaction { get; set; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddAttachment(Sentry.Attachment attachment) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.Hint hint) { }
Expand Down Expand Up @@ -520,7 +520,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public System.DateTimeOffset Timestamp { get; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
Expand Down Expand Up @@ -807,6 +807,19 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryUser : Sentry.IJsonSerializable
{
public SentryUser() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.SentryUser Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.SentryUser FromJson(System.Text.Json.JsonElement json) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down Expand Up @@ -1022,7 +1035,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public Sentry.SentryTraceHeader GetTraceHeader() { }
public void SetExtra(string key, object? value) { }
Expand Down Expand Up @@ -1085,7 +1098,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void Finish() { }
public void Finish(Sentry.SpanStatus status) { }
Expand All @@ -1099,19 +1112,6 @@ namespace Sentry
public Sentry.ISpan StartChild(string operation) { }
public void UnsetTag(string key) { }
}
public sealed class User : Sentry.IJsonSerializable
{
public User() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.User Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.User FromJson(System.Text.Json.JsonElement json) { }
}
public sealed class UserFeedback : Sentry.IJsonSerializable
{
public UserFeedback(Sentry.SentryId eventId, string? name, string? email, string? comments) { }
Expand Down
40 changes: 20 additions & 20 deletions test/Sentry.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace Sentry
Sentry.Request Request { get; set; }
Sentry.SdkVersion Sdk { get; }
string? TransactionName { get; set; }
Sentry.User User { get; set; }
Sentry.SentryUser User { get; set; }
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
}
public interface IHasExtra
Expand Down Expand Up @@ -242,7 +242,7 @@ namespace Sentry
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
void SetExtra(string key, object? value);
void SetTag(string key, string value);
void SetUser(Sentry.User? user);
void SetUser(Sentry.SentryUser? user);
void UnsetTag(string key);
}
public interface ISentryClient
Expand All @@ -269,7 +269,7 @@ namespace Sentry
}
public interface ISentryUserFactory
{
Sentry.User? Create();
Sentry.SentryUser? Create();
}
public interface ISession
{
Expand Down Expand Up @@ -428,7 +428,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.ITransactionTracer? Transaction { get; set; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddAttachment(Sentry.Attachment attachment) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.Hint hint) { }
Expand Down Expand Up @@ -520,7 +520,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public System.DateTimeOffset Timestamp { get; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
Expand Down Expand Up @@ -807,6 +807,19 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryUser : Sentry.IJsonSerializable
{
public SentryUser() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.SentryUser Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.SentryUser FromJson(System.Text.Json.JsonElement json) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down Expand Up @@ -1022,7 +1035,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public Sentry.SentryTraceHeader GetTraceHeader() { }
public void SetExtra(string key, object? value) { }
Expand Down Expand Up @@ -1085,7 +1098,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void Finish() { }
public void Finish(Sentry.SpanStatus status) { }
Expand All @@ -1099,19 +1112,6 @@ namespace Sentry
public Sentry.ISpan StartChild(string operation) { }
public void UnsetTag(string key) { }
}
public sealed class User : Sentry.IJsonSerializable
{
public User() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.User Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.User FromJson(System.Text.Json.JsonElement json) { }
}
public sealed class UserFeedback : Sentry.IJsonSerializable
{
public UserFeedback(Sentry.SentryId eventId, string? name, string? email, string? comments) { }
Expand Down
40 changes: 20 additions & 20 deletions test/Sentry.Tests/ApiApprovalTests.Run.DotNet8_0.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ namespace Sentry
Sentry.Request Request { get; set; }
Sentry.SdkVersion Sdk { get; }
string? TransactionName { get; set; }
Sentry.User User { get; set; }
Sentry.SentryUser User { get; set; }
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
}
public interface IHasExtra
Expand Down Expand Up @@ -243,7 +243,7 @@ namespace Sentry
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
void SetExtra(string key, object? value);
void SetTag(string key, string value);
void SetUser(Sentry.User? user);
void SetUser(Sentry.SentryUser? user);
void UnsetTag(string key);
}
public interface ISentryClient
Expand All @@ -270,7 +270,7 @@ namespace Sentry
}
public interface ISentryUserFactory
{
Sentry.User? Create();
Sentry.SentryUser? Create();
}
public interface ISession
{
Expand Down Expand Up @@ -429,7 +429,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.ITransactionTracer? Transaction { get; set; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddAttachment(Sentry.Attachment attachment) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.Hint hint) { }
Expand Down Expand Up @@ -521,7 +521,7 @@ namespace Sentry
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public System.DateTimeOffset Timestamp { get; }
public string? TransactionName { get; set; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
Expand Down Expand Up @@ -808,6 +808,19 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryUser : Sentry.IJsonSerializable
{
public SentryUser() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.SentryUser Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.SentryUser FromJson(System.Text.Json.JsonElement json) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down Expand Up @@ -1023,7 +1036,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public Sentry.SentryTraceHeader GetTraceHeader() { }
public void SetExtra(string key, object? value) { }
Expand Down Expand Up @@ -1086,7 +1099,7 @@ namespace Sentry
public Sentry.SpanStatus? Status { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.User User { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void Finish() { }
public void Finish(Sentry.SpanStatus status) { }
Expand All @@ -1100,19 +1113,6 @@ namespace Sentry
public Sentry.ISpan StartChild(string operation) { }
public void UnsetTag(string key) { }
}
public sealed class User : Sentry.IJsonSerializable
{
public User() { }
public string? Email { get; set; }
public string? Id { get; set; }
public string? IpAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; set; }
public string? Segment { get; set; }
public string? Username { get; set; }
public Sentry.User Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { }
public static Sentry.User FromJson(System.Text.Json.JsonElement json) { }
}
public sealed class UserFeedback : Sentry.IJsonSerializable
{
public UserFeedback(Sentry.SentryId eventId, string? name, string? email, string? comments) { }
Expand Down
Loading

0 comments on commit c37072a

Please sign in to comment.