test: camera: Remove streams argument from configurationValid()

In preparation of reworking how a default configuration is retrieved
from a camera remove the streams and validation using the stream when
judging if a camera configuration is valid. This is needed as once
stream usage hints are added applications will no longer fetch default
configuration based on Stream IDs so using them to verify the returned
format is not useful.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Niklas Söderlund 2019-03-27 20:19:05 +01:00
parent 30fe5bde5f
commit 8f08880082
5 changed files with 12 additions and 22 deletions

View file

@ -48,7 +48,7 @@ protected:
camera_->streamConfiguration(streams);
StreamConfiguration *sconf = &conf.begin()->second;
if (!configurationValid(streams, conf)) {
if (!configurationValid(conf)) {
cout << "Failed to read default configuration" << endl;
return TestFail;
}