Skip to content

Added support for specifying an extracted type tree data file#60

Open
paulb-unity wants to merge 6 commits intomainfrom
typetree-extraction-support
Open

Added support for specifying an extracted type tree data file#60
paulb-unity wants to merge 6 commits intomainfrom
typetree-extraction-support

Conversation

@paulb-unity
Copy link
Collaborator

Add command line option to specify extracted type tree data file.

Assert.AreEqual(0, await Program.Main(new string[] { "dump", m_SerializedFile, option, m_TypeTreeDataFile }));

var outputFiles = Directory.GetFiles(m_TestOutputFolder, "*.txt");
Assert.IsNotEmpty(outputFiles, "Expected dump output files when TypeTree data file is provided");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be good to check at least one expected part of content inside the dump file.
Otherwise a completely empty file would fool this test.
e.g. maybe the first line or some other simple and distinctive content.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added check to expect "m_GameObject (PPtr)" in the output file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants