Bump the verify group with 2 updates #361
build.yml
on: pull_request
Matrix: 🧪 Run tests
🛠️ Build
0s
📦 Publish nuget library
0s
📝 Create GitHub Release
0s
Annotations
29 errors
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: AmbiguousMarkedMethods.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
Equal:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.received.cs
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.verified.cs
FileContent:
NotEqual:
Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize()
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
},
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b)
^^^^^^^^^^
{
*/
: (11,17)-(11,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
},
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (11,17)-(11,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithOptionalArgumentsTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.received.cs
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b = null)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithGenericTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.received.cs
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize<T>(T t)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR004,
Title: Post construct method must not be generic,
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR004,
Title: Post construct method must not be generic,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorReturnsNonVoidTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.received.cs
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private System.Threading.Tasks.Task InitAsync() => System.Threading.Tasks.Task.CompletedTask;
^^^^^^^^^
}
*/
: (6,40)-(6,49),
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR002,
Title: Post construct method must return void,
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR002,
Title: Post construct method must return void,
Severity: Warning,
WarningLevel: 1,
Location: : (6,40)-(6,49),
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Category: AutoCtor
}
]
}
|
🧪 Run tests (4.4)
Process completed with exit code 1.
|
🧪 Run tests (4.10)
The job was canceled because "_4_4" failed.
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: AmbiguousMarkedMethods.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
Equal:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.received.cs
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.verified.cs
FileContent:
NotEqual:
Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize()
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
},
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b)
^^^^^^^^^^
{
*/
: (11,17)-(11,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
},
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (11,17)-(11,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithOptionalArgumentsTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.received.cs
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b = null)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithGenericTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.received.cs
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize<T>(T t)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR004,
Title: Post construct method must not be generic,
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR004,
Title: Post construct method must not be generic,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorReturnsNonVoidTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.received.cs
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private System.Threading.Tasks.Task InitAsync() => System.Threading.Tasks.Task.CompletedTask;
^^^^^^^^^
}
*/
: (6,40)-(6,49),
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR002,
Title: Post construct method must return void,
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR002,
Title: Post construct method must return void,
Severity: Warning,
WarningLevel: 1,
Location: : (6,40)-(6,49),
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Category: AutoCtor
}
]
}
|
🧪 Run tests (4.10)
Process completed with exit code 1.
|
🧪 Run tests (3.11)
The job was canceled because "_4_4" failed.
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: AmbiguousMarkedMethods.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
Equal:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.received.cs
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.verified.cs
FileContent:
NotEqual:
Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize()
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
},
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b)
^^^^^^^^^^
{
*/
: (11,17)-(11,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
},
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (11,17)-(11,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithOptionalArgumentsTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.received.cs
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b = null)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithGenericTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.received.cs
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize<T>(T t)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR004,
Title: Post construct method must not be generic,
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR004,
Title: Post construct method must not be generic,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorReturnsNonVoidTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.received.cs
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private System.Threading.Tasks.Task InitAsync() => System.Threading.Tasks.Task.CompletedTask;
^^^^^^^^^
}
*/
: (6,40)-(6,49),
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR002,
Title: Post construct method must return void,
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR002,
Title: Post construct method must return void,
Severity: Warning,
WarningLevel: 1,
Location: : (6,40)-(6,49),
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Category: AutoCtor
}
]
}
|
🧪 Run tests (3.11)
Process completed with exit code 1.
|
🧪 Run tests (4.6)
The job was canceled because "_4_4" failed.
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: AmbiguousMarkedMethods.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
Equal:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.received.cs
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.verified.cs
FileContent:
NotEqual:
Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize()
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
},
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b)
^^^^^^^^^^
{
*/
: (11,17)-(11,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
},
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (11,17)-(11,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithOptionalArgumentsTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.received.cs
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b = null)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithGenericTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.received.cs
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize<T>(T t)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR004,
Title: Post construct method must not be generic,
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR004,
Title: Post construct method must not be generic,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorReturnsNonVoidTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.received.cs
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private System.Threading.Tasks.Task InitAsync() => System.Threading.Tasks.Task.CompletedTask;
^^^^^^^^^
}
*/
: (6,40)-(6,49),
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR002,
Title: Post construct method must return void,
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR002,
Title: Post construct method must return void,
Severity: Warning,
WarningLevel: 1,
Location: : (6,40)-(6,49),
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Category: AutoCtor
}
]
}
|
🧪 Run tests (4.6)
Process completed with exit code 1.
|
🧪 Run tests (4.8)
The job was canceled because "_4_4" failed.
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: AmbiguousMarkedMethods.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
Equal:
- Received: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.received.cs
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode#AmbiguousMarkedMethods.g.verified.cs
FileContent:
NotEqual:
Received: AmbiguousMarkedMethods.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize()
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
},
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b)
^^^^^^^^^^
{
*/
: (11,17)-(11,27),
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR001,
Title: Ambiguous marked post constructor method,
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: AmbiguousMarkedMethods.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
},
{
Id: ACTR001,
Title: Ambiguous marked post constructor method,
Severity: Warning,
WarningLevel: 1,
Location: : (11,17)-(11,27),
MessageFormat: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Message: Only one method in a type should be marked with an [AutoPostConstruct] attribute,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithOptionalArgumentsTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.received.cs
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode#PostCtorWithOptionalArgumentsTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize(IB b = null)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithOptionalArgumentsTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR003,
Title: Post construct method must not have any optional arguments,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not have optional arguments to be used as the post construct method,
Message: The method 'PostCtorWithOptionalArgumentsTest.Initialize(IB)' must not have optional arguments to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorWithGenericTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.received.cs
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode#PostCtorWithGenericTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorWithGenericTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private void Initialize<T>(T t)
^^^^^^^^^^
{
*/
: (6,17)-(6,27),
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR004,
Title: Post construct method must not be generic,
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorWithGenericTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR004,
Title: Post construct method must not be generic,
Severity: Warning,
WarningLevel: 1,
Location: : (6,17)-(6,27),
MessageFormat: The method '{0}' must not be generic to be used as the post construct method,
Message: The method 'PostCtorWithGenericTest.Initialize<T>(T)' must not be generic to be used as the post construct method,
Category: AutoCtor
}
]
}
|
AutoCtor.Tests.ExampleTests.ExamplesGeneratedCode(theoryData: PostCtorReturnsNonVoidTest.cs):
src/AutoCtor.Tests/ExampleTests.cs#L16
VerifyException : Directory: /home/runner/work/AutoCtor/AutoCtor/src/AutoCtor.Tests/Examples/Verified
NotEqual:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
Equal:
- Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.received.cs
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode#PostCtorReturnsNonVoidTest.g.verified.cs
FileContent:
NotEqual:
Received: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.received.txt
{
Diagnostics: [
{
Location: /*
[AutoCtor.AutoPostConstruct]
private System.Threading.Tasks.Task InitAsync() => System.Threading.Tasks.Task.CompletedTask;
^^^^^^^^^
}
*/
: (6,40)-(6,49),
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Severity: Warning,
WarningLevel: 1,
Descriptor: {
Id: ACTR002,
Title: Post construct method must return void,
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Category: AutoCtor,
DefaultSeverity: Warning,
IsEnabledByDefault: true
}
}
]
}
Verified: PostCtorReturnsNonVoidTest.ExamplesGeneratedCode.verified.txt
{
Diagnostics: [
{
Id: ACTR002,
Title: Post construct method must return void,
Severity: Warning,
WarningLevel: 1,
Location: : (6,40)-(6,49),
MessageFormat: The method '{0}' must return void to be used as the post construct method,
Message: The method 'PostCtorReturnsNonVoidTest.InitAsync()' must return void to be used as the post construct method,
Category: AutoCtor
}
]
}
|
🧪 Run tests (4.8)
The operation was canceled.
|