-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuartzTests.cs
35 lines (29 loc) · 867 Bytes
/
QuartzTests.cs
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
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
using IntegrationTests.Helpers;
using Xunit.Abstractions;
namespace IntegrationTests;
public class QuartzTests : TestHelper
{
public QuartzTests(ITestOutputHelper output)
: base("Quartz", output)
{
}
[Theory]
[Trait("Category", "EndToEnd")]
[MemberData(nameof(LibraryVersion.Quartz), MemberType = typeof(LibraryVersion))]
public void SubmitsTraces(string packageVersion)
{
using var collector = new MockSpansCollector(Output);
SetExporter(collector);
collector.Expect("OpenTelemetry.Instrumentation.Quartz");
RunTestApplication(new TestSettings
{
#if NET462
Framework = "net472",
#endif
PackageVersion = packageVersion
});
collector.AssertExpectations();
}
}