Skip to content

Use UnsafeUtility.As in Unity 2020 or newer #525

Use UnsafeUtility.As in Unity 2020 or newer

Use UnsafeUtility.As in Unity 2020 or newer #525

GitHub Actions / dotnet-test-results-net6.0-Release_NoProgress-Pool_Enabled-userMode succeeded Aug 23, 2023 in 1s

dotnet-test-results-net6.0-Release_NoProgress-Pool_Enabled-userMode ✅

Tests passed successfully

✅ TestResults/dotnet-test-results-net6.0-Release_NoProgress-Pool_Enabled-userMode.trx

13017 tests were completed in 2438s with 13017 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ProtoPromiseTests.APIs.AllTests 22✅ 3s
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_1_WhenPendingAPromise 2✅ 187ms
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_2_WhenFulfilledAPromise 3✅ 671ms
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_3_WhenRejectedAPromise 4✅ 739ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod 4✅ 654ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_3_IfOnRejectedIsAFunction 6✅ 595ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_6_ThenMayBeCalledMultipleTimesOnTheSamePromise 4✅ 376ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+IfOnFulfilledIsAFunction_2_2_2 5✅ 522ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+ThenMustReturnAPromise_2_2_7 20✅ 2s
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure 4✅ 937ms
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure+_2_3_2_IfXIsAPromiseAdoptItsState 5✅ 842ms
ProtoPromiseTests.APIs.AsyncFunctionTests 22✅ 2s
ProtoPromiseTests.APIs.AsyncLazyTests 18✅ 2s
ProtoPromiseTests.APIs.AsyncLocalTests 4✅ 404ms
ProtoPromiseTests.APIs.AwaitTests 52✅ 5s
ProtoPromiseTests.APIs.CancelationTests+Registration 40✅ 8s
ProtoPromiseTests.APIs.CancelationTests+Source 36✅ 4s
ProtoPromiseTests.APIs.CancelationTests+Token 35✅ 3s
ProtoPromiseTests.APIs.CaptureTests 24✅ 2s
ProtoPromiseTests.APIs.ContinuewithTests 16✅ 2s
ProtoPromiseTests.APIs.FinallyTests 12✅ 1s
ProtoPromiseTests.APIs.FirstTests 50✅ 5s
ProtoPromiseTests.APIs.MergeTests 10✅ 1s
ProtoPromiseTests.APIs.MiscellaneousTests 119✅ 48s
ProtoPromiseTests.APIs.NewAndRunTests 608✅ 60s
ProtoPromiseTests.APIs.ParallelForTests 25✅ 3s
ProtoPromiseTests.APIs.ProgressTests 24✅ 3s
ProtoPromiseTests.APIs.PromiseCancelationTests 19✅ 2s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken 28✅ 3s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken+Reject 6✅ 620ms
ProtoPromiseTests.APIs.PromiseCancelationTests+CatchCancelationMayBeCalledMultipleTimesOnTheSamePromise 2✅ 244ms
ProtoPromiseTests.APIs.PromiseCancelationTests+IfOnCanceledIsAFunction 5✅ 500ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure 2✅ 205ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure+IfXIsAPromiseAdoptItsState 6✅ 618ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenCanceledAPromise 2✅ 204ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenFulfilledAPromise 2✅ 196ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenPendingAPromise 2✅ 196ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenRejectedAPromise 2✅ 199ms
ProtoPromiseTests.APIs.RaceTests 38✅ 4s
ProtoPromiseTests.APIs.SequenceTests 15✅ 1s
ProtoPromiseTests.APIs.Threading.AsyncAutoResetEventTests 18✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncConditionVariableTests 21✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncCountdownEventTests 20✅ 3s
ProtoPromiseTests.APIs.Threading.AsyncLockTests 17✅ 3s
ProtoPromiseTests.APIs.Threading.AsyncManualResetEventTests 19✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncMonitorTests 38✅ 5s
ProtoPromiseTests.APIs.Threading.AsyncReaderWriterLockTests 186✅ 20s
ProtoPromiseTests.APIs.Threading.AsyncSemaphoreTests 21✅ 2s
ProtoPromiseTests.APIs.UncaughtRejectionTests 76✅ 8s
ProtoPromiseTests.APIs.WaitAsyncTests 8880✅ 952s
ProtoPromiseTests.Concurrency.AllConcurrencyTests 256✅ 45s
ProtoPromiseTests.Concurrency.ApiWithCancelationTokenConcurrencyTests 36✅ 42s
ProtoPromiseTests.Concurrency.AsyncLazyConcurrencyTests 3✅ 771ms
ProtoPromiseTests.Concurrency.AwaitConcurrencyTests 22✅ 3s
ProtoPromiseTests.Concurrency.CancelationConcurrencyTests 43✅ 7s
ProtoPromiseTests.Concurrency.DeferredConcurrencyTests 12✅ 1s
ProtoPromiseTests.Concurrency.DeferredThreadTests 10✅ 1s
ProtoPromiseTests.Concurrency.FirstConcurrencyTests 256✅ 42s
ProtoPromiseTests.Concurrency.MergeConcurrencyTests 416✅ 531s
ProtoPromiseTests.Concurrency.PromiseConcurrencyTests 50✅ 14s
ProtoPromiseTests.Concurrency.PromiseNonPreservedConcurrencyTests 156✅ 22s
ProtoPromiseTests.Concurrency.RaceConcurrencyTests 256✅ 46s
ProtoPromiseTests.Concurrency.Threading.AsyncAutoResetEventConcurrencyTests 8✅ 4s
ProtoPromiseTests.Concurrency.Threading.AsyncCountdownEventConcurrencyTests 16✅ 7s
ProtoPromiseTests.Concurrency.Threading.AsyncLockConcurrencyTests 12✅ 129s
ProtoPromiseTests.Concurrency.Threading.AsyncManualResetEventConcurrencyTests 8✅ 3s
ProtoPromiseTests.Concurrency.Threading.AsyncReaderWriterLockConcurrencyTests 654✅ 277s
ProtoPromiseTests.Concurrency.Threading.AsyncSemaphoreConcurrencyTests 12✅ 60s
ProtoPromiseTests.Concurrency.WaitAsyncConcurrencyTests 192✅ 23s