C# Class System.Reflection.Tests.AssemblyNameTests

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
Ctor_ProcessorArchitecture_TestData ( ) : IEnumerable
CultureName_TestData ( ) : IEnumerable
Names_TestData ( ) : IEnumerable
ProcessorArchitectures_TestData ( ) : IEnumerable
ReferenceMatchesDefinition_TestData ( ) : IEnumerable
SetPublicKey_TestData ( ) : IEnumerable
Version_TestData ( ) : IEnumerable

Private Methods

Method Description
Clone ( ) : void
ContentType ( AssemblyContentType contentType ) : void
ContentType_CurrentlyExecutingAssembly ( ) : void
ContentType_SystemRuntimeAssembly ( ) : void
Ctor_Empty ( ) : void
Ctor_InvalidArchitecture_ThrowsFileLoadException ( string invalidName ) : void
Ctor_String ( string name, string expectedName ) : void
Ctor_String_Invalid ( string assemblyName, Type exceptionType ) : void
Ctor_ValidArchitectureName_Succeeds ( string architectureName, ProcessorArchitecture expected ) : void
CultureName_Set ( AssemblyName assemblyName, string originalCultureName, string cultureName, string expectedCultureName, string expectedEqualString ) : void
CultureName_Set_Invalid_ThrowsCultureNotFoundException ( ) : void
Flags ( AssemblyNameFlags flags ) : void
Flags_CurrentlyExecutingAssembly ( ) : void
FullName ( string name, string expectedName ) : void
FullName_CurrentlyExecutingAssembly ( ) : void
GetAssemblyName ( ) : void
GetFullNameAndToString_AreEquivalentAndDoNotPreserveArchitecture ( string name, ProcessorArchitecture expected ) : void
GetPublicKeyToken_CurrentlyExecutingAssembly ( ) : void
Name_CurrentlyExecutingAssembly ( ) : void
Name_Set ( string name, string expectedName ) : void
ReferenceMatchesDefinition ( AssemblyName a1, AssemblyName a2, bool expected ) : void
SetProcessorArchitecture_InvalidArchitecture_TakesLowerThreeBitsIfLessThanOrEqualToMax ( ProcessorArchitecture invalidArchitecture ) : void
SetProcessorArchitecture_NoneArchitecture_Succeeds ( ProcessorArchitecture architecture ) : void
SetProcessorArchitecture_ValidArchitecture_Succeeds ( ProcessorArchitecture architecture ) : void
SetPublicKeyToken_GetPublicKeyToken ( byte publicKeyToken ) : void
SetPublicKey_GetPublicKey ( byte publicKey ) : void
ToString ( string name ) : void
ValidProcessorArchitectureValues ( ) : IEnumerable
Verify_CodeBase ( ) : void
Verify_CultureName ( ) : void
Verify_EscapedCodeBase ( ) : void
Verify_HashAlgorithm ( ) : void
Verify_VersionCompatibility ( ) : void
Version ( System.Version version, string versionString ) : void
Version_CurrentlyExecutingAssembly ( ) : void

Method Details

Ctor_ProcessorArchitecture_TestData() public static method

public static Ctor_ProcessorArchitecture_TestData ( ) : IEnumerable
return IEnumerable

CultureName_TestData() public static method

public static CultureName_TestData ( ) : IEnumerable
return IEnumerable

Names_TestData() public static method

public static Names_TestData ( ) : IEnumerable
return IEnumerable

ProcessorArchitectures_TestData() public static method

public static ProcessorArchitectures_TestData ( ) : IEnumerable
return IEnumerable

ReferenceMatchesDefinition_TestData() public static method

public static ReferenceMatchesDefinition_TestData ( ) : IEnumerable
return IEnumerable

SetPublicKey_TestData() public static method

public static SetPublicKey_TestData ( ) : IEnumerable
return IEnumerable

Version_TestData() public static method

public static Version_TestData ( ) : IEnumerable
return IEnumerable