public class MatchRatingApproachEncoderTest extends StringEncoderAbstractTest<MatchRatingApproachEncoder>
stringEncoder
Constructor and Description |
---|
MatchRatingApproachEncoderTest() |
checkEncoding, checkEncodings, checkEncodingVariations, getStringEncoder, testEncodeEmpty, testEncodeNull, testEncodeWithInvalidObject, testLocaleIndependence
public MatchRatingApproachEncoderTest()
public final void testAccentRemoval_AllLower_SuccessfullyRemoved()
public final void testAccentRemoval_WithSpaces_SuccessfullyRemovedAndSpacesInvariant()
public final void testAccentRemoval_UpperandLower_SuccessfullyRemovedAndCaseInvariant()
public final void testAccentRemoval_MixedWithUnusualChars_SuccessfullyRemovedAndUnusualcharactersInvariant()
public final void testAccentRemoval_GerSpanFrenMix_SuccessfullyRemoved()
public final void testAccentRemoval_ComprehensiveAccentMix_AllSuccessfullyRemoved()
public final void testAccentRemovalNormalString_NoChange()
public final void testAccentRemoval_NINO_NoChange()
public final void testAccentRemoval_NullValue_ReturnNullSuccessfully()
public final void testRemoveSingleDoubleConsonants_BUBLE_RemovedSuccessfully()
public final void testRemoveDoubleConsonants_MISSISSIPPI_RemovedSuccessfully()
public final void testRemoveDoubleDoubleVowel_BEETLE_NotRemoved()
public final void testIsVowel_CapitalA_ReturnsTrue()
public final void testIsVowel_SmallD_ReturnsFalse()
public final void testRemoveVowel_ALESSANDRA_Returns_ALSSNDR()
public final void testRemoveVowel__AIDAN_Returns_ADN()
public final void testRemoveVowel__DECLAN_Returns_DCLN()
public final void testGetFirstLast3__ALEXANDER_Returns_Aleder()
public final void testGetFirstLast3_PETE_Returns_PETE()
public final void testleftTorightThenRightToLeft_ALEXANDER_ALEXANDRA_Returns4()
public final void testleftTorightThenRightToLeft_EINSTEIN_MICHAELA_Returns0()
public final void testGetMinRating_7_Return4_Successfully()
public final void testGetMinRating_1_Returns5_Successfully()
public final void testGetMinRating_2_Returns5_Successfully()
public final void testgetMinRating_5_Returns4_Successfully()
public final void testgetMinRating_5_Returns4_Successfully2()
public final void testgetMinRating_6_Returns4_Successfully()
public final void testgetMinRating_7_Returns4_Successfully()
public final void testgetMinRating_8_Returns3_Successfully()
public final void testgetMinRating_10_Returns3_Successfully()
public final void testgetMinRating_11_Returns_3_Successfully()
public final void testGetMinRating_13_Returns_1_Successfully()
public final void testcleanName_SuccessfullyClean()
public final void testisVowel_SingleVowel_ReturnsTrue()
public final void testisEncodeEquals_CornerCase_SecondNameNothing_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_FirstNameNothing_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_SecondNameJustSpace_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_FirstNameJustSpace_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_SecondNameNull_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_FirstNameNull_ReturnsFalse()
public final void testisEncodeEquals_CornerCase_FirstNameJust1Letter_ReturnsFalse()
public final void testisEncodeEqualsSecondNameJust1Letter_ReturnsFalse()
public final void testGetEncoding_HARPER_HRPR()
public final void testGetEncoding_SMITH_to_SMTH()
public final void testGetEncoding_SMYTH_to_SMYTH()
public final void testGetEncoding_Space_to_Nothing()
public final void testGetEncoding_NoSpace_to_Nothing()
public final void testGetEncoding_Null_to_Nothing()
public final void testGetEncoding_One_Letter_to_Nothing()
public final void testCompareNameNullSpace_ReturnsFalseSuccessfully()
public final void testCompareNameSameNames_ReturnsFalseSuccessfully()
public final void testCompare_SMITH_SMYTH_SuccessfullyMatched()
public final void testCompare_BURNS_BOURNE_SuccessfullyMatched()
public final void testCompare_ShortNames_AL_ED_WorksButNoMatch()
public final void testCompare_CATHERINE_KATHRYN_SuccessfullyMatched()
public final void testCompare_BRIAN_BRYAN_SuccessfullyMatched()
public final void testCompare_SEAN_SHAUN_SuccessfullyMatched()
public final void testCompare_COLM_COLIN_WithAccentsAndSymbolsAndSpaces_SuccessfullyMatched()
public final void testCompare_STEPHEN_STEVEN_SuccessfullyMatched()
public final void testCompare_STEVEN_STEFAN_SuccessfullyMatched()
public final void testCompare_STEPHEN_STEFAN_SuccessfullyMatched()
public final void testCompare_SAM_SAMUEL_SuccessfullyMatched()
public final void testCompare_MICKY_MICHAEL_SuccessfullyMatched()
public final void testCompare_OONA_OONAGH_SuccessfullyMatched()
public final void testCompare_SOPHIE_SOFIA_SuccessfullyMatched()
public final void testCompare_FRANCISZEK_FRANCES_SuccessfullyMatched()
public final void testCompare_TOMASZ_TOM_SuccessfullyMatched()
public final void testCompare_SmallInput_CARK_Kl_SuccessfullyMatched()
public final void testCompareNameToSingleLetter_KARL_C_DoesNotMatch()
public final void testCompare_ZACH_ZAKARIA_SuccessfullyMatched()
public final void testCompare_KARL_ALESSANDRO_DoesNotMatch()
public final void testCompare_Forenames_UNA_OONAGH_ShouldSuccessfullyMatchButDoesNot()
public final void testCompare_Surname_OSULLIVAN_OSUILLEABHAIN_SuccessfulMatch()
public final void testCompare_LongSurnames_MORIARTY_OMUIRCHEARTAIGH_DoesNotSuccessfulMatch()
public final void testCompare_LongSurnames_OMUIRCHEARTAIGH_OMIREADHAIGH_SuccessfulMatch()
public final void testCompare_Surname_COOPERFLYNN_SUPERLYN_SuccessfullyMatched()
public final void testCompare_Surname_HAILEY_HALLEY_SuccessfullyMatched()
public final void testCompare_Surname_AUERBACH_UHRBACH_SuccessfullyMatched()
public final void testCompare_Surname_MOSKOWITZ_MOSKOVITZ_SuccessfullyMatched()
public final void testCompare_Surname_LIPSHITZ_LIPPSZYC_SuccessfullyMatched()
public final void testCompare_Surname_LEWINSKY_LEVINSKI_SuccessfullyMatched()
public final void testCompare_Surname_SZLAMAWICZ_SHLAMOVITZ_SuccessfullyMatched()
public final void testCompare_Surname_ROSOCHOWACIEC_ROSOKHOVATSETS_SuccessfullyMatched()
public final void testCompare_Surname_PRZEMYSL_PSHEMESHIL_SuccessfullyMatched()
public final void testCompare_PETERSON_PETERS_SuccessfullyMatched()
public final void testCompare_MCGOWAN_MCGEOGHEGAN_SuccessfullyMatched()
public final void testCompare_SurnamesCornerCase_MURPHY_Space_NoMatch()
public final void testCompare_SurnamesCornerCase_MURPHY_NoSpace_NoMatch()
public final void testCompare_SurnameCornerCase_Nulls_NoMatch()
public final void testCompare_Surnames_MURPHY_LYNCH_NoMatchExpected()
public final void testCompare_Forenames_SEAN_JOHN_MatchExpected()
public final void testCompare_Forenames_SEAN_PETE_NoMatchExpected()
protected MatchRatingApproachEncoder createStringEncoder()
createStringEncoder
in class StringEncoderAbstractTest<MatchRatingApproachEncoder>
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.