IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests Class Reference

A series of unit tests to ensure that the type extensions in the portable framework behave the same as their counterparts in the full framework More...

Public Member Functions

void CanCallTypeInfoOnAllPlatforms ()
 
void CanGetGenericArguments ()
 
void CanGetConstructors ()
 
void CanGetContructorWithParams (Type paramType)
 
void CanGetGenericConstructor ()
 
void IsAssignableFromTest ()
 
void IsInstanceOfTypeTest ()
 
void CanGetInterfaces (Type type, Type @interface)
 
void CanGetMember (Type type, string name)
 
void DoesNotGetStaticMemberOnBaseClass ()
 
void DoesNotGetPrivateMemberOnBaseClass ()
 
void CanGetPublicField ()
 
void DoesNotGetPrivateField ()
 
void CanGetProperty (Type type, string name)
 
void DoesNotGetStaticPropertyOnBase ()
 
void CanGetPropertyWithBindingFlags (Type type, string name, BindingFlags flags, bool shouldFind)
 
void CanGetMethodByName (Type type, string name, bool shouldFind)
 
void CanGetMethodByNameAndArgs (Type type, string name, Type[] args, bool shouldFind)
 
void CanGetMethodByNameAndBindingFlags (Type type, string name, BindingFlags flags, bool shouldFind)
 
void CanGetStaticMethodsOnBase (BindingFlags flags)
 
void DoesNotFindStaticMethodsOnBase (BindingFlags flags)
 
void CanGetGetMethod (string name, bool nonPublic, bool shouldFind)
 

Private Attributes

const bool ONLY_ON_CF = false
 

Detailed Description

A series of unit tests to ensure that the type extensions in the portable framework behave the same as their counterparts in the full framework

Member Function Documentation

void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanCallTypeInfoOnAllPlatforms ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetGenericArguments ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetConstructors ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetContructorWithParams ( Type  paramType)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetGenericConstructor ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.IsAssignableFromTest ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.IsInstanceOfTypeTest ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetInterfaces ( Type  type,
Type @  interface 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetMember ( Type  type,
string  name 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.DoesNotGetStaticMemberOnBaseClass ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.DoesNotGetPrivateMemberOnBaseClass ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetPublicField ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.DoesNotGetPrivateField ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetProperty ( Type  type,
string  name 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.DoesNotGetStaticPropertyOnBase ( )
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetPropertyWithBindingFlags ( Type  type,
string  name,
BindingFlags  flags,
bool  shouldFind 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetMethodByName ( Type  type,
string  name,
bool  shouldFind 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetMethodByNameAndArgs ( Type  type,
string  name,
Type[]  args,
bool  shouldFind 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetMethodByNameAndBindingFlags ( Type  type,
string  name,
BindingFlags  flags,
bool  shouldFind 
)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetStaticMethodsOnBase ( BindingFlags  flags)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.DoesNotFindStaticMethodsOnBase ( BindingFlags  flags)
inline
void NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.CanGetGetMethod ( string  name,
bool  nonPublic,
bool  shouldFind 
)
inline

Member Data Documentation

const bool NUnit.Framework.Tests.Compatibility.ReflectionExtensionsTests.ONLY_ON_CF = false
private

The documentation for this class was generated from the following file: