Skip to content

Commit

Permalink
Update new component templates to not fail grossly
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff Foster committed Mar 11, 2024
1 parent bc76b9e commit a06476e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
#pragma once

#include <cstdint>

/**
* Demonstration component function.
* @return int32_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include "@PROJECT_NAME@/public/export.h"

#include <cstdint>

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 1 addition & 1 deletion cmake/idi/templates/template_component/tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "@PROJECT_NAME@/@__idi_new_component_name@.hpp"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

TEST_CASE("Template component test CHANGE ME!!!!!!!!!", "[@__idi_new_component_name@]") {
SECTION("Internal API calls.") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "@PROJECT_NAME@/public/@__idi_new_component_name@_public.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

TEST_CASE("Template public component test CHANGE ME!!!!!!!!!", "[@__idi_new_component_name@]") {
SECTION("Public API calls.") {
Expand Down

0 comments on commit a06476e

Please sign in to comment.