Class ApiScanTestBase
LUCENENET specific - functionality for scanning the API to ensure
naming and .NET conventions are followed consistently. Not for use
by end users.
Inheritance
System.Object
ApiScanTestBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
| System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
| System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
Declaration
public virtual void TestForMethodsThatReturnWritableArray(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPropertiesThatReturnArray(Type)
Declaration
public virtual void TestForPropertiesThatReturnArray(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPropertiesWithNoGetter(Type)
Declaration
public virtual void TestForPropertiesWithNoGetter(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersContainingComparer(Type)
Declaration
public virtual void TestForPublicMembersContainingComparer(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersContainingNonNetNumeric(Type)
Declaration
public virtual void TestForPublicMembersContainingNonNetNumeric(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersNamedSize(Type)
Declaration
public virtual void TestForPublicMembersNamedSize(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForPublicMembersWithNullableEnum(Type)
Declaration
public virtual void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestForTypesContainingNonNetNumeric(Type)
Declaration
public virtual void TestForTypesContainingNonNetNumeric(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestInterfaceNames(Type)
Declaration
public virtual void TestInterfaceNames(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestMethodParameterNames(Type)
Declaration
public virtual void TestMethodParameterNames(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPrivateFieldNames(Type)
Declaration
public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPrivateFieldNames(Type, String)
Declaration
public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly, string exceptionRegex)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
| System.String |
exceptionRegex |
|
|
Improve this Doc
View Source
TestProtectedFieldNames(Type)
Declaration
public virtual void TestProtectedFieldNames(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|
|
Improve this Doc
View Source
TestPublicFields(Type)
Declaration
public virtual void TestPublicFields(Type typeFromTargetAssembly)
Parameters
| Type |
Name |
Description |
| System.Type |
typeFromTargetAssembly |
|