PipelineTest.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /***************************************************************************
  2. *
  3. * Project _____ __ ____ _ _
  4. * ( _ ) /__\ (_ _)_| |_ _| |_
  5. * )(_)( /(__)\ )( (_ _)(_ _)
  6. * (_____)(__)(__)(__) |_| |_|
  7. *
  8. *
  9. * Copyright 2018-present, Leonid Stryzhevskyi <lganzzzo@gmail.com>
  10. *
  11. * Licensed under the Apache License, Version 2.0 (the "License");
  12. * you may not use this file except in compliance with the License.
  13. * You may obtain a copy of the License at
  14. *
  15. * http://www.apache.org/licenses/LICENSE-2.0
  16. *
  17. * Unless required by applicable law or agreed to in writing, software
  18. * distributed under the License is distributed on an "AS IS" BASIS,
  19. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  20. * See the License for the specific language governing permissions and
  21. * limitations under the License.
  22. *
  23. ***************************************************************************/
  24. #ifndef oatpp_test_web_PipelineTest_hpp
  25. #define oatpp_test_web_PipelineTest_hpp
  26. #include "oatpp-test/UnitTest.hpp"
  27. namespace oatpp { namespace test { namespace web {
  28. class PipelineTest : public UnitTest {
  29. private:
  30. v_uint16 m_port;
  31. v_int32 m_pipelineSize;
  32. public:
  33. PipelineTest(v_uint16 port, v_int32 pipelineSize)
  34. : UnitTest("TEST[web::PipelineTest]")
  35. , m_port(port)
  36. , m_pipelineSize(pipelineSize)
  37. {}
  38. void onRun() override;
  39. };
  40. }}}
  41. #endif // oatpp_test_web_PipelineTest_hpp