Home
last modified time | relevance | path

Searched refs:TEST_THROW (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_esp_event_cxx.cpp158 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);
259TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(1…
270TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(1…
291TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(4…
[all …]
Dtest_cxx_exceptions.cpp25 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);
Dunity_cxx.hpp15 #define TEST_THROW(expr_, exception_) \ macro
Dtest_i2c.cpp64 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);