NathanCK commented on a change in pull request #8839:
URL: https://github.com/apache/ignite/pull/8839#discussion_r589069400
##########
File path: modules/platforms/dotnet/Apache.Ignite.Core.Tests/ProjectFilesTest.cs
##########
@@ -87,6 +87,36 @@ public void TestCsprojOptimizeCode()
"Invalid optimize setting in release mode: ");
}
+ /// <summary>
+ /// Tests that all public types have <see cref="object.ToString"/>
method overridden.
+ /// </summary>
+ [Test]
+ public void TestPublicTypesHaveToStringOverride()
+ {
+ var csFiles = TestUtils.GetDotNetSourceDir().GetFiles("*.cs",
SearchOption.AllDirectories);
Review comment:
I wonder if we should narrow down to Apache.Ignite.Core project instead
of all the projects in the dotnet directory because the test project is for
Apache.Ignite.Core? I have made a change on that, but just wanna make sure
before I commit it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]