test_precomp.hpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. //
  5. // Copyright (C) 2018-2020 Intel Corporation
  6. // FIXME: OpenCV header
  7. #ifndef __OPENCV_GAPI_TEST_PRECOMP_HPP__
  8. #define __OPENCV_GAPI_TEST_PRECOMP_HPP__
  9. #include <cstdint>
  10. #include <thread>
  11. #include <vector>
  12. #include <opencv2/ts.hpp>
  13. #include <opencv2/gapi.hpp>
  14. #include <opencv2/gapi/core.hpp>
  15. #include <opencv2/gapi/imgproc.hpp>
  16. #include <opencv2/gapi/video.hpp>
  17. #include <opencv2/gapi/cpu/gcpukernel.hpp>
  18. #include <opencv2/gapi/gpu/ggpukernel.hpp>
  19. #include <opencv2/gapi/gpu/imgproc.hpp>
  20. #include <opencv2/gapi/gpu/core.hpp>
  21. #include <opencv2/gapi/gcompoundkernel.hpp>
  22. #include <opencv2/gapi/operators.hpp>
  23. #include <opencv2/gapi/fluid/imgproc.hpp>
  24. #include <opencv2/gapi/fluid/core.hpp>
  25. #include <opencv2/gapi/infer.hpp>
  26. namespace cv {
  27. static inline void countNonZero_is_forbidden_in_tests_use_norm_instead() {}
  28. }
  29. #define countNonZero() countNonZero_is_forbidden_in_tests_use_norm_instead()
  30. #undef RAND_MAX
  31. #define RAND_MAX RAND_MAX_is_banned_in_tests__use_cv_theRNG_instead
  32. #endif // __OPENCV_GAPI_TEST_PRECOMP_HPP__