Skip to content

[camera] Add missing unit tests for Android refactor #88685

@BeMacized

Description

@BeMacized

This issue is created to track the progress on adding the remaining missing unit tests for the camera plugin, after flutter/plugins#4059 has been merged.

While the test coverage of the camera plugin has been improved with this series of pull requests, a few methods, particularly in the Camera class itself still remain untested. (More information on why these are still missing can be found here).

As of right now, specifically the following methods of the Camera class are still lacking tests:

  • open
  • takePicture
  • startVideoRecording
  • stopVideoRecording
  • setFocusMode
  • startPreview
  • startPreviewWithimageStream

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions