Commit c41f90d7 authored by Paolo Ambrosio's avatar Paolo Ambrosio Committed by Kamil Strzempowicz
Browse files

Deprecated defs.hpp in favour of autodetect.hpp or generic.hpp

parent bc254f15
#include "internal/defs.hpp"
#ifndef STEP_INHERITANCE
#error No test framework found: please include a testing framework before autodetect.hpp or include defs.hpp
#error No test framework found: please include a testing framework before autodetect.hpp or include generic.hpp
#endif
#warning Use of defs.hpp is deprecated, please use either autodetect.hpp or generic.hpp
#include "internal/defs.hpp"
#ifndef STEP_INHERITANCE
#include "internal/drivers/GenericDriver.hpp"
......
#include "internal/defs.hpp"
#ifdef STEP_INHERITANCE
#error Test framework found: please include autodetect.hpp or remove the test framework includes
#else
#include "internal/drivers/GenericDriver.hpp"
#endif
#include <cucumber-cpp/defs.hpp>
#include <cucumber-cpp/generic.hpp>
#include "../../utils/DriverTestRunner.hpp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment