Class FormElementSearchEngineTest


  • public class FormElementSearchEngineTest
    extends Object
    • Constructor Detail

      • FormElementSearchEngineTest

        public FormElementSearchEngineTest()
    • Method Detail

      • beforeEarch

        public void beforeEarch()
      • filterDataShouldBeEmptyBeforeInit

        public void filterDataShouldBeEmptyBeforeInit()
      • canNotSearchBeforeInit

        public void canNotSearchBeforeInit()
      • initializationFailsWhenNoProviderOfContainerToSearchIn

        public void initializationFailsWhenNoProviderOfContainerToSearchIn()
      • initializationFailsWhenNoConsumerOfFoundElement

        public void initializationFailsWhenNoConsumerOfFoundElement()
      • canNotInitializeTwice

        public void canNotInitializeTwice()
      • shouldInitializeAllSearchers

        public void shouldInitializeAllSearchers()
      • performSearchFromTheBeginingShouldInteractWithItemsSearchersIfSearchingByItems

        public void performSearchFromTheBeginingShouldInteractWithItemsSearchersIfSearchingByItems()
      • performSearchFromTheBeginingShouldInteractWithAttributesSearchersIfSearchingByAttributes

        public void performSearchFromTheBeginingShouldInteractWithAttributesSearchersIfSearchingByAttributes()
      • canSearchShouldReturnSearchingAvailabilityByItemsIfRepositioningWasNeverHappenedYet

        public void canSearchShouldReturnSearchingAvailabilityByItemsIfRepositioningWasNeverHappenedYet()
      • shouldSearchByItemsIfRepositioningWasNeverHappenedYet

        public void shouldSearchByItemsIfRepositioningWasNeverHappenedYet()
      • shouldSearchBackByItemsIfRepositioningWasNeverHappenedYet

        public void shouldSearchBackByItemsIfRepositioningWasNeverHappenedYet()
      • canSearchShouldReturnSearchingAvailabilityByItemsAfterRepositioningToItems

        public void canSearchShouldReturnSearchingAvailabilityByItemsAfterRepositioningToItems()
      • canSearchShouldReturnSearchingAvailabilityByAttributesAfterRepositioningToAttributes

        public void canSearchShouldReturnSearchingAvailabilityByAttributesAfterRepositioningToAttributes()
      • ifWasSearchByItemsAndThanRepositionToAttributeThenShouldSearchByAttributes

        public void ifWasSearchByItemsAndThanRepositionToAttributeThenShouldSearchByAttributes()
      • ifWasSearchByAttributesAndThanRepositionToItemThenShouldSearchByItems

        public void ifWasSearchByAttributesAndThanRepositionToItemThenShouldSearchByItems()
      • repositionToFormMappingLeadsToSetFilterDataIntoItemsSearcher

        public void repositionToFormMappingLeadsToSetFilterDataIntoItemsSearcher()
      • repositionToItemLeadsToSetFilterDataIntoItemsSearcher

        public void repositionToItemLeadsToSetFilterDataIntoItemsSearcher()
      • repositionToAttributeLeadsToSetFilterDataIntoAttibutesSearcher

        public void repositionToAttributeLeadsToSetFilterDataIntoAttibutesSearcher()
      • repositionToFormMappingLeadsToRepositionItemsSearcherToTheBegining

        public void repositionToFormMappingLeadsToRepositionItemsSearcherToTheBegining()
      • repositionToItemLeadsToRepositionItemsSearcherToTheTargetItem

        public void repositionToItemLeadsToRepositionItemsSearcherToTheTargetItem()
      • repositionToAttributeLeadsToRepositionAttributesSearcherToTheTargetAttribute

        public void repositionToAttributeLeadsToRepositionAttributesSearcherToTheTargetAttribute()
      • repositionToItemShouldNotHappenedTwiceIfTheTargetItemsAreSame

        public void repositionToItemShouldNotHappenedTwiceIfTheTargetItemsAreSame()
      • repositionToAttributeShouldNotHappenedTwiceIfTheTargetAttributesAreSame

        public void repositionToAttributeShouldNotHappenedTwiceIfTheTargetAttributesAreSame()
      • repositionNeverHappenedIfTheTargetElementIsNull

        public void repositionNeverHappenedIfTheTargetElementIsNull()
      • setFilterDataShoulSetItIntoItemsSearcherIfSearchingByItems

        public void setFilterDataShoulSetItIntoItemsSearcherIfSearchingByItems()
      • setFilterDataShouldSetItIntoAttributesSearcherIfSearchingByAttributes

        public void setFilterDataShouldSetItIntoAttributesSearcherIfSearchingByAttributes()
      • setFilterDataLeadsToRepositionItemsSearcherToTheBeginingWhenNewFilterDataIsNotEmptyAndHasDifferencesFromPreviousFilterData

        public void setFilterDataLeadsToRepositionItemsSearcherToTheBeginingWhenNewFilterDataIsNotEmptyAndHasDifferencesFromPreviousFilterData()
      • setFilterDataLeadsToRepositionAttributesSearcherToTheBeginingWhenNewFilterDataIsNotEmptyAndHasDifferencesFromPreviousFilterData

        public void setFilterDataLeadsToRepositionAttributesSearcherToTheBeginingWhenNewFilterDataIsNotEmptyAndHasDifferencesFromPreviousFilterData()
      • refreshByElementTypeShouldInitItemsSearcherIfElementTypeIsItem

        public void refreshByElementTypeShouldInitItemsSearcherIfElementTypeIsItem()
      • refreshByElementTypeShouldInitAttributesSearcherIfElementTypeIsAttribute

        public void refreshByElementTypeShouldInitAttributesSearcherIfElementTypeIsAttribute()
      • switchSearcherByElementTypeAsFormMappingLeadsToExpectedSearchResultWithoutAnyRepositions

        public void switchSearcherByElementTypeAsFormMappingLeadsToExpectedSearchResultWithoutAnyRepositions()
      • switchSearcherByElementTypeAsItemLeadsToExpectedSearchResultWithoutAnyRepositions

        public void switchSearcherByElementTypeAsItemLeadsToExpectedSearchResultWithoutAnyRepositions()
      • switchSearcherByElementTypeAsPropertyInfoLeadsToExpectedSearchResultWithoutAnyRepositions

        public void switchSearcherByElementTypeAsPropertyInfoLeadsToExpectedSearchResultWithoutAnyRepositions()