Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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
    object
    LuceneTestCase
    ApiScanTestBase
    Inherited Members
    LuceneTestCase.TEST_VERSION_CURRENT
    LuceneTestCase.Verbose
    LuceneTestCase.UseInfoStream
    LuceneTestCase.RandomMultiplier
    LuceneTestCase.DEFAULT_LINE_DOCS_FILE
    LuceneTestCase.JENKINS_LARGE_LINE_DOCS_FILE
    LuceneTestCase.TestCodec
    LuceneTestCase.TestPostingsFormat
    LuceneTestCase.TestDocValuesFormat
    LuceneTestCase.TestDirectory
    LuceneTestCase.TestLineDocsFile
    LuceneTestCase.TestNightly
    LuceneTestCase.TestWeekly
    LuceneTestCase.TestAwaitsFix
    LuceneTestCase.TestSlow
    LuceneTestCase.LeaveTemporary
    LuceneTestCase.DoesntSupportOffsets
    LuceneTestCase.OldFormatImpersonationIsActive
    LuceneTestCase.SuiteFailureMarker
    LuceneTestCase.SetUp()
    LuceneTestCase.TearDown()
    LuceneTestCase.BeforeClass()
    LuceneTestCase.AfterClass()
    LuceneTestCase.Random
    LuceneTestCase.TestType
    LuceneTestCase.TestName
    LuceneTestCase.GetOnlySegmentReader(DirectoryReader)
    LuceneTestCase.AssertSaneFieldCaches(string)
    LuceneTestCase.AtLeast(Random, int)
    LuceneTestCase.AtLeast(int)
    LuceneTestCase.Rarely(Random)
    LuceneTestCase.Rarely()
    LuceneTestCase.Usually(Random)
    LuceneTestCase.Usually()
    LuceneTestCase.AssumeTrue(string, bool)
    LuceneTestCase.AssumeFalse(string, bool)
    LuceneTestCase.AssumeNoException(string, Exception)
    LuceneTestCase.AsSet(params object[])
    LuceneTestCase.DumpEnumerator(string, IEnumerator, TextWriter)
    LuceneTestCase.DumpArray(string, object[], TextWriter)
    LuceneTestCase.NewIndexWriterConfig(LuceneVersion, Analyzer)
    LuceneTestCase.NewIndexWriterConfig(Random, LuceneVersion, Analyzer)
    LuceneTestCase.NewMergePolicy(Random)
    LuceneTestCase.NewMergePolicy()
    LuceneTestCase.NewLogMergePolicy()
    LuceneTestCase.NewTieredMergePolicy()
    LuceneTestCase.NewAlcoholicMergePolicy()
    LuceneTestCase.NewAlcoholicMergePolicy(Random, TimeZoneInfo)
    LuceneTestCase.NewLogMergePolicy(Random)
    LuceneTestCase.NewTieredMergePolicy(Random)
    LuceneTestCase.NewLogMergePolicy(bool)
    LuceneTestCase.NewLogMergePolicy(bool, int)
    LuceneTestCase.NewLogMergePolicy(int)
    LuceneTestCase.NewDirectory()
    LuceneTestCase.NewDirectory(Random)
    LuceneTestCase.NewMockDirectory()
    LuceneTestCase.NewMockDirectory(Random)
    LuceneTestCase.NewMockFSDirectory(DirectoryInfo)
    LuceneTestCase.NewDirectory(Directory)
    LuceneTestCase.NewFSDirectory(DirectoryInfo)
    LuceneTestCase.NewFSDirectory(DirectoryInfo, LockFactory)
    LuceneTestCase.NewDirectory(Random, Directory)
    LuceneTestCase.NewStringField(string, string, Field.Store)
    LuceneTestCase.NewTextField(string, string, Field.Store)
    LuceneTestCase.NewStringField(Random, string, string, Field.Store)
    LuceneTestCase.NewTextField(Random, string, string, Field.Store)
    LuceneTestCase.NewField(string, string, FieldType)
    LuceneTestCase.NewField(Random, string, string, FieldType)
    LuceneTestCase.RandomCulture(Random)
    LuceneTestCase.RandomTimeZone(Random)
    LuceneTestCase.CultureForName(string)
    LuceneTestCase.DefaultCodecSupportsDocValues
    LuceneTestCase.MaybeWrapReader(IndexReader)
    LuceneTestCase.NewIOContext(Random)
    LuceneTestCase.NewIOContext(Random, IOContext)
    LuceneTestCase.NewSearcher(IndexReader)
    LuceneTestCase.NewSearcher(IndexReader, bool)
    LuceneTestCase.NewSearcher(IndexReader, bool, bool)
    LuceneTestCase.GetDataFile(string)
    LuceneTestCase.DefaultCodecSupportsMissingDocValues
    LuceneTestCase.DefaultCodecSupportsSortedSet
    LuceneTestCase.DefaultCodecSupportsDocsWithField
    LuceneTestCase.DefaultCodecSupportsFieldUpdates
    LuceneTestCase.AssertReaderEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertReaderStatisticsEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertFieldsEquals(string, IndexReader, Fields, Fields, bool)
    LuceneTestCase.AssertFieldStatisticsEquals(string, Fields, Fields)
    LuceneTestCase.AssertTermsEquals(string, IndexReader, Terms, Terms, bool)
    LuceneTestCase.AssertTermsStatisticsEquals(string, Terms, Terms)
    LuceneTestCase.AssertTermsEnumEquals(string, IndexReader, TermsEnum, TermsEnum, bool)
    LuceneTestCase.AssertDocsAndPositionsEnumEquals(string, DocsAndPositionsEnum, DocsAndPositionsEnum)
    LuceneTestCase.AssertDocsEnumEquals(string, DocsEnum, DocsEnum, bool)
    LuceneTestCase.AssertDocsSkippingEquals(string, IndexReader, int, DocsEnum, DocsEnum, bool)
    LuceneTestCase.AssertPositionsSkippingEquals(string, IndexReader, int, DocsAndPositionsEnum, DocsAndPositionsEnum)
    LuceneTestCase.AssertTermStatsEquals(string, TermsEnum, TermsEnum)
    LuceneTestCase.AssertNormsEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertStoredFieldsEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertStoredFieldEquals(string, IIndexableField, IIndexableField)
    LuceneTestCase.AssertTermVectorsEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertDocValuesEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertDocValuesEquals(string, int, NumericDocValues, NumericDocValues)
    LuceneTestCase.AssertDeletedDocsEquals(string, IndexReader, IndexReader)
    LuceneTestCase.AssertFieldInfosEquals(string, IndexReader, IndexReader)
    LuceneTestCase.SlowFileExists(Directory, string)
    LuceneTestCase.CreateTempDir()
    LuceneTestCase.CreateTempDir(string)
    LuceneTestCase.CreateTempFile(string, string)
    LuceneTestCase.CreateTempFile()
    LuceneTestCase.GetFullMethodName(string)
    LuceneTestCase.RandomGaussian()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public abstract class ApiScanTestBase : LuceneTestCase

    Methods

    TestClassNames(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestClassNames(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForMembersAcceptingOrReturningIEnumerable(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForMembersAcceptingOrReturningIEnumerable(Type, string)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly, string exceptionRegex)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly
    string exceptionRegex

    TestForMembersAcceptingOrReturningListOrDictionary(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForMembersAcceptingOrReturningListOrDictionary(Type, string)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly, string exceptionRegex)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly
    string exceptionRegex

    TestForMethodsThatReturnWritableArray(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForMethodsThatReturnWritableArray(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPropertiesThatReturnArray(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPropertiesThatReturnArray(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPropertiesWithNoGetter(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPropertiesWithNoGetter(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPublicMembersContainingComparer(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPublicMembersContainingComparer(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPublicMembersContainingNonNetNumeric(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPublicMembersContainingNonNetNumeric(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPublicMembersNamedSize(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPublicMembersNamedSize(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForPublicMembersWithNullableEnum(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestForTypesContainingNonNetNumeric(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestForTypesContainingNonNetNumeric(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestInterfaceNames(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestInterfaceNames(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestMethodParameterNames(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestMethodParameterNames(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestPrivateFieldNames(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestPrivateFieldNames(Type, string)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestPrivateFieldNames(Type typeFromTargetAssembly, string exceptionRegex)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly
    string exceptionRegex

    TestProtectedFieldNames(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestProtectedFieldNames(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestPublicFields(Type)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestPublicFields(Type typeFromTargetAssembly)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly

    TestPublicFields(Type, string)

    LUCENENET specific - functionality for scanning the API to ensure naming and .NET conventions are followed consistently. Not for use by end users.

    Declaration
    public virtual void TestPublicFields(Type typeFromTargetAssembly, string exceptionRegex)
    Parameters
    Type Name Description
    Type typeFromTargetAssembly
    string exceptionRegex
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.