GetEmitOutput And Testfiles

Yes. We change the enum to have clearer status result