Class ApiScanTestBase
LUCENENET specific - functionality for scanning the API to ensure
naming and .NET conventions are followed consistently.
Inheritance
System.Object
ApiScanTestBase
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class ApiScanTestBase : LuceneTestCase
Methods
|
Improve this Doc
View Source
TestClassNames(Type)
Declaration
public virtual void TestClassNames(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMethodsThatReturnWritableArray(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPropertiesThatReturnArray(Type)
Declaration
public virtual void TestForPropertiesThatReturnArray(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPropertiesWithNoGetter(Type)
Declaration
public virtual void TestForPropertiesWithNoGetter(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersContainingComparer(Type)
Declaration
public virtual void TestForPublicMembersContainingComparer(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersContainingNonNetNumeric(Type)
Declaration
public virtual void TestForPublicMembersContainingNonNetNumeric(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersNamedSize(Type)
Declaration
public virtual void TestForPublicMembersNamedSize(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersWithNullableEnum(Type)
Declaration
public virtual void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForTypesContainingNonNetNumeric(Type)
Declaration
public virtual void TestForTypesContainingNonNetNumeric(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestInterfaceNames(Type)
Declaration
public virtual void TestInterfaceNames(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestMethodParameterNames(Type)
Declaration
public virtual void TestMethodParameterNames(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPrivateFieldNames(Type)
Declaration
public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPrivateFieldNames(Type, String)
Declaration
public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
TestProtectedFieldNames(Type)
Declaration
public virtual void TestProtectedFieldNames(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPublicFields(Type)
Declaration
public virtual void TestPublicFields(Type typeFromTargetAssembly)
Parameters
Type |
Name |
Description |
Type |
typeFromTargetAssembly |
|