permission_handler_web_test.dart
8.7 KB
-
Support web implementation of permission_handler (#1121) · a021685f
* added integration tests * added basic integration tests * updated integration tests * continued integration tests * added unit test file * Move each permission request to its own private method * Add unit tests and fake web permission handler plugin * added unit tests for camera and microphone * Updated documentation files * Create superclass web_handler.dart * Use OOP delegation pattern for web_handler * Change web_handler.dart to web_delegate.dart * Make WebDelegate class initialization lazy * Create unit test for each method and permission * removed redundant integration_test module * remove redundant test_driver module * Revert unneeded files and add api docs * Add geolocation to web permission_handler * Formatted web_delegate.dart * Avoid swallowing request permission exception * Replace UnimplementedError with UnsupportedError for requestPermissions method Co-authored-by: Maurits van Beusekom <maurits@baseflow.com> * Make WebDelegate instance variables private --------- Co-authored-by: Victor Sanni <victorsanni@google.com> Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Victor Sanni committed