Skip to content

Fixing tests

Fixing tests #459

GitHub Actions / Publish Tests succeeded Oct 1, 2024 in 1s

139 passed, 0 failed and 2 skipped

Tests passed successfully

✅ tests.trx

141 tests were completed in 164s with 139 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Examine.Test.Examine.Core.Options.ConfigureOptionsTests 1✅ 1s
Examine.Test.Examine.Lucene.Analyzers.PatternAnalyzerTests 2✅ 1s
Examine.Test.Examine.Lucene.Directories.SyncedFileSystemDirectoryFactoryTests 4✅ 274ms
Examine.Test.Examine.Lucene.Extensions.SpatialSearch 2✅ 2s
Examine.Test.Examine.Lucene.Index.AnalyzerTests 1⚪ 1ms
Examine.Test.Examine.Lucene.Index.LuceneIndexTests 19✅ 46s
Examine.Test.Examine.Lucene.Search.AnalyzerTests 2✅ 2s
Examine.Test.Examine.Lucene.Search.FluentApiTests 84✅ 1⚪ 80s
Examine.Test.Examine.Lucene.Search.LuceneSearchResultsReaderTrackerTests 1✅ 1s
Examine.Test.Examine.Lucene.Search.MultiIndexSearch 2✅ 8s
Examine.Test.Examine.Lucene.Search.MultiIndexSearchTests 5✅ 14s
Examine.Test.Examine.Lucene.Search.StringTests 2✅ 1ms
Examine.Test.Examine.Lucene.Sync.ExamineReplicatorTests 4✅ 7s
Examine.Test.OrderedDictionaryTests 11✅ 8ms

✅ Examine.Test.Examine.Core.Options.ConfigureOptionsTests

✅ Can_Configure_Named_Options

✅ Examine.Test.Examine.Lucene.Analyzers.PatternAnalyzerTests

✅ Phone_Number
✅ Tokenizes

✅ Examine.Test.Examine.Lucene.Directories.SyncedFileSystemDirectoryFactoryTests

✅ Given_CorruptMainIndex_And_HealthyLocalIndex_When_CreatingDirectory_Then_LocalIndexSyncedToMain
✅ Given_ExistingCorruptIndex_When_CreatingDirectory_Then_IndexCreatedOrOpened(False,False,OpenedSuccessfully)
✅ Given_ExistingCorruptIndex_When_CreatingDirectory_Then_IndexCreatedOrOpened(True,False,NotClean, Fixed, OpenedSuccessfully)
✅ Given_ExistingCorruptIndex_When_CreatingDirectory_Then_IndexCreatedOrOpened(True,True,MissingSegments, CorruptCreatedNew)

✅ Examine.Test.Examine.Lucene.Extensions.SpatialSearch

✅ Document_Writing_To_Index_Spatial_Data_And_Search_On_100km_Radius_GetPointVectorStrategy
✅ Document_Writing_To_Index_Spatial_Data_And_Search_On_100km_Radius_RecursivePrefixTreeStrategy

✅ Examine.Test.Examine.Lucene.Index.AnalyzerTests

⚪ Underscores

✅ Examine.Test.Examine.Lucene.Index.LuceneIndexTests

✅ Can_Add_Doc_With_Easy_Fields
✅ Can_Add_Doc_With_Fields
✅ Can_Add_Multiple_Docs
✅ Can_Add_One_Document
✅ Can_Add_Same_Document_Twice_Without_Duplication
✅ Can_Delete
✅ Can_Have_Multiple_Values_In_Fields
✅ Can_Manipulate_ValueSet_In_TransformingIndexValues_Event
✅ Can_Overwrite_Index_During_Indexing_Operation
✅ Can_Update_Document
✅ Index_Ensure_No_Duplicates_In_Async
✅ Index_Exists
✅ Index_Read_And_Write_Ensure_No_Errors_In_Async(2000,5000,20,50,100,50,True)
✅ Index_Read_And_Write_Ensure_No_Errors_In_Async(500,2000,20,50,100,50,False)
✅ Index_Unlocks_When_Disposed
✅ Number_Field
✅ Operation_Complete_Executes_For_Multiple_Items
✅ Operation_Complete_Executes_For_Single_Item
✅ Rebuild_Index

✅ Examine.Test.Examine.Lucene.Search.AnalyzerTests

✅ Given_CultureInvariantStandardAnalyzer_When_SearchingBothCharVariants_Then_BothAreFound
✅ Given_CultureInvariantWhitespaceAnalyzer_When_SearchingBothCharVariants_Then_BothAreFound

✅ Examine.Test.Examine.Lucene.Search.FluentApiTests

✅ Allow_Leading_Wildcards
✅ And_Grouped_Not_Multi_Value
✅ And_Grouped_Not_Single_Value
✅ And_Not_Added_Later
✅ And_Not_Single_Field
✅ AndNot_Nested
✅ By_Id
✅ Category
✅ Complex_Or_Group_Nested_Query
✅ Custom_Lucene_Query_With_Native
✅ Date_Range_SimpleIndexSet
✅ Double_Range_SimpleIndexSet
✅ Escaping_Includes_All_Words
✅ Examiness_Proximity
✅ Execute_With_Take
✅ Execute_With_Take_Max_Results
✅ Find_Both_Media_And_Content
✅ Find_By_NodeTypeAlias
✅ Find_By_ParentId
✅ Find_By_ParentId_Native_Query
✅ Find_Only_Image_Media
✅ Float_Range_SimpleIndexSet
✅ Fuzzy_Search
✅ Given_SkipTake_Returns_ExpectedTotals(0,1,1)
✅ Given_SkipTake_Returns_ExpectedTotals(0,100,5)
✅ Given_SkipTake_Returns_ExpectedTotals(0,2,2)
✅ Given_SkipTake_Returns_ExpectedTotals(0,3,3)
✅ Given_SkipTake_Returns_ExpectedTotals(0,4,4)
✅ Given_SkipTake_Returns_ExpectedTotals(0,5,5)
✅ Given_SkipTake_Returns_ExpectedTotals(1,1,1)
✅ Given_SkipTake_Returns_ExpectedTotals(1,2,2)
✅ Given_SkipTake_Returns_ExpectedTotals(1,3,3)
✅ Given_SkipTake_Returns_ExpectedTotals(1,4,4)
✅ Given_SkipTake_Returns_ExpectedTotals(1,5,4)
✅ Given_SkipTake_Returns_ExpectedTotals(2,2,2)
✅ Given_SkipTake_Returns_ExpectedTotals(2,5,3)
✅ Grouped_And_Examiness
✅ Grouped_And_Query_Output
✅ Grouped_Not_Multi_Field_Single_Value
✅ Grouped_Not_Query_Output
✅ Grouped_Not_Single_Field_Single_Value
✅ Grouped_Or_Examiness
✅ Grouped_Or_Query_Output
✅ Grouped_Or_With_Not
✅ Inner_And_Query
✅ Inner_Not_Query
✅ Inner_Or_Query
✅ Legacy_ParentId
✅ Long_Range_SimpleIndexSet
✅ Managed_Full_Text
✅ Managed_Full_Text_With_Bool
✅ Managed_Range_Date
✅ Managed_Range_Int
✅ Match_By_Path
✅ Multiple_Searches
✅ NativeQuery_Phrase
✅ NativeQuery_Single_Word
✅ Not_Managed_Full_Text
✅ Not_Range
✅ Number_Range_SimpleIndexSet
✅ Paging_With_Skip_Take
⚪ Query_With_Category_Multi_Threaded
✅ Range_DateOnly
✅ Range_DateOnly_Min_And_Max_Inclusive
✅ Range_DateOnly_No_Inclusive
✅ Search_Native_Query
✅ Search_With_Stop_Words
✅ SearchAfter_NonSorted_Results_Returns_Different_Results
✅ SearchAfter_Sorted_Results_Returns_Different_Results
✅ Select_Field
✅ Select_Fields
✅ Select_Fields_HashSet
✅ Select_Fields_Native_Query
✅ Skip_Results_Returns_Different_Results
✅ Sort_Result_By_Date_Field
✅ Sort_Result_By_Double_Fields("double",Double)
✅ Sort_Result_By_Double_Fields("fulltext",Double)
✅ Sort_Result_By_Double_Fields("fulltext",String)
✅ Sort_Result_By_Double_Fields("fulltextsortable",Double)
✅ Sort_Result_By_Double_Fields("fulltextsortable",String)
✅ Sort_Result_By_Multiple_Fields
✅ Sort_Result_By_Number_Field
✅ Sort_Result_By_Single_Field
✅ Standard_Results_Sorted_By_Score
✅ Uppercase_Category

✅ Examine.Test.Examine.Lucene.Search.LuceneSearchResultsReaderTrackerTests

✅ Track_Readers

✅ Examine.Test.Examine.Lucene.Search.MultiIndexSearch

✅ MultiIndex_Field_Count
✅ MultiIndex_Simple_Search

✅ Examine.Test.Examine.Lucene.Search.MultiIndexSearchTests

✅ GivenCustomStopWords_WhenUsedOnlyForIndexingAndNotForSearching_TheDefaultWordsWillBeStrippedDuringSearchingWithNonManagedQueries
✅ GivenCustomStopWords_WhenUsedOnlyForIndexingAndNotForSearching_TheDefaultWordsWillNotBeStrippedDuringSearchingWithManagedQueries
✅ GivenCustomStopWords_WhenUsedOnlyForSearchingAndNotIndexing_TheDefaultWordsWillBeStrippedDuringIndexing
✅ MultiIndex_Field_Count
✅ MultiIndex_Simple_Search

✅ Examine.Test.Examine.Lucene.Search.StringTests

✅ Search_Remove_Stop_Words
✅ Search_Remove_Stop_Words_Uneven_Quotes

✅ Examine.Test.Examine.Lucene.Sync.ExamineReplicatorTests

✅ GivenAMainIndex_WhenReplicatedLocally_TheLocalIndexIsPopulated
✅ GivenAnOpenedWriter_WhenReplicationAttempted_ThenAnExceptionIsThrown
✅ GivenASyncedLocalIndex_ThenSyncedBackToMainIndexOnSchedule
✅ GivenASyncedLocalIndex_WhenTriggered_ThenSyncedBackToMainIndex

✅ Examine.Test.OrderedDictionaryTests

✅ TestAdd
✅ TestClear
✅ TestEnumerator
✅ TestInsertValue
✅ TestInvalidIndex
✅ TestMissingKey
✅ TestOrderIsPreserved
✅ TestRemove
✅ TestRemoveAt
✅ TestTryGetValue
✅ TestValueComparer