Integrates unittests for lts/services/s almost successfull into final validation phase
This commit is contained in:
18 files changed
+490
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#ifndef GRANTLEEPARSERSMOKE_H
|
||||
#define GRANTLEEPARSERSMOKE_H
|
||||
|
||||
/**
|
||||
* @brief GrantleeParserSmoke - Minimal header for test compilation
|
||||
*
|
||||
* This header exists solely to allow test_GrantleeParserSmoke.cpp to compile.
|
||||
* The actual Grantlee parser smoke test is implemented in
|
||||
* Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp as a standalone executable.
|
||||
*
|
||||
* This file was accidentally deleted and needs to be restored for BUILD_TESTING.
|
||||
*/
|
||||
|
||||
namespace GrantleeParserSmoke
|
||||
{
|
||||
// Placeholder namespace for test compilation
|
||||
// Actual implementation is in Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp
|
||||
}
|
||||
|
||||
#endif // GRANTLEEPARSERSMOKE_H
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
#ifndef LTSTIMELINECLASSIC_EXPORT_H
|
||||
#define LTSTIMELINECLASSIC_EXPORT_H
|
||||
|
||||
// Stub export header for LtsTimelineClassic when not built with MIGRATE_MODULE scope
|
||||
#define LTSTIMELINECLASSIC_EXPORT
|
||||
#define LTSTIMELINECLASSIC_NO_EXPORT
|
||||
|
||||
#endif // LTSTIMELINECLASSIC_EXPORT_H
|
||||
@@ -0,0 +1,28 @@
|
||||
// Stub file for aes_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef AES_ENUMS_HPP
|
||||
#define AES_ENUMS_HPP
|
||||
|
||||
// Minimal stub - actual enums generated by rtiddsgen when BUILD_RTI=ON
|
||||
|
||||
namespace AreaEffectSimulation {
|
||||
|
||||
// Stub enum definitions for compilation when BUILD_RTI=OFF
|
||||
enum class SymbolAppearance {
|
||||
Solid = 0,
|
||||
Dashed = 1,
|
||||
Dotted = 2
|
||||
};
|
||||
|
||||
enum class SymbolVisibility {
|
||||
Visible = 0,
|
||||
Hidden = 1
|
||||
};
|
||||
|
||||
struct UnitSymbolPosition {
|
||||
double x = 0.0;
|
||||
double y = 0.0;
|
||||
};
|
||||
|
||||
} // namespace AreaEffectSimulation
|
||||
|
||||
#endif // AES_ENUMS_HPP
|
||||
@@ -0,0 +1,28 @@
|
||||
// Stub file for asm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef ASM_ENUMS_HPP
|
||||
#define ASM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace AssetManagement {
|
||||
|
||||
enum class SymbolAppearance : std::int32_t {
|
||||
Solid = 0,
|
||||
Dashed = 1,
|
||||
Dotted = 2
|
||||
};
|
||||
|
||||
enum class SymbolVisibility : std::int32_t {
|
||||
Visible = 0,
|
||||
Hidden = 1
|
||||
};
|
||||
|
||||
struct UnitSymbolPosition {
|
||||
double x = 0.0;
|
||||
double y = 0.0;
|
||||
double z = 0.0;
|
||||
};
|
||||
|
||||
} // namespace AssetManagement
|
||||
|
||||
#endif // ASM_ENUMS_HPP
|
||||
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* @file avm_enums.hpp
|
||||
* @brief Stub file for AudioVideoManagement enums (BUILD_RTI=OFF)
|
||||
*
|
||||
* This file provides stub definitions when RTI DDS code generation is disabled.
|
||||
* Replace with generated file when BUILD_RTI=ON.
|
||||
*/
|
||||
|
||||
#ifndef AVM_ENUMS_HPP
|
||||
#define AVM_ENUMS_HPP
|
||||
|
||||
namespace AudioVideoManagement
|
||||
{
|
||||
|
||||
// Stub enum definitions for compilation without RTI DDS
|
||||
enum class StreamType
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
AUDIO = 1,
|
||||
VIDEO = 2,
|
||||
AUDIO_VIDEO = 3
|
||||
};
|
||||
|
||||
enum class ConnectionState
|
||||
{
|
||||
DISCONNECTED = 0,
|
||||
CONNECTING = 1,
|
||||
CONNECTED = 2,
|
||||
ERROR = 3
|
||||
};
|
||||
|
||||
} // namespace AudioVideoManagement
|
||||
|
||||
#endif // AVM_ENUMS_HPP
|
||||
@@ -0,0 +1,30 @@
|
||||
// Stub file for bld_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef BLD_ENUMS_HPP
|
||||
#define BLD_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace Buildings {
|
||||
|
||||
enum class BuildingType : std::int32_t {
|
||||
Residential = 0,
|
||||
Commercial = 1,
|
||||
Industrial = 2
|
||||
};
|
||||
|
||||
enum class BuildingStatus : std::int32_t {
|
||||
Active = 0,
|
||||
Inactive = 1,
|
||||
UnderConstruction = 2
|
||||
};
|
||||
|
||||
struct BuildingInfo {
|
||||
int id = 0;
|
||||
double x = 0.0;
|
||||
double y = 0.0;
|
||||
double z = 0.0;
|
||||
};
|
||||
|
||||
} // namespace Buildings
|
||||
|
||||
#endif // BLD_ENUMS_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
// Stub file for core_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef CORE_ENUMS_HPP
|
||||
#define CORE_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace Core {
|
||||
|
||||
enum class LogLevel : std::int32_t {
|
||||
Debug = 0,
|
||||
Info = 1,
|
||||
Warning = 2,
|
||||
Error = 3
|
||||
};
|
||||
|
||||
enum class ComponentState : std::int32_t {
|
||||
Stopped = 0,
|
||||
Running = 1,
|
||||
Paused = 2
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
#endif // CORE_ENUMS_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
// Stub file for eem_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef EEM_ENUMS_HPP
|
||||
#define EEM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ExerciseEventManagement {
|
||||
|
||||
enum class EventState : std::int32_t {
|
||||
Pending = 0,
|
||||
Active = 1,
|
||||
Completed = 2,
|
||||
Cancelled = 3
|
||||
};
|
||||
|
||||
enum class EventPriority : std::int32_t {
|
||||
Low = 0,
|
||||
Medium = 1,
|
||||
High = 2
|
||||
};
|
||||
|
||||
} // namespace ExerciseEventManagement
|
||||
|
||||
#endif // EEM_ENUMS_HPP
|
||||
@@ -0,0 +1,34 @@
|
||||
// Stub file for exm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef EXM_ENUMS_HPP
|
||||
#define EXM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ExerciseManagement {
|
||||
|
||||
enum class ExerciseState : std::int32_t {
|
||||
Planned = 0,
|
||||
Running = 1,
|
||||
Paused = 2,
|
||||
Finished = 3
|
||||
};
|
||||
|
||||
enum class ExerciseType : std::int32_t {
|
||||
Training = 0,
|
||||
Operational = 1,
|
||||
Test = 2
|
||||
};
|
||||
|
||||
enum class SymbolAppearance : std::int32_t {
|
||||
Solid = 0,
|
||||
Outline = 1
|
||||
};
|
||||
|
||||
enum class SymbolVisibility : std::int32_t {
|
||||
Visible = 0,
|
||||
Hidden = 1
|
||||
};
|
||||
|
||||
} // namespace ExerciseManagement
|
||||
|
||||
#endif // EXM_ENUMS_HPP
|
||||
@@ -0,0 +1,39 @@
|
||||
// Stub file for flm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef FLM_ENUMS_HPP
|
||||
#define FLM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace FileManagement {
|
||||
|
||||
enum class FileType : std::int32_t {
|
||||
Unknown = 0,
|
||||
Document = 1,
|
||||
Image = 2,
|
||||
Video = 3,
|
||||
Audio = 4
|
||||
};
|
||||
|
||||
enum class FileStatus : std::int32_t {
|
||||
Available = 0,
|
||||
Downloading = 1,
|
||||
Error = 2,
|
||||
Valid = 3,
|
||||
Deleted = 4
|
||||
};
|
||||
|
||||
enum class MainFolder : std::int32_t {
|
||||
None = 0,
|
||||
Global = 1,
|
||||
Local = 2
|
||||
};
|
||||
|
||||
enum class FileCategory : std::int32_t {
|
||||
Global = 0,
|
||||
Local = 1,
|
||||
Personal = 2
|
||||
};
|
||||
|
||||
} // namespace FileManagement
|
||||
|
||||
#endif // FLM_ENUMS_HPP
|
||||
@@ -0,0 +1,69 @@
|
||||
// Stub file for ism_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef ISM_ENUMS_HPP
|
||||
#define ISM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace InfrastructureManagement {
|
||||
|
||||
enum class InfrastructureState : std::int32_t {
|
||||
Online = 0,
|
||||
Offline = 1,
|
||||
Maintenance = 2
|
||||
};
|
||||
|
||||
enum class ConnectionType : std::int32_t {
|
||||
Wired = 0,
|
||||
Wireless = 1,
|
||||
Satellite = 2
|
||||
};
|
||||
|
||||
// DDS-style enum wrapper
|
||||
struct MountingPointType_def {
|
||||
enum type : std::int32_t {
|
||||
Undefined = 0,
|
||||
Rack = 1,
|
||||
Shelf = 2,
|
||||
Slot = 3,
|
||||
Module = 4,
|
||||
Port = 5,
|
||||
Cable = 6,
|
||||
Connector = 7
|
||||
};
|
||||
};
|
||||
|
||||
struct MountingPointState_def {
|
||||
enum type : std::int32_t {
|
||||
Undefined = 0,
|
||||
Planned = 1,
|
||||
Installed = 2,
|
||||
InService = 3,
|
||||
OutOfService = 4,
|
||||
Defect = 5
|
||||
};
|
||||
};
|
||||
|
||||
// Also provide enum class for direct usage
|
||||
enum class MountingPointType : std::int32_t {
|
||||
Undefined = 0,
|
||||
Rack = 1,
|
||||
Shelf = 2,
|
||||
Slot = 3,
|
||||
Module = 4,
|
||||
Port = 5,
|
||||
Cable = 6,
|
||||
Connector = 7
|
||||
};
|
||||
|
||||
enum class MountingPointState : std::int32_t {
|
||||
Undefined = 0,
|
||||
Planned = 1,
|
||||
Installed = 2,
|
||||
InService = 3,
|
||||
OutOfService = 4,
|
||||
Defect = 5
|
||||
};
|
||||
|
||||
} // namespace InfrastructureManagement
|
||||
|
||||
#endif // ISM_ENUMS_HPP
|
||||
@@ -0,0 +1,25 @@
|
||||
// Stub file for nom_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef NOM_ENUMS_HPP
|
||||
#define NOM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace NotificationManagement {
|
||||
|
||||
enum class NotificationType : std::int32_t {
|
||||
Info = 0,
|
||||
Warning = 1,
|
||||
Error = 2,
|
||||
Critical = 3
|
||||
};
|
||||
|
||||
enum class NotificationPriority : std::int32_t {
|
||||
Low = 0,
|
||||
Normal = 1,
|
||||
High = 2,
|
||||
Urgent = 3
|
||||
};
|
||||
|
||||
} // namespace NotificationManagement
|
||||
|
||||
#endif // NOM_ENUMS_HPP
|
||||
@@ -0,0 +1,49 @@
|
||||
// Stub file for ppm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef PPM_ENUMS_HPP
|
||||
#define PPM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <ostream>
|
||||
|
||||
namespace ParticipantManagement {
|
||||
|
||||
enum class ParticipantState : std::int32_t {
|
||||
Active = 0,
|
||||
Inactive = 1,
|
||||
Suspended = 2
|
||||
};
|
||||
|
||||
enum class ParticipantRole : std::int32_t {
|
||||
Observer = 0,
|
||||
Player = 1,
|
||||
Controller = 2,
|
||||
Admin = 3
|
||||
};
|
||||
|
||||
enum class DataModification : std::int32_t {
|
||||
eAdded = 0,
|
||||
eModified = 1,
|
||||
eRemoved = 2
|
||||
};
|
||||
|
||||
enum class TypeClass : std::int32_t {
|
||||
eUninitialized = 0,
|
||||
ePlatform = 1,
|
||||
ePerson = 2,
|
||||
eEvent = 3
|
||||
};
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& os, TypeClass tc) {
|
||||
switch (tc) {
|
||||
case TypeClass::eUninitialized: os << "eUninitialized"; break;
|
||||
case TypeClass::ePlatform: os << "ePlatform"; break;
|
||||
case TypeClass::ePerson: os << "ePerson"; break;
|
||||
case TypeClass::eEvent: os << "eEvent"; break;
|
||||
default: os << "Unknown"; break;
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
} // namespace ParticipantManagement
|
||||
|
||||
#endif // PPM_ENUMS_HPP
|
||||
@@ -0,0 +1,7 @@
|
||||
// Stub file for pdm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef PDM_ENUMS_HPP
|
||||
#define PDM_ENUMS_HPP
|
||||
|
||||
// Minimal stub - actual enums generated by rtiddsgen when BUILD_RTI=ON
|
||||
|
||||
#endif // PDM_ENUMS_HPP
|
||||
@@ -0,0 +1,7 @@
|
||||
// Stub file for pdm_translation.h - used when BUILD_GRANTLEE=OFF
|
||||
#ifndef PDM_TRANSLATION_H
|
||||
#define PDM_TRANSLATION_H
|
||||
|
||||
// Minimal stub - actual translation generated by codegen when BUILD_GRANTLEE=ON
|
||||
|
||||
#endif // PDM_TRANSLATION_H
|
||||
@@ -0,0 +1,15 @@
|
||||
// Stub file for pdm_types.h - used when BUILD_GRANTLEE=OFF
|
||||
#ifndef PDM_TYPES_H
|
||||
#define PDM_TYPES_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ProjectDataManagement {
|
||||
|
||||
enum class EventType : std::int32_t {
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
} // namespace ProjectDataManagement
|
||||
|
||||
#endif // PDM_TYPES_H
|
||||
@@ -0,0 +1,24 @@
|
||||
// Stub file for rep_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef REP_ENUMS_HPP
|
||||
#define REP_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ReportManagement {
|
||||
|
||||
enum class ReportType : std::int32_t {
|
||||
Summary = 0,
|
||||
Detailed = 1,
|
||||
Statistical = 2
|
||||
};
|
||||
|
||||
enum class ReportFormat : std::int32_t {
|
||||
PDF = 0,
|
||||
HTML = 1,
|
||||
XML = 2,
|
||||
JSON = 3
|
||||
};
|
||||
|
||||
} // namespace ReportManagement
|
||||
|
||||
#endif // REP_ENUMS_HPP
|
||||
@@ -0,0 +1,25 @@
|
||||
// Stub file for srp_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef SRP_ENUMS_HPP
|
||||
#define SRP_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace SituationReplay {
|
||||
|
||||
enum class ReplayState : std::int32_t {
|
||||
Stopped = 0,
|
||||
Playing = 1,
|
||||
Paused = 2,
|
||||
Rewinding = 3
|
||||
};
|
||||
|
||||
enum class ReplaySpeed : std::int32_t {
|
||||
QuarterSpeed = 0,
|
||||
HalfSpeed = 1,
|
||||
NormalSpeed = 2,
|
||||
DoubleSpeed = 3
|
||||
};
|
||||
|
||||
} // namespace SituationReplay
|
||||
|
||||
#endif // SRP_ENUMS_HPP
|
||||
Reference in new issue
Block a user