[C++] add code generation framework test to unit test of OTF decoder.