Skip to content

Commit c1e5364

Browse files
committed
Updated tests after rebase.
1 parent 1a7c1b8 commit c1e5364

File tree

73 files changed

+435
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+435
-435
lines changed

docs

Submodule docs updated from 6b43f4a to 12cb5e3

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/AdHocUnionSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
77
public class AdHocUnionSourceGeneratorTests : SourceGeneratorTestsBase
88
{
99
public AdHocUnionSourceGeneratorTests(ITestOutputHelper output)
10-
: base(output, 23_000)
10+
: base(output, 24_000)
1111
{
1212
}
1313

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/JsonValueObjectSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
77
public class JsonValueObjectSourceGeneratorTests : SourceGeneratorTestsBase
88
{
99
public JsonValueObjectSourceGeneratorTests(ITestOutputHelper output)
10-
: base(output, 8_000)
10+
: base(output, 11_000)
1111
{
1212
}
1313

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/MessagePackValueObjectSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
99
public class MessagePackValueObjectSourceGeneratorTests : SourceGeneratorTestsBase
1010
{
1111
public MessagePackValueObjectSourceGeneratorTests(ITestOutputHelper output)
12-
: base(output, 4_000)
12+
: base(output, 6_000)
1313
{
1414
}
1515

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/NewtonsoftJsonValueObjectSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
77
public class NewtonsoftJsonValueObjectSourceGeneratorTests : SourceGeneratorTestsBase
88
{
99
public NewtonsoftJsonValueObjectSourceGeneratorTests(ITestOutputHelper output)
10-
: base(output, 8_000)
10+
: base(output, 9_000)
1111
{
1212
}
1313

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/RegularUnionSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
77
public class RegularUnionSourceGeneratorTests : SourceGeneratorTestsBase
88
{
99
public RegularUnionSourceGeneratorTests(ITestOutputHelper output)
10-
: base(output, 8_000)
10+
: base(output, 9_000)
1111
{
1212
}
1313

test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/SmartEnumSourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Thinktecture.Runtime.Tests.SourceGeneratorTests;
77
public class SmartEnumSourceGeneratorTests : SourceGeneratorTestsBase
88
{
99
public SmartEnumSourceGeneratorTests(ITestOutputHelper output)
10-
: base(output, 40_000)
10+
: base(output, 42_000)
1111
{
1212
}
1313

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AllOf_endpointKind=Controller_nullable=True_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"allOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AllOf_endpointKind=MinimalApi_nullable=False_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -30,7 +30,7 @@
3030
"content": {
3131
"application/json": {
3232
"schema": {
33-
"$ref": "#/components/schemas/TestEnum"
33+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3434
}
3535
}
3636
}
@@ -41,16 +41,16 @@
4141
},
4242
"components": {
4343
"schemas": {
44-
"TestEnum": {
44+
"SmartEnum_StringBased": {
4545
"type": "string",
4646
"allOf": [
4747
{
48-
"title": "item1",
49-
"const": "item1"
48+
"title": "Item1",
49+
"const": "Item1"
5050
},
5151
{
52-
"title": "item2",
53-
"const": "item2"
52+
"title": "Item2",
53+
"const": "Item2"
5454
}
5555
]
5656
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AllOf_endpointKind=MinimalApi_nullable=True_nonNullableReferenceTypesAsRequired=False.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"allOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AllOf_endpointKind=MinimalApi_nullable=True_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"allOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AnyOf_endpointKind=Controller_nullable=True_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"anyOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AnyOf_endpointKind=MinimalApi_nullable=False_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -30,7 +30,7 @@
3030
"content": {
3131
"application/json": {
3232
"schema": {
33-
"$ref": "#/components/schemas/TestEnum"
33+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3434
}
3535
}
3636
}
@@ -41,16 +41,16 @@
4141
},
4242
"components": {
4343
"schemas": {
44-
"TestEnum": {
44+
"SmartEnum_StringBased": {
4545
"type": "string",
4646
"anyOf": [
4747
{
48-
"title": "item1",
49-
"const": "item1"
48+
"title": "Item1",
49+
"const": "Item1"
5050
},
5151
{
52-
"title": "item2",
53-
"const": "item2"
52+
"title": "Item2",
53+
"const": "Item2"
5454
}
5555
]
5656
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AnyOf_endpointKind=MinimalApi_nullable=True_nonNullableReferenceTypesAsRequired=False.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"anyOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Swashbuckle/ThinktectureSchemaFilterTests.SmartEnums.Should_handle_SmartEnumClass_StringBased_as_body_parameter_smartEnumFilter=AnyOf_endpointKind=MinimalApi_nullable=True_nonNullableReferenceTypesAsRequired=True.verified.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"schema": {
1717
"allOf": [
1818
{
19-
"$ref": "#/components/schemas/TestEnum"
19+
"$ref": "#/components/schemas/SmartEnum_StringBased"
2020
}
2121
]
2222
}
@@ -29,7 +29,7 @@
2929
"content": {
3030
"application/json": {
3131
"schema": {
32-
"$ref": "#/components/schemas/TestEnum"
32+
"$ref": "#/components/schemas/SmartEnum_StringBased"
3333
}
3434
}
3535
}
@@ -40,16 +40,16 @@
4040
},
4141
"components": {
4242
"schemas": {
43-
"TestEnum": {
43+
"SmartEnum_StringBased": {
4444
"type": "string",
4545
"anyOf": [
4646
{
47-
"title": "item1",
48-
"const": "item1"
47+
"title": "Item1",
48+
"const": "Item1"
4949
},
5050
{
51-
"title": "item2",
52-
"const": "item2"
51+
"title": "Item2",
52+
"const": "Item2"
5353
}
5454
]
5555
}

0 commit comments

Comments
 (0)