Skip to content

Commit

Permalink
Regenerate unit test output
Browse files Browse the repository at this point in the history
  • Loading branch information
bocchino committed Jan 18, 2024
1 parent 10fcded commit 3b7eb66
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsAsync_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -105,7 +111,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsGuarded_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -131,7 +143,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnGuarded_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -157,7 +175,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnSync_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -178,7 +202,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsOut_OutputPort[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -199,7 +229,13 @@ void ActiveNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnOut_OutputPort[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsAsync_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -105,7 +111,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsGuarded_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -131,7 +143,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnGuarded_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -157,7 +175,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnSync_InputPort[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -178,7 +202,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsOut_OutputPort[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -199,7 +229,13 @@ void QueuedNoArgsPortsOnlyComponentBase ::
this->m_noArgsReturnOut_OutputPort[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_from_noArgsOut[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -59,7 +65,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_from_noArgsReturnOut[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -80,7 +92,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsAsync[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -101,7 +119,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsGuarded[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -122,7 +146,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsReturnGuarded[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -143,7 +173,13 @@ void ActiveNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsReturnSync[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_from_noArgsOut[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -59,7 +65,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_from_noArgsReturnOut[port].setPortNum(port);

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -80,7 +92,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsAsync[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -101,7 +119,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsGuarded[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -122,7 +146,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsReturnGuarded[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand All @@ -143,7 +173,13 @@ void QueuedNoArgsPortsOnlyTesterBase ::
this->m_to_noArgsReturnSync[port].init();

#if FW_OBJECT_NAMES == 1
char portName[FW_OBJ_NAME_MAX_SIZE];
// The port name consists of this->m_objName and some extra info.
// We expect all of this to fit in FW_OBJ_NAME_MAX_SIZE bytes.
// However, the compiler may assume that this->m_objName fills
// the entire array, whose size is FW_OBJ_NAME_MAX_SIZE. So to
// avoid a compiler warning, we provide an extra FW_OBJ_NAME_MAX_SIZE
// bytes to cover the extra info.
char portName[2*FW_OBJ_NAME_MAX_SIZE];
(void) snprintf(
portName,
sizeof(portName),
Expand Down

0 comments on commit 3b7eb66

Please sign in to comment.