In my silverlight unit tests, I have several unit test methods of a single unit test class where in each method, I'm setting Thread.Name to some string. Now this should crash after the first one because the Thread.Name can't be set after it has already been assigned, I have also checked that each test method runs on a thread with the same managed id as the others, so I'm confused why it isn't throwing an error, are the threads somehow "reset" after each unit test is run?
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog