Skip to content

[featue] P/Invoke with LibraryImport #1225

[featue] P/Invoke with LibraryImport

[featue] P/Invoke with LibraryImport #1225

GitHub Actions / Test Report: win-x64 Release succeeded Dec 6, 2023 in 0s

Test Report: win-x64 Release ✅

Tests passed successfully

Report Passed Failed Skipped Time
TestResults/net462/test-results.trx 270✅ 2⚪ 229s
TestResults/net47/test-results.trx 270✅ 2⚪ 226s
TestResults/net471/test-results.trx 270✅ 2⚪ 227s
TestResults/net472/test-results.trx 270✅ 2⚪ 226s
TestResults/net48/test-results.trx 270✅ 2⚪ 228s
TestResults/net6.0/test-results.trx 270✅ 2⚪ 226s
TestResults/net7.0/test-results.trx 270✅ 2⚪ 226s
TestResults/net8.0/test-results.trx 270✅ 2⚪ 226s

✅ TestResults/net462/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 34ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 74ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 22ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 54ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 61ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 24ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 514ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 29ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 209ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 438ms
OpenDDSharp.UnitTest.TopicTest 7✅ 147ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 30ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 28ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 260ms

✅ TestResults/net47/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 37ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 71ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 20ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 49ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 59ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 23ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 514ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 29ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 211ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 437ms
OpenDDSharp.UnitTest.TopicTest 7✅ 146ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 30ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 28ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 251ms

✅ TestResults/net471/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 34ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 70ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 18ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 52ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 63ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 24ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 532ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 31ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 223ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 466ms
OpenDDSharp.UnitTest.TopicTest 7✅ 162ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 32ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 32ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 255ms

✅ TestResults/net472/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 35ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 74ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 18ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 52ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 65ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 27ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 531ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 30ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 211ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 434ms
OpenDDSharp.UnitTest.TopicTest 7✅ 154ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 31ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 28ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 245ms

✅ TestResults/net48/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 37ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 75ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 20ms
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⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 67ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 6ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 28ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 546ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 33ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 223ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 449ms
OpenDDSharp.UnitTest.TopicTest 7✅ 163ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 29ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 32ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 257ms

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

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 34ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 68ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 17ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 50ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 61ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 3ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 23ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 532ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 30ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 211ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 433ms
OpenDDSharp.UnitTest.TopicTest 7✅ 156ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 27ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 30ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 248ms

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

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 34ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 64ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 15ms
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⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 61ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 4ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 36ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 532ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 31ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 191ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 439ms
OpenDDSharp.UnitTest.TopicTest 7✅ 158ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 26ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 30ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 243ms

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

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 34s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 30ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 13s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 53s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 21s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 62ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 23s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 25s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 14ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 46ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 3s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 2s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 58ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 3ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 19ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 14s
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 19s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 516ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 29ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 187ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 430ms
OpenDDSharp.UnitTest.TopicTest 7✅ 149ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 27ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 29ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 240ms