Blender V5.0
blender::bke::cryptomatte::tests Namespace Reference

Functions

 TEST (cryptomatte, meta_data_key)
 TEST (cryptomatte, extract_layer_name)
 TEST (cryptomatte, layer)
 TEST (cryptomatte, layer_quoted)
static void test_cryptomatte_manifest (std::string expected, std::string manifest)
 TEST (cryptomatte, layer_from_manifest)
 TEST (cryptomatte, extract_layer_hash_from_metadata_key)
static void validate_cryptomatte_session_from_stamp_data (void *, const char *propname, char *propvalue, int)
 TEST (cryptomatte, session_from_stamp_data)
 TEST (cryptomatte, parsing_malformed_manifests)

Function Documentation

◆ TEST() [1/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
extract_layer_hash_from_metadata_key  )

◆ TEST() [2/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
extract_layer_name  )

◆ TEST() [3/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
layer  )

◆ TEST() [4/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
layer_from_manifest  )

Definition at line 62 of file cryptomatte_test.cc.

References test_cryptomatte_manifest().

◆ TEST() [5/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
layer_quoted  )

◆ TEST() [6/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
meta_data_key  )

◆ TEST() [7/8]

blender::bke::cryptomatte::tests::TEST ( cryptomatte ,
parsing_malformed_manifests  )

Test method that contains known malformed manifests and makes sure that these can be parsed as best as possible.

Definition at line 162 of file cryptomatte_test.cc.

References test_cryptomatte_manifest().

◆ TEST() [8/8]

◆ test_cryptomatte_manifest()

void blender::bke::cryptomatte::tests::test_cryptomatte_manifest ( std::string expected,
std::string manifest )
static

Definition at line 56 of file cryptomatte_test.cc.

References EXPECT_EQ().

Referenced by TEST(), and TEST().

◆ validate_cryptomatte_session_from_stamp_data()

void blender::bke::cryptomatte::tests::validate_cryptomatte_session_from_stamp_data ( void * ,
const char * propname,
char * propvalue,
int  )
static

Definition at line 93 of file cryptomatte_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::startswith().

Referenced by TEST().