Skip to content

[featue] P/Invoke with LibraryImport (#216) #1226

[featue] P/Invoke with LibraryImport (#216)

[featue] P/Invoke with LibraryImport (#216) #1226

GitHub Actions / Test Report: linux-x64 succeeded Dec 7, 2023 in 1s

Test Report: linux-x64 ✅

Tests passed successfully

Report Passed Failed Skipped Time
TestResults/net462/test-results.trx 270✅ 2⚪ 197s
TestResults/net47/test-results.trx 270✅ 2⚪ 196s
TestResults/net471/test-results.trx 270✅ 2⚪ 196s
TestResults/net472/test-results.trx 270✅ 2⚪ 197s
TestResults/net48/test-results.trx 270✅ 2⚪ 197s
TestResults/net6.0/test-results.trx 270✅ 2⚪ 197s
TestResults/net7.0/test-results.trx 270✅ 2⚪ 200s
TestResults/net8.0/test-results.trx 270✅ 2⚪ 196s

✅ TestResults/net462/test-results.trx

272 tests were completed in 197s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 16ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 43ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 41ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 30ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 33ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 15ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 28ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 381ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 22ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 135ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 417ms
OpenDDSharp.UnitTest.TopicTest 7✅ 89ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 30ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 30ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 177ms

✅ TestResults/net47/test-results.trx

272 tests were completed in 196s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 17ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 38ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 17ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 28ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 36ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 16ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 20ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 374ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 134ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 414ms
OpenDDSharp.UnitTest.TopicTest 7✅ 81ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 19ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 18ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 195ms

✅ TestResults/net471/test-results.trx

272 tests were completed in 196s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 16ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 39ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 17ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 28ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 36ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 7ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 20ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 376ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 133ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 413ms
OpenDDSharp.UnitTest.TopicTest 7✅ 79ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 18ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 19ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 176ms

✅ TestResults/net472/test-results.trx

272 tests were completed in 197s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 17ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 38ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 17ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 31ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 36ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 15ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 18ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 374ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 22ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 138ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 416ms
OpenDDSharp.UnitTest.TopicTest 7✅ 82ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 18ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 178ms

✅ TestResults/net48/test-results.trx

272 tests were completed in 197s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 17ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 41ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 16ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 27ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 37ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 17ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 20ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 399ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 23ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 137ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 434ms
OpenDDSharp.UnitTest.TopicTest 7✅ 83ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 20ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 22ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 179ms

✅ TestResults/net6.0/test-results.trx

272 tests were completed in 197s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 13ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 45ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 42ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 14ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 30ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 42ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 3ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 24ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 407ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 23ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 152ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 412ms
OpenDDSharp.UnitTest.TopicTest 7✅ 98ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 19ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 24ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 192ms

✅ TestResults/net7.0/test-results.trx

272 tests were completed in 200s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 16ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 45ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 62ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 16ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 55ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 36ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 4ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 15ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 22ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 414ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 130ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 409ms
OpenDDSharp.UnitTest.TopicTest 7✅ 99ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 20ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 27ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 190ms

✅ TestResults/net8.0/test-results.trx

272 tests were completed in 196s with 270 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 17ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 52s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 38ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 22s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 11s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 13ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 47ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 35ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 4ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 14ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 18ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 410ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 21ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 129ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 395ms
OpenDDSharp.UnitTest.TopicTest 7✅ 79ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 16ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 18ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 180ms