TestEngine: Template testing optimization #3280
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/neocontractowner/TestingArtifacts/Ownable.artifacts.cs#L42
Type 'Ownable' already defines a member called 'Destroy' with the same parameter types
|
Test:
tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/Ownable.artifacts.cs#L48
Type 'Ownable' already defines a member called 'MyMethod' with the same parameter types
|
Test:
tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/Ownable.artifacts.cs#L54
Type 'Ownable' already defines a member called 'Update' with the same parameter types
|
Test:
tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/Ownable.artifacts.cs#L60
Type 'Ownable' already defines a member called 'Ownable' with the same parameter types
|
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:
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:
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.Compiler.CSharp.TestContracts/Contract_Initializer.cs#L8
The type name 'data' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L8
Method, operator, or accessor 'Contract_Call.testArgs1(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L9
Method, operator, or accessor 'Contract_Call.testVoid()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_Types.cs#L18
The type name 'del' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_Event.cs#L15
'Contract_Event.Main(string, object[])' has the wrong signature to be an entry point
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L12
'Contract_WrongEvent.Main(string, object[])' has the wrong signature to be an entry point
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L10
Non-nullable event 'Transferred' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_UIntTypes.cs#L10
Cannot convert null literal to non-nullable reference type.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_Types_ECPoint.cs#L11
Cannot convert null literal to non-nullable reference type.
|
Test:
tests/Neo.Compiler.CSharp.TestContracts/Contract_Types.cs#L32
Possible null reference return.
|