test: gstreamer: Drop internal header from base class

The internal header isn't needed. The needed function
libcameraBuildPath() is exposed by libcamera/base/utils.h header.
At the same time, move the utils header to .cpp instead of including
it in the base class header itself.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Umang Jain 2022-07-21 19:15:30 +05:30
parent 5bb87f0f3a
commit 1b80d9e997
2 changed files with 2 additions and 4 deletions

View file

@ -5,6 +5,8 @@
* libcamera Gstreamer element API tests * libcamera Gstreamer element API tests
*/ */
#include <libcamera/base/utils.h>
#include "gstreamer_test.h" #include "gstreamer_test.h"
#include "test.h" #include "test.h"

View file

@ -10,10 +10,6 @@
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>
#include <libcamera/base/utils.h>
#include "libcamera/internal/source_paths.h"
#include <gst/gst.h> #include <gst/gst.h>
class GstreamerTest class GstreamerTest