MCPcopy Create free account
hub / github.com/apache/thrift / swap

Method swap

compiler/cpp/tests/catch/catch.hpp:8243–8253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8241 }
8242
8243 void TestCase::swap( TestCase& other ) {
8244 test.swap( other.test );
8245 name.swap( other.name );
8246 className.swap( other.className );
8247 description.swap( other.description );
8248 tags.swap( other.tags );
8249 lcaseTags.swap( other.lcaseTags );
8250 tagsAsString.swap( other.tagsAsString );
8251 std::swap( TestCaseInfo::properties, static_cast<TestCaseInfo&>( other ).properties );
8252 std::swap( lineInfo, other.lineInfo );
8253 }
8254
8255 void TestCase::invoke() const {
8256 test->invoke();

Callers 2

testGroupEndedMethod · 0.45
testRunEndedMethod · 0.45

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected