• stuartmorgan's avatar
    Add Linux unit tests to plugin template (#120814) · e65dfba8
    stuartmorgan authored
    * Add Linux unit tests to plugin template
    
    Adds an example native unit test to the plugin template for Linux,
    matching the structure we use for our 1P plugin unit tests. Once these
    have been added for all platforms+languages, they will be documented on
    a new plugin development page to explain their use.
    
    While ideally we would adjust the engine APIs first to allow for testing
    the method call handler directly, it's unclear when we will have time
    for that work, and for a complex plugin most of the testing wouldn't be
    at that layer anyway, so having the structure in place with the
    limitations documented is still a significant improvement over having
    nothing in the template.
    
    Part of https://github.com/flutter/flutter/issues/82458
    
    * Add creation test
    
    * Add integration tests
    
    * Missing newlines
    
    * test owner
    
    * Typo
    e65dfba8
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...