Welcome to MSDN Blogs Sign in | Join | Help

Porting Issues: ObjectBuilder Unit Tests

  • Deprecated unit tests related to circular references. This feature is not supported in the CF version of CAB.
  • Compact Framework seems to through exceptions differently than the full .Net framework. On the full framework, MethodInfo.Invoke may throw an "Exception" exception wrapping the real exception which can be found in InnerExeption property. On the CF, the real exception is not wrapped.
    (resolution: look for inner exception, if found, use it, otherwise use outer exception)
    Oops, can't do that... System.ArgumentException has InnerException. Just will have to delete the VSTS unit test in CF Test Runner.
  • NullReferencePointer in ObjectBuilderXmlConfig.cs ParseXmlConfiguration method when trying to read from resource stream.
    (resolution: set Build Action property to Embedded Resource for ObjectBuilderXmlConfig.xsd)
Published Friday, April 21, 2006 6:59 PM by fcheung

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker