cmoon::test::test_case::test_case





test_case() noexcept;


(1)


test_case(std::string name) noexcept;


(2)


test_case(const test_case& other);


(3)


test_case(test_case&& other) noexcept;


(4)

1) Constructs a test case with a blank name.

2) Constructs a test case with the given name.

3) Copy constructor.

4) Move constructor.

Parameters

name - name for the test case
other - another test case object to copy/move

Exceptions

3) May throw std::bad_alloc from copying the name