summaryrefslogtreecommitdiff
path: root/src/drivers/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/test')
-rw-r--r--src/drivers/test/CMakeLists.txt4
-rw-r--r--src/drivers/test/test_battery.cpp6
-rw-r--r--src/drivers/test/test_dac.cpp6
-rw-r--r--src/drivers/test/test_gpio_expander.cpp6
-rw-r--r--src/drivers/test/test_storage.cpp6
5 files changed, 28 insertions, 0 deletions
diff --git a/src/drivers/test/CMakeLists.txt b/src/drivers/test/CMakeLists.txt
index c2f7ea65..90e7b3a1 100644
--- a/src/drivers/test/CMakeLists.txt
+++ b/src/drivers/test/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "test_storage.cpp" "test_gpio_expander.cpp" "test_battery.cpp" "test_dac.cpp"
INCLUDE_DIRS "." REQUIRES catch2 cmock drivers fixtures)
diff --git a/src/drivers/test/test_battery.cpp b/src/drivers/test/test_battery.cpp
index 4a52300d..690eb2b7 100644
--- a/src/drivers/test/test_battery.cpp
+++ b/src/drivers/test/test_battery.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "battery.hpp"
#include <cstdint>
diff --git a/src/drivers/test/test_dac.cpp b/src/drivers/test/test_dac.cpp
index 01583e34..edf9e1e9 100644
--- a/src/drivers/test/test_dac.cpp
+++ b/src/drivers/test/test_dac.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "dac.hpp"
#include <cstdint>
diff --git a/src/drivers/test/test_gpio_expander.cpp b/src/drivers/test/test_gpio_expander.cpp
index 791c0a71..2a31d9c7 100644
--- a/src/drivers/test/test_gpio_expander.cpp
+++ b/src/drivers/test/test_gpio_expander.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "gpio_expander.hpp"
#include "catch2/catch.hpp"
diff --git a/src/drivers/test/test_storage.cpp b/src/drivers/test/test_storage.cpp
index 54f9a467..90f2843a 100644
--- a/src/drivers/test/test_storage.cpp
+++ b/src/drivers/test/test_storage.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "storage.hpp"
#include <dirent.h>