Searched refs:TEST_THROW (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/ |
D | test_esp_event_cxx.cpp | 158 TEST_THROW(ESPEventReg reg(nullptr, TEMPLATE_EVENT_0, api), EventException); 167 TEST_THROW(ESPEventReg reg(cb, TEMPLATE_EVENT_0, nullptr), EventException); 176 TEST_THROW(ESPEventReg cb([](const ESPEvent &, const void* data) { }, TEMPLATE_EVENT_0, api), in __anon298e7b430502() 186 TEST_THROW(ESPEventReg cb([](const ESPEvent &, const void* data) { }, TEMPLATE_EVENT_0, api), in __anon298e7b430602() 196 TEST_THROW(ESPEventReg([&](const ESPEvent &ev, const void*) { event = ev; }, ESPEvent(), api), in __anon298e7b430702() 237 TEST_THROW(ESPEventLoop event_loop, EventException); 249 TEST_THROW(event_loop.register_event(TEMPLATE_EVENT_0, event_cb), EventException); 259 …TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(1… 270 …TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(1… 291 …TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(4… [all …]
|
D | test_cxx_exceptions.cpp | 25 TEST_THROW(throw ESPException(ESP_FAIL);, ESPException); 32 TEST_THROW(throw std::exception();, ESPException); 37 TEST_THROW(printf(" ");, ESPException); // need statement with effect 49 TEST_THROW(CHECK_THROW(error), ESPException);
|
D | unity_cxx.hpp | 15 #define TEST_THROW(expr_, exception_) \ macro
|
D | test_i2c.cpp | 64 TEST_THROW(I2CMaster(0, 255, 255, 400000), I2CException); 69 TEST_THROW(I2CMaster(0, 0, 0, 400000), I2CException); 79 TEST_THROW(writer.do_transfer(I2C_MASTER_NUM, ADDR), I2CTransferException);
|