Test

group Test_os

os Tests

lorem

Version

1.0.0

Date

10.22.2021

Author

collaborative

Macros

group Macros_os_ut_c

Defines

TEST_DESCRIPTION(desc)
TEST_OS_START_EXECUTIONFLOW()
TEST_OS_GETOSCFG_RETURNVALUE()
TEST_OS_KERNELPANIC_EXECUTIONFLOW_PRIVILEGED_MODE()
TEST_OS_KERNELPANIC_EXECUTIONFLOW_UNPRIVILEGED_MODE()
TEST_TIMEOUT_BEGIN
TEST_TIMEOUT_FAIL_END(X)
TEST_TIMEOUT_SUCCESS_END(X)

Variables

group Variables_os_ut_c

Variables

CosmOS_CoreVariableType CoresVar[CORE_NUM] IS_INITIALIZED_TO  {{(CosmOS_SchedulableConfigurationType*)NULL,(CosmOS_ProgramConfigurationType*)NULL,OS_STATE_ENUM__NOT_INITIALIZED,},{(CosmOS_SchedulableConfigurationType*)NULL,(CosmOS_ProgramConfigurationType*)NULL,OS_STATE_ENUM__NOT_INITIALIZED,},}
CosmOS_OsConfigurationType OsCfg
CosmOS_OsVariableType OsVar
CosmOS_CoreConfigurationType CoresCfgConst[2]
CosmOS_CoreVariableType CoresVar[2]
static std::unique_ptr<UtCfg_MOCK> _UtCfgMock

Functions

group functions_os_ut_c

Functions

void dummyKernelPanic_core0()

Types

group types_os_ut_c
class UtCfg_MOCK
class UtCfg_TestFixture : public testing::Test

Testcases

group testcases_os_ut_c

Functions

TEST(Test_os, os_start_executionFlow)

This test validates execution flow of the os_start function.

See also

os_start

Author

https://github.com/PavolKostolansky

TEST(Test_os, os_getOsVar_returnValue)

This test validates return value of the os_getOsCfg function.

See also

os_getOsCfg

Authors

https://github.com/florianL21 https://github.com/PavolKostolansky

TEST(Test_os, os_kernelPanic_executionFlow_unprivileged_mode)

This test validates execution flow of the os_kernelPanic function in unprivileged mode.

See also

os_kernelPanic

Author

https://github.com/PavolKostolansky

TEST(Test_os, os_kernelPanic_executionFlow_privileged_mode)

This test validates execution flow of the os_kernelPanic function in privileged mode.

See also

os_kernelPanic

Author

https://github.com/PavolKostolansky