Skip to content

TestEngine: Template testing optimization #3281

TestEngine: Template testing optimization

TestEngine: Template testing optimization #3281

Triggered via pull request February 26, 2024 08:50
Status Failure
Total duration 1m 58s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17Contract.artifacts.cs#L8
The namespace 'Neo.SmartContract.Testing' already contains a definition for 'Nep17Contract'
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractoracle/TestingArtifacts/OracleRequest.artifacts.cs#L8
The namespace 'Neo.SmartContract.Testing' already contains a definition for 'OracleRequest'
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/Ownable.artifacts.cs#L8
The namespace 'Neo.SmartContract.Testing' already contains a definition for 'Ownable'
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractoracle/TestingArtifacts/OracleRequest.artifacts.cs#L35
Type 'OracleRequest' already defines a member called 'DoRequest' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractoracle/TestingArtifacts/OracleRequest.artifacts.cs#L41
Type 'OracleRequest' already defines a member called 'OnOracleResponse' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractoracle/TestingArtifacts/OracleRequest.artifacts.cs#L47
Type 'OracleRequest' already defines a member called 'OracleRequest' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17Contract.artifacts.cs#L65
Type 'Nep17Contract' already defines a member called 'BalanceOf' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17Contract.artifacts.cs#L75
Type 'Nep17Contract' already defines a member called 'Burn' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17Contract.artifacts.cs#L81
Type 'Nep17Contract' already defines a member called 'Mint' with the same parameter types
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17Contract.artifacts.cs#L87
Type 'Nep17Contract' already defines a member called 'MyMethod' with the same parameter types
Test: neo/src/Neo/ProtocolSettings.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/Persistence/StoreFactory.cs#L39
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L131
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: src/Neo.SmartContract.Framework/Interfaces/INEP11Payment.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: src/Neo.SmartContract.Framework/Interfaces/INEP17Payment.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L94
Nullability of reference types in type of parameter 'other' doesn't match implemented member 'bool IEquatable<AbiMethod>.Equals(AbiMethod? other)' (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Coverage/NeoDebugInfo.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_ExtraAttribute.cs#L9
'Contract_ExtraAttribute.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_SupportedStandard17Enum.cs#L18
Non-nullable property 'Symbol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_SupportedStandard11Enum.cs#L15
Non-nullable property 'Symbol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_ExecutionEngine.cs#L24
'Runtime.ScriptContainer' is obsolete: 'Use System.Runtime.Transaction instead'
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_Helper.cs#L9
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_Helper.cs#L12
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_Runtime.cs#L93
'Runtime.ScriptContainer' is obsolete: 'Use System.Runtime.Transaction instead'