Skip to content

[featue] P/Invoke with LibraryImport #1221

[featue] P/Invoke with LibraryImport

[featue] P/Invoke with LibraryImport #1221

GitHub Actions / Test Report: osx-x64 succeeded Dec 4, 2023 in 0s

Test Report: osx-x64 ✅

Tests passed successfully

Report Passed Failed Skipped Time
TestResults/net462/test-results.trx 270✅ 2⚪ 231s
TestResults/net47/test-results.trx 270✅ 2⚪ 229s
TestResults/net471/test-results.trx 270✅ 2⚪ 231s
TestResults/net472/test-results.trx 270✅ 2⚪ 232s
TestResults/net48/test-results.trx 270✅ 2⚪ 231s
TestResults/net6.0/test-results.trx 270✅ 2⚪ 229s
TestResults/net7.0/test-results.trx 216✅ 1⚪ 223s
TestResults/net8.0/test-results.trx 270✅ 2⚪ 233s

✅ TestResults/net462/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 38ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 14s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 57s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 24s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 133ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 27s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 15s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 47ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 117ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 4s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 147ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 7ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 54ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 77ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 22s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 967ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 65ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 477ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 1s
OpenDDSharp.UnitTest.TopicTest 7✅ 236ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 42ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 71ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 360ms

✅ TestResults/net47/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✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 42ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 14s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 57s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 3s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 23s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 108ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 13s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 49ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 121ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 4s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 134ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 7ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 61ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 54ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 22s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 1s
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 63ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 496ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 1s
OpenDDSharp.UnitTest.TopicTest 7✅ 385ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 150ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 114ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 573ms

✅ TestResults/net471/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 37s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 36ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 14s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 59s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 23s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 108ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 13s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 38ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 112ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 4s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 205ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 9ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 98ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 109ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 21s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 1s
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 76ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 701ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 2s
OpenDDSharp.UnitTest.TopicTest 7✅ 256ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 46ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 95ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 401ms

✅ TestResults/net472/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 39s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 46ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 14s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 58s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 23s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 180ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 13s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 1ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 36ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 89ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 111ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 7ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 58ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 59ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 22s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 1s
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 65ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 651ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 2s
OpenDDSharp.UnitTest.TopicTest 7✅ 270ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 54ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 82ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 672ms

✅ TestResults/net48/test-results.trx

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 42ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 15s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 57s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 23s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 140ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 14s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 45ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 121ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 4s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 129ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 7ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 67ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 79ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 22s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 1s
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 77ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 736ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 2s
OpenDDSharp.UnitTest.TopicTest 7✅ 394ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 63ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 101ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 598ms

✅ TestResults/net6.0/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✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 38ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 15s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 58s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 24s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 172ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 13s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 8ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 35ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 96ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 4s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 104ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 4ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 39ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 41ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 21s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 1s
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 45ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 554ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 1s
OpenDDSharp.UnitTest.TopicTest 7✅ 262ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 41ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 54ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 738ms

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

217 tests were completed in 223s with 216 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 38ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 14s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 58s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 23s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 145ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 14s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 3ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 1ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 50ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 159ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 5s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 4s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 4s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 293ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 6ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 45ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 68ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 21s
OpenDDSharp.UnitTest.SubscriberTest 8✅ 329ms

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

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

Test suite Passed Failed Skipped Time
OpenDDSharp.UnitTest.CodeGeneratorJsonWrapperTest 18✅ 38s
OpenDDSharp.UnitTest.ContentFilteredTopicTest 3✅ 40ms
OpenDDSharp.UnitTest.DataReaderListenerTest 7✅ 15s
OpenDDSharp.UnitTest.DataReaderTest 29✅ 58s
OpenDDSharp.UnitTest.DataWriterListenerTest 4✅ 4s
OpenDDSharp.UnitTest.DataWriterTest 20✅ 24s
OpenDDSharp.UnitTest.DomainParticipantFactoryTest 8✅ 106ms
OpenDDSharp.UnitTest.DomainParticipantListenerTest 13✅ 26s
OpenDDSharp.UnitTest.DomainParticipantTest 40✅ 13s
OpenDDSharp.UnitTest.InfoRepoDiscoveryTest 3✅ 2ms
OpenDDSharp.UnitTest.InstanceHandleTest 1✅ 0ms
OpenDDSharp.UnitTest.MulticastInstTest 2✅ 38ms
OpenDDSharp.UnitTest.MultiTopicTest 3✅ 87ms
OpenDDSharp.UnitTest.ParticipantBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublicationBuiltinTopicDataDataReaderTest 10✅ 4s
OpenDDSharp.UnitTest.PublisherListenerTest 4✅ 3s
OpenDDSharp.UnitTest.PublisherTest 15✅ 1⚪ 3s
OpenDDSharp.UnitTest.QueryConditionTest 3✅ 103ms
OpenDDSharp.UnitTest.RtpsDiscoveryTest 3✅ 5ms
OpenDDSharp.UnitTest.RtpsUdpInstTest 2✅ 38ms
OpenDDSharp.UnitTest.ShmemInstTest 2✅ 41ms
OpenDDSharp.UnitTest.SubscriberListenerTest 8✅ 22s
OpenDDSharp.UnitTest.SubscriberTest 15✅ 1⚪ 815ms
OpenDDSharp.UnitTest.SubscriptionBuiltinTopicDataDataReaderTest 10✅ 6s
OpenDDSharp.UnitTest.TcpInstTest 2✅ 67ms
OpenDDSharp.UnitTest.TopicBuiltinTopicDataDataReaderTest 10✅ 424ms
OpenDDSharp.UnitTest.TopicListenerTest 1✅ 1s
OpenDDSharp.UnitTest.TopicTest 7✅ 247ms
OpenDDSharp.UnitTest.TransportRegistryTest 10✅ 46ms
OpenDDSharp.UnitTest.UdpInstTest 2✅ 68ms
OpenDDSharp.UnitTest.WaitSetTest 5✅ 436ms