2026-03-27 14:12:49 +01:00
|
|
|
/********************************************************************************
|
|
|
|
|
* Copyright (c) 2025-2026 ZF Friedrichshafen AG
|
|
|
|
|
*
|
|
|
|
|
* This program and the accompanying materials are made available under the
|
|
|
|
|
* terms of the Apache License Version 2.0 which is available at
|
|
|
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*
|
|
|
|
|
* Contributors:
|
|
|
|
|
* Erik Verhoeven - initial API and implementation
|
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
2025-11-04 13:28:06 +01:00
|
|
|
#ifndef COMMANDLINE_PARSER_TEST_H
|
|
|
|
|
#define COMMANDLINE_PARSER_TEST_H
|
|
|
|
|
|
|
|
|
|
#include <support/mem_access.h>
|
|
|
|
|
#include <support/interface_ptr.h>
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Test class for instantiation tests.
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
class CCommandLineParserTest : public testing::Test
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Constructor
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
CCommandLineParserTest() = default;
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Set up the test suite.
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
static void SetUpTestCase();
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Tear down the test suite.
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
static void TearDownTestCase();
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Test setup.
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
void SetUp() override;
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-16 11:40:02 +01:00
|
|
|
* @brief Test teardown.
|
2025-11-04 13:28:06 +01:00
|
|
|
*/
|
|
|
|
|
void TearDown() override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // !defined COMMANDLINE_PARSER_TEST_H
|