Skip to content

Commit

Permalink
Fixing UT constants to use correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Feb 14, 2025
1 parent a5c853b commit 9acb2bd
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 43 deletions.
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

0 comments on commit 9acb2bd

Please sign in to comment.