"using namespace" in a header file propagates the namespace to the files including the header file. So it should be avoided. This removes "using namespace" in header files in test. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
31 lines
776 B
C++
31 lines
776 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2019, Google Inc.
|
|
*
|
|
* serialization_test.h - Base class for serialization tests
|
|
*/
|
|
#ifndef __LIBCAMERA_SERIALIZATION_TEST_H__
|
|
#define __LIBCAMERA_SERIALIZATION_TEST_H__
|
|
|
|
#include <libcamera/camera.h>
|
|
#include <libcamera/camera_manager.h>
|
|
#include <libcamera/controls.h>
|
|
|
|
#include "camera_test.h"
|
|
#include "test.h"
|
|
|
|
class SerializationTest : public CameraTest, public Test
|
|
{
|
|
public:
|
|
SerializationTest()
|
|
: CameraTest("platform/vimc.0 Sensor B")
|
|
{
|
|
}
|
|
|
|
static bool equals(const libcamera::ControlInfoMap &lhs,
|
|
const libcamera::ControlInfoMap &rhs);
|
|
static bool equals(const libcamera::ControlList &lhs,
|
|
const libcamera::ControlList &rhs);
|
|
};
|
|
|
|
#endif /* __LIBCAMERA_SERIALIZATION_TEST_H__ */
|