-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathTestSentryJava.cs
More file actions
63 lines (46 loc) · 1.8 KB
/
TestSentryJava.cs
File metadata and controls
63 lines (46 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using System;
using Sentry.Extensibility;
namespace Sentry.Unity.Android.Tests;
internal class TestSentryJava : ISentryJava
{
public bool Enabled { get; set; } = true;
public bool InitSuccessful { get; set; } = true;
public bool SentryPresent { get; set; } = true;
public string? InstallationId { get; set; }
public bool? IsCrashedLastRun { get; set; }
public bool? IsEnabled() => Enabled;
public void Init(SentryUnityOptions options) { }
public string? GetInstallationId() => InstallationId;
public bool? CrashedLastRun() => IsCrashedLastRun;
public void Close() { }
public void WriteScope(
string? AppStartTime,
string? AppBuildType,
int? GpuId,
string? GpuName,
string? GpuVendorName,
int? GpuMemorySize,
string? GpuNpotSupport,
string? GpuVersion,
string? GpuApiType,
int? GpuMaxTextureSize,
bool? GpuSupportsDrawCallInstancing,
bool? GpuSupportsRayTracing,
bool? GpuSupportsComputeShaders,
bool? GpuSupportsGeometryShaders,
string? GpuVendorId,
bool? GpuMultiThreadedRendering,
string? GpuGraphicsShaderLevel)
{ }
public bool IsSentryJavaPresent() => SentryPresent;
public void AddBreadcrumb(Breadcrumb breadcrumb) { }
public void SetExtra(string key, string? value) { }
public void SetTag(string key, string? value) { }
public void UnsetTag(string key) { }
public void SetUser(SentryUser user) { }
public void UnsetUser() { }
public void SetTrace(SentryId traceId, SpanId spanId) { }
public void AddAttachment(string path, string fileName, string? contentType) { }
public void AddAttachmentBytes(byte[] data, string fileName, string? contentType) { }
public void ClearAttachments() { }
}