Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing UT constants to use correct types #3237

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Drv/StreamCrossover/test/ut/StreamCrossoverTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ namespace Drv {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

//! Construct object StreamCrossoverTester
//!
Expand Down
6 changes: 3 additions & 3 deletions Drv/TcpClient/test/ut/TcpClientTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ namespace Drv {
public TcpClientGTestBase
{
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 1000;
static const U32 MAX_HISTORY_SIZE = 1000;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 100;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 100;

// ----------------------------------------------------------------------
// Construction and destruction
Expand Down
6 changes: 3 additions & 3 deletions Drv/TcpServer/test/ut/TcpServerTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ namespace Drv {
public TcpServerGTestBase
{
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 1000;
static const U32 MAX_HISTORY_SIZE = 1000;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 100;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 100;

// ----------------------------------------------------------------------
// Construction and destruction
Expand Down
6 changes: 3 additions & 3 deletions Drv/Udp/test/ut/UdpTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ namespace Drv {
public UdpGTestBase
{
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 1000;
static const U32 MAX_HISTORY_SIZE = 1000;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 100;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 100;

// ----------------------------------------------------------------------
// Construction and destruction
Expand Down
6 changes: 3 additions & 3 deletions FppTest/component/active/test/ut/Tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class Tester : public ActiveTestGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 100;
static const U32 MAX_HISTORY_SIZE = 100;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object Tester
//!
Expand Down
4 changes: 2 additions & 2 deletions FppTest/component/empty/test/ut/Tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class Tester : public EmptyGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

//! Construct object Tester
//!
Expand Down
6 changes: 3 additions & 3 deletions FppTest/component/passive/test/ut/Tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class Tester : public PassiveTestGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 100;
static const U32 MAX_HISTORY_SIZE = 100;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object Tester
//!
Expand Down
6 changes: 3 additions & 3 deletions FppTest/component/queued/test/ut/Tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class Tester : public QueuedTestGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 100;
static const U32 MAX_HISTORY_SIZE = 100;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object Tester
//!
Expand Down
6 changes: 3 additions & 3 deletions Ref/SignalGen/test/ut/SignalGenTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ namespace Ref {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object SignalGenTester
//!
Expand Down
4 changes: 2 additions & 2 deletions Svc/CmdSplitter/test/ut/CmdSplitterTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class CmdSplitterTester : public CmdSplitterGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

//! Construct object CmdSplitterTester
//!
Expand Down
4 changes: 2 additions & 2 deletions Svc/ComQueue/test/ut/ComQueueTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class ComQueueTester : public ComQueueGTestBase {
// ----------------------------------------------------------------------

// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

// Queue depth supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

private:
// ----------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions Svc/DpCatalog/test/ut/DpCatalogTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ namespace Svc {
// ----------------------------------------------------------------------

// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 100;
static const U32 MAX_HISTORY_SIZE = 100;

// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

// Queue depth supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

public:

Expand Down
6 changes: 3 additions & 3 deletions Svc/DpManager/test/ut/DpManagerTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class DpManagerTester : public DpManagerGTestBase {
// ----------------------------------------------------------------------

// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object DpManagerTester
DpManagerTester();
Expand Down
6 changes: 3 additions & 3 deletions Svc/DpWriter/test/ut/DpWriterTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ class DpWriterTester : public DpWriterGTestBase {
// ----------------------------------------------------------------------

// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;

// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

// Queue depth supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

public:
// ----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions Svc/PolyDb/test/ut/PolyDbTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ namespace Svc {
// ----------------------------------------------------------------------

// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;

// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;

public:

Expand Down
6 changes: 3 additions & 3 deletions Svc/SeqDispatcher/test/ut/SeqDispatcherTester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class SeqDispatcherTester : public SeqDispatcherGTestBase {

public:
// Maximum size of histories storing events, telemetry, and port outputs
static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10;
static const U32 MAX_HISTORY_SIZE = 10;
// Instance ID supplied to the component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0;
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
// Queue depth supplied to component instance under test
static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10;
static const FwSizeType TEST_INSTANCE_QUEUE_DEPTH = 10;

//! Construct object SeqDispatcherTester
//!
Expand Down
Loading