Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAN-209 create test suite #29

Merged
merged 41 commits into from
Aug 8, 2023

Conversation

ksidirop-laerdal
Copy link
Collaborator

No description provided.

ksidirop-laerdal and others added 30 commits August 2, 2023 19:49
…will now be interpreted as 'wait forever' in the case that it is zero (old was: 0 would be honored as normal timeout)
…pecifying (optionally) a custom android-context
  the eraser-proxy now supports an interface and a new internal constructor has been implemented which supports passing a custom proxy so as to facilitate mocking and testing
…ass unit-test friendly

   the implementations of ios and android have been realigned so that the native firmware-eraser implements the exact same interface for both world which in turn will allow us to mock it away in the exact same way for both platforms in our test suite

   this was deemed necessary to simplify the test suite altogether
…) and BeginErasure() to the shared part since they became identical in both iOS and Android over the last few commits
…y implementing the IFirmwareEraserEventEmitters interface so that these methods won't have to be public anymore
…ests instead of vstest@3 which is only supported in windows
…few commits causing the build to always build the ios stuff even in non-osx platforms
…-framework-4.8 (old was: .net7 which was causing problems in macos)
…get 'Tests' and enrich the builder to invoke it
…ations of msbuild in the 'runtests' target to try and resolve a bug we observed in azure pipelines
…ipelines which was causing the packages of the test project to not be restored at all
…ary commit to consolidate and simplify version handling
…eFirmwareEraser()): raise the completion timeout to 1sec

   old was 150ms which was causing phantom timeouts in the azure pipeline
   the mocked up beginerasure() method now behaves properly in terms of launching its mocked up work in the background
…idn't use task.run on methods like BeginErase()

[skip ci]
@ksidirop-laerdal ksidirop-laerdal merged commit d514101 into develop Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants