Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
renamed frame format to frame parsing, removed trivial unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crsz20 committed Jan 3, 2024
1 parent 7258ef4 commit 2dba1db
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
* GPL-3.0 License
*/

#include "frame_formats.hpp"

#include <cmath>
#include "frame_parsing.hpp"

namespace sensor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
* GPL-3.0 License
*/

#ifndef ECU_PE3_FRAME_FORMATS_H
#define ECU_PE3_FRAME_FORMATS_H
#ifndef ECU_PE3_FRAME_PARSING_H
#define ECU_PE3_FRAME_PARSING_H

// Standard Libraries
#include <cstdint>
#include <vector>
#include <cmath>

namespace sensor {

Expand Down Expand Up @@ -135,4 +136,4 @@ struct FrameFormat5 {

}

#endif // ECU_PE3_FRAME_FORMATS_H
#endif // ECU_PE3_FRAME_PARSING_H
5 changes: 2 additions & 3 deletions Project/Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ add_executable(
Src/hello_test.cc

# PE3 ECU CAN Bus Messaging Tests
../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_formats.hpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_formats.cpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_parsing.hpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_parsing.cpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/Frames/frame_pe1.hpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/Frames/frame_pe2.hpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/Frames/frame_pe3.hpp
Expand All @@ -41,7 +41,6 @@ add_executable(
../DAQ_System/Program/Src/Sensor/ECU/PE3/Frames/frame_pe15.hpp
../DAQ_System/Program/Src/Sensor/ECU/PE3/Frames/frame_pe16.hpp
Src/Sensor/ECU/PE3/frame_parsing_tests.cpp
Src/Sensor/ECU/PE3/frame_formats_tests.cpp
)

# Linking with `gtest_main` instead of `gtest` allows us to bypass having
Expand Down
93 changes: 0 additions & 93 deletions Project/Tests/Src/Sensor/ECU/PE3/frame_formats_tests.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion Project/Tests/Src/Sensor/ECU/PE3/frame_parsing_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <gmock/gmock.h>

// DFR Custom Dependencies
#include "../../../../../../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_formats.hpp"
#include "../../../../../../DAQ_System/Program/Src/Sensor/ECU/PE3/frame_parsing.hpp"

namespace sensor {

Expand Down

0 comments on commit 2dba1db

Please sign in to comment.