C# Class Spring.Util.ReflectionUtilsTests

Show file Open project: spring-projects/spring-net

Public Methods

Method Description
Add ( int &one, int two ) : int
ThrowDummyException ( ) : void

Private Methods

Method Description
ApplyAndGetCustomAttributes ( CustomAttributeBuilder attBuilder ) : System.Attribute[]
AssertStringContains ( string toSearch, string source ) : void
BuildTypeWithThisCustomAttribute ( CustomAttributeBuilder attBuilder ) : Type
CanGetFriendlyNamesForGenericTypes ( ) : void
CheckForPresenceOfCustomAttribute ( CustomAttributeBuilder attBuilder, Type attType ) : Attribute
CreatCustomAttriubtesFromCustomAttributeData ( ) : void
CreatCustomAttriubtesFromCustomAttributeDataWithArrayOfEnumsSetInConstructor ( ) : void
CreatCustomAttriubtesFromCustomAttributeDataWithArrayOfEnumsSetOnProperty ( ) : void
CreatCustomAttriubtesFromCustomAttributeDataWithGenericCollectionTypeSetInConstructor ( ) : void
CreatCustomAttriubtesFromCustomAttributeDataWithSimpleTypeSetInConstructor ( ) : void
CreatCustomAttriubtesFromCustomAttributeDataWithSingleEnum ( ) : void
CreateCustomAttributeForNonAttributeType ( ) : void
CreateCustomAttributeFromSourceAttribute ( ) : void
CreateCustomAttributeSunnyDayScenarios ( ) : void
CreateCustomAttributeUsingDefaultValuesForTheConstructor ( ) : void
CreateCustomAttributeUsingExplicitValuesForTheConstructor ( ) : void
CreateCustomAttributeUsingExplicitValuesForTheConstructorAndASourceAttribute ( ) : void
CreateCustomAttributeWithNullType ( ) : void
GetConstructorByArgumentValuesResolvesToExactMatchIfAvailable ( ) : void
GetCustomAttributesOnMethod ( ) : void
GetCustomAttributesOnType ( ) : void
GetDefaultValue ( ) : void
GetDefaultValueWithZeroValueEnumType ( ) : void
GetExplicitBaseExceptionWithInnerException ( ) : void
GetExplicitBaseExceptionWithInnerExceptions ( ) : void
GetExplicitBaseExceptionWithNoInnerException ( ) : void
GetExplicitBaseExceptionWithNullReferenceExceptionAsRootException ( ) : void
GetInterfaces ( ) : void
GetMatchingMethodsWithBadMatchNotStrict ( ) : void
GetMatchingMethodsWithBadMatchStrict ( ) : void
GetMatchingMethodsWithBadReturnTypeMatchNotStrict ( ) : void
GetMatchingMethodsWithBadReturnTypeMatchStrict ( ) : void
GetMatchingMethodsWithNullMethodsToFind ( ) : void
GetMatchingMethodsWithNullTypeToFindOn ( ) : void
GetMatchingMethodsWithPerfectMatch ( ) : void
GetMethod ( ) : void
GetMethodByArgumentValuesCanResolveWhenAmbiguousMatchIsOnlyDifferentiatedByParams ( ) : void
GetMethodByArgumentValuesMatchesNullableArgs ( ) : void
GetMethodByArgumentValuesResolvesToExactMatchIfAvailable ( ) : void
GetMethodIsCaseInsensitive ( ) : void
GetMethodWithExplicitInterfaceMethod ( ) : void
GetParameterTypes ( ) : void
GetParameterTypesWithMethodThatHasRefParameters ( ) : void
GetParameterTypesWithNullMethodInfo ( ) : void
GetParameterTypesWithNullParametersArgs ( ) : void
GetSignature ( ) : void
GetTypeOfOrType ( ) : void
GetTypeOfOrTypeWithNonNullType ( ) : void
GetTypeOfOrTypeWithNull ( ) : void
GetTypes ( ) : void
GetTypesWithEmptyArrayArgument ( ) : void
GetTypesWithNullArrayArgument ( ) : void
HasAtLeastOneMethodWithName ( ) : void
IsTypeNullable_WhenFalse ( ) : void
IsTypeNullable_WhenTrue ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithInternalNestedTypeOnInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithInternalNestedTypeOnPublicType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithPrivateNestedTypeOnInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithPrivateNestedTypeOnPublicType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithProtectedInternalNestedTypeOnInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithProtectedInternalNestedTypeOnPublicType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithProtectedNestedTypeOnInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithProtectedNestedTypeOnPublicType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithPublicNestedTypeOnInternalType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithPublicNestedTypeOnPublicType ( ) : void
IsTypeVisibleFromFriendlyAssemblyWithPublicType ( ) : void
IsTypeVisibleWithInternalNestedTypeOnInternalType ( ) : void
IsTypeVisibleWithInternalNestedTypeOnPublicType ( ) : void
IsTypeVisibleWithInternalType ( ) : void
IsTypeVisibleWithPrivateNestedTypeOnInternalType ( ) : void
IsTypeVisibleWithPrivateNestedTypeOnPublicType ( ) : void
IsTypeVisibleWithProtectedInternalNestedTypeOnInternalType ( ) : void
IsTypeVisibleWithProtectedInternalNestedTypeOnPublicType ( ) : void
IsTypeVisibleWithProtectedNestedTypeOnInternalType ( ) : void
IsTypeVisibleWithProtectedNestedTypeOnPublicType ( ) : void
IsTypeVisibleWithPublicNestedTypeOnInternalType ( ) : void
IsTypeVisibleWithPublicNestedTypeOnPublicType ( ) : void
IsTypeVisibleWithPublicType ( ) : void
MapsInterfaceMethodsToImplementation ( ) : void
MethodIsOnOneOfTheseInterfaces ( ) : void
MethodIsOnOneOfTheseInterfacesMultiple ( ) : void
MethodIsOnOneOfTheseInterfacesWithNonInterfaceType ( ) : void
MethodIsOnOneOfTheseInterfacesWithNullMethod ( ) : void
MethodIsOnOneOfTheseInterfacesWithNullTypes ( ) : void
ParameterTypesDontMatchWithNonMatchingArgs ( ) : void
ParameterTypesMatch ( ) : void
ParameterTypesMatchWithNullArgs ( ) : void
PropertyIsIndexer ( ) : void
ShouldPickDefaultConstructor ( ) : void
ShouldPickDefaultConstructorWithoutArgs ( ) : void
ShouldPickSingleArgConstructor ( ) : void
ToInterfaceArrayFromType ( ) : void
ToInterfaceArrayFromTypeWithNonInterface ( ) : void
UnwrapsTargetInvocationException ( ) : void

Method Details

Add() public method

public Add ( int &one, int two ) : int
one int
two int
return int

ThrowDummyException() public static method

public static ThrowDummyException ( ) : void
return void