• 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
.ci.yaml 142 KB