Skip to content

Conversation

@eric-winkler
Copy link
Contributor

Because the screen identifier is later used to build a filename, extremely long type names (such as those from generic types) end up exceeding the 260 char limit on windows and tend to crash a test when disposing a ScreenRepository.

The test is a little ugly (relies on knowledge of the WindowItemsMap internals) as in the current implementation, it's essentially an integration issue between the ID generated by the ScreenRepository and the filename generated in WindowItemsMap.

A couple of approaches that could allow for this issue to be managed at a unit test level;

  • Changing the Identifier type on InitializeOption from string to Guid
  • Changing the Identifier type on InitializeOption from string to Type

@eric-winkler
Copy link
Contributor Author

I'm having difficulty reproducing these failures on my dev box, will try and re-trigger the test run.

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.

1 participant