ptupitsyn commented on code in PR #1482:
URL: https://github.com/apache/ignite-3/pull/1482#discussion_r1058446471
##########
modules/platforms/dotnet/Apache.Ignite.Tests/Table/RecordViewPocoTests.cs:
##########
@@ -721,6 +721,34 @@ public async Task TestAllColumnsPocoNullable()
Assert.AreEqual(poco.DateTime, res.DateTime);
}
+ [Test]
+ public async Task TestEnumColumns()
+ {
+ // Normal values.
+ await Test(new PocoEnums.PocoIntEnum(1, PocoEnums.IntEnum.Foo));
+ await Test(new PocoEnums.PocoByteEnum(1, PocoEnums.ByteEnum.Foo));
+ await Test(new PocoEnums.PocoShortEnum(1,
PocoEnums.ShortEnum.Foo));
+ await Test(new PocoEnums.PocoLongEnum(1, PocoEnums.LongEnum.Foo));
+
+ // Values that are not represented in the enum (it is just a
number underneath).
Review Comment:
Good point, added.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]