-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from sveinungf/dev/package-updates
Package updates and test report
- Loading branch information
Showing
19 changed files
with
224 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
...h.SourceGenerator.SnapshotTest/Snapshots/G.CellStyle_ClassWithEmptyCellStyle.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (6,5)-(6,18), | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Message: '' is an invalid argument for CellStyleAttribute, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...napshots/G.CellValueConverter_ClassPropertyWithConverterAndCellValueTruncate.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1008, | ||
Title: Attribute combination not supported, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (7,19)-(7,27), | ||
MessageFormat: Having both the {0} and the {1} attributes on a property is not supported, | ||
Message: Having both the CellValueConverter and the CellValueTruncate attributes on a property is not supported, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1008, | ||
Title: Attribute combination not supported, | ||
MessageFormat: Having both the {0} and the {1} attributes on a property is not supported, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
.../G.CellValueConverter_ClassWithConverterThatDoesNotInheritCellValueConverter.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (5,5)-(5,54), | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Message: Type 'MyNamespace.DecimalValueConverter' is an invalid argument for CellValueConverterAttribute because it does not inherit CellValueConverter<decimal>, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...erator.SnapshotTest/Snapshots/G.CellValueConverter_ClassWithInvalidConverter.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (5,5)-(5,54), | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Message: Type 'MyNamespace.DecimalValueConverter' is an invalid argument for CellValueConverterAttribute because it does not inherit CellValueConverter<string>, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
31 changes: 19 additions & 12 deletions
31
...st/Snapshots/G.CellValueConverter_ClassWithInvalidConverterOnComplexProperty.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (5,5)-(5,48), | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Message: Type 'MyNamespace.StringConverter' is an invalid argument for CellValueConverterAttribute because it does not inherit CellValueConverter<object>, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1007, | ||
Title: Invalid attribute type argument, | ||
MessageFormat: Type '{0}' is an invalid argument for {1} because it does not inherit {2}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
}, | ||
{ | ||
Id: SPCH1002, | ||
Title: Unsupported type for cell value, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (16,1)-(16,65), | ||
MessageFormat: The type '{0}' has a property of type '{1}' which is not supported as a cell value. The property will be ignored when creating the row., | ||
Message: The type 'ClassWithInvalidConverterOnComplexProperty' has a property of type 'Object' which is not supported as a cell value. The property will be ignored when creating the row., | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Descriptor: { | ||
Id: SPCH1002, | ||
Title: Unsupported type for cell value, | ||
MessageFormat: The type '{0}' has a property of type '{1}' which is not supported as a cell value. The property will be ignored when creating the row., | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Warning, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...shotTest/Snapshots/G.CellValueConverter_ClassWithoutParameterlessConstructor.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1009, | ||
Title: Type must have a public parameterless constructor, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (5,5)-(5,52), | ||
MessageFormat: Type '{0}' must have a public parameterless constructor, | ||
Message: Type 'MyNamespace.FixedValueConverter' must have a public parameterless constructor, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1009, | ||
Title: Type must have a public parameterless constructor, | ||
MessageFormat: Type '{0}' must have a public parameterless constructor, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...ots/G.WorksheetRowGenerator_Generate_ClassWithCellValueTruncateOnInvalidType.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1005, | ||
Title: Unsupported type for attribute, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (6,5)-(6,26), | ||
MessageFormat: {0} is not supported on properties of type '{1}', | ||
Message: CellValueTruncateAttribute is not supported on properties of type 'int', | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1005, | ||
Title: Unsupported type for attribute, | ||
MessageFormat: {0} is not supported on properties of type '{1}', | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...G.WorksheetRowGenerator_Generate_ClassWithCellValueTruncateWithInvalidLength.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (6,5)-(6,25), | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Message: '0' is an invalid argument for CellValueTruncateAttribute, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...pshots/G.WorksheetRowGenerator_Generate_ClassWithColumnWidthWithInvalidWidth.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (6,5)-(6,21), | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Message: '300' is an invalid argument for ColumnWidthAttribute, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1006, | ||
Title: Invalid attribute argument, | ||
MessageFormat: '{0}' is an invalid argument for {1}, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
.../Snapshots/G.WorksheetRowGenerator_Generate_ClassWithDuplicateColumnOrdering.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1003, | ||
Title: Duplicate column ordering, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (8,5)-(8,19), | ||
MessageFormat: The type '{0}' has two or more properties with the same column order, | ||
Message: The type 'ClassWithDuplicateColumnOrdering' has two or more properties with the same column order, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1003, | ||
Title: Duplicate column ordering, | ||
MessageFormat: The type '{0}' has two or more properties with the same column order, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
15 changes: 9 additions & 6 deletions
15
...sheetRowGenerator_Generate_ClassWithDuplicateColumnOrderingAcrossInheritance.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPCH1003, | ||
Title: Duplicate column ordering, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: : (7,5)-(7,19), | ||
MessageFormat: The type '{0}' has two or more properties with the same column order, | ||
Message: The type 'ClassWithDuplicateColumnOrdering' has two or more properties with the same column order, | ||
Category: SpreadCheetah.SourceGenerator | ||
Severity: Error, | ||
Descriptor: { | ||
Id: SPCH1003, | ||
Title: Duplicate column ordering, | ||
MessageFormat: The type '{0}' has two or more properties with the same column order, | ||
Category: SpreadCheetah.SourceGenerator, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.