MCPcopy Create free account
hub / github.com/Samsung/UTopia / TEST_F

Function TEST_F

tests/generation/TestProtobufMutator.cpp:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using TestProtobufMutatorDeathTest = TestProtobufMutator;
24
25TEST_F(TestProtobufMutator, IntP) {
26 auto IntT = std::make_shared<Type>(Type::TypeID_Integer);
27 IntT->setASTTypeName("int");
28 auto Def = std::make_shared<Definition>();
29 Def->DataType = IntT;
30 FuzzInput Input(Def);
31 Mutator.addInput(Input);
32 verifyGenerateResult();
33}
34
35TEST_F(TestProtobufMutator, IntArrP) {
36 auto ArrT = std::make_shared<Type>(Type::TypeID_Pointer);

Callers 1

ASSERT_DEATHFunction · 0.70

Calls 13

ASSERT_DEATHFunction · 0.85
setASTTypeNameMethod · 0.80
addInputMethod · 0.80
setMaxLengthMethod · 0.80
setLengthTypeMethod · 0.80
setArrayInfoMethod · 0.80
setPtrKindMethod · 0.80
setPointeeTypeMethod · 0.80
setAnyCharacterMethod · 0.80
setTypeSizeMethod · 0.80
setTypeNameMethod · 0.80
setGlobalDefMethod · 0.80

Tested by

no test coverage detected