first commit
This commit is contained in:
commit
e6a42e28e9
4355 changed files with 4626605 additions and 0 deletions
20
libraries/ArduinoJson/extras/tests/Misc/NoArduinoHeader.cpp
Normal file
20
libraries/ArduinoJson/extras/tests/Misc/NoArduinoHeader.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// ArduinoJson - https://arduinojson.org
|
||||
// Copyright © 2014-2025, Benoit BLANCHON
|
||||
// MIT License
|
||||
|
||||
#define ARDUINO 1
|
||||
#define ARDUINOJSON_ENABLE_PROGMEM 0
|
||||
#define ARDUINOJSON_ENABLE_ARDUINO_STRING 0
|
||||
#define ARDUINOJSON_ENABLE_ARDUINO_STREAM 0
|
||||
#define ARDUINOJSON_ENABLE_ARDUINO_PRINT 0
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
#include <catch.hpp>
|
||||
|
||||
TEST_CASE("Arduino.h") {
|
||||
#ifdef ARDUINO_H_INCLUDED
|
||||
FAIL("Arduino.h should not be included");
|
||||
#else
|
||||
INFO("Arduino.h not included");
|
||||
#endif
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue