Skip to content

Commit 18a1e66

Browse files
Antti Kauppilaadbridge
authored andcommitted
LoRaMac unittested
1 parent 8bed43e commit 18a1e66

File tree

20 files changed

+642
-41
lines changed

20 files changed

+642
-41
lines changed

UNITTESTS/features/lorawan/loramac/Test_LoRaMac.cpp

Lines changed: 507 additions & 0 deletions
Large diffs are not rendered by default.

UNITTESTS/features/lorawan/loraphy/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set(unittest-includes ${unittest-includes}
3333
set(unittest-test-sources
3434
../features/lorawan/loraphy/Test_LoRaPHY.cpp
3535
stubs/LoRaWANTimer_stub.cpp
36-
36+
stubs/mbed_assert_stub.c
3737
)
3838

3939

UNITTESTS/features/lorawan/loraphyas923/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set(unittest-test-sources
3434
../features/lorawan/loraphyas923/Test_LoRaPHYAS923.cpp
3535
stubs/LoRaPHY_stub.cpp
3636
stubs/LoRaWANTimer_stub.cpp
37+
stubs/mbed_assert_stub.c
3738

3839
)
3940

UNITTESTS/features/lorawan/loraphyau915/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set(unittest-test-sources
3434
../features/lorawan/loraphyau915/Test_LoRaPHYAU915.cpp
3535
stubs/LoRaPHY_stub.cpp
3636
stubs/LoRaWANTimer_stub.cpp
37+
stubs/mbed_assert_stub.c
3738

3839
)
3940

UNITTESTS/features/lorawan/loraphycn470/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set(unittest-test-sources
3434
../features/lorawan/loraphycn470/Test_LoRaPHYCN470.cpp
3535
stubs/LoRaPHY_stub.cpp
3636
stubs/LoRaWANTimer_stub.cpp
37+
stubs/mbed_assert_stub.c
3738

3839
)
3940

UNITTESTS/features/lorawan/loraphycn779/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ set(unittest-includes ${unittest-includes}
3333
set(unittest-test-sources
3434
../features/lorawan/loraphycn779/Test_LoRaPHYCN779.cpp
3535
stubs/LoRaPHY_stub.cpp
36+
stubs/mbed_assert_stub.c
3637

3738
)
3839

UNITTESTS/features/lorawan/loraphyeu433/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ set(unittest-includes ${unittest-includes}
3333
set(unittest-test-sources
3434
../features/lorawan/loraphyeu433/Test_LoRaPHYEU433.cpp
3535
stubs/LoRaPHY_stub.cpp
36+
stubs/mbed_assert_stub.c
3637

3738
)
3839

UNITTESTS/features/lorawan/loraphyeu868/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ set(unittest-includes ${unittest-includes}
3333
set(unittest-test-sources
3434
../features/lorawan/loraphyeu868/Test_LoRaPHYEU868.cpp
3535
stubs/LoRaPHY_stub.cpp
36+
stubs/mbed_assert_stub.c
3637

3738
)
3839

UNITTESTS/features/lorawan/loraphyin865/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ set(unittest-includes ${unittest-includes}
3333
set(unittest-test-sources
3434
../features/lorawan/loraphyin865/Test_LoRaPHYIN865.cpp
3535
stubs/LoRaPHY_stub.cpp
36+
stubs/mbed_assert_stub.c
3637

3738
)
3839

UNITTESTS/features/lorawan/loraphykr920/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set(unittest-test-sources
3434
../features/lorawan/loraphykr920/Test_LoRaPHYKR920.cpp
3535
stubs/LoRaPHY_stub.cpp
3636
stubs/LoRaWANTimer_stub.cpp
37+
stubs/mbed_assert_stub.c
3738

3839
)
3940

0 commit comments

Comments
 (0)