Class UserAgentStringMatchMakerTester

All Implemented Interfaces:
Serializable, Analyzer, AnalyzerPreHeater, AnalyzerConfigHolder
Direct Known Subclasses:
UserAgentAnalyzerTester

public class UserAgentStringMatchMakerTester extends AbstractUserAgentAnalyzer
See Also:
  • Constructor Details

    • UserAgentStringMatchMakerTester

      public UserAgentStringMatchMakerTester()
  • Method Details

    • configureKryo

      public static void configureKryo(Object kryoInstance)
      This is used to configure the provided Kryo instance if Kryo serialization is desired. The expected type here is Object because otherwise the Kryo library becomes a mandatory dependency on any project that uses Yauaa.
      Parameters:
      kryoInstance - The instance of com.esotericsoftware.kryo.Kryo that needs to be configured.
    • runTests

      public boolean runTests()
      Run all the test_cases available.
      Returns:
      true if all tests were successful.
    • runTests

      public boolean runTests(boolean showAll, boolean failOnUnexpected)
    • runTests

      public boolean runTests(boolean showAll, boolean failOnUnexpected, Collection<String> onlyValidateFieldNames, boolean measureSpeed, boolean showPassedTests)
    • runTests

      public static boolean runTests(AbstractUserAgentAnalyzerDirect analyzer, boolean showAll, boolean failOnUnexpected, Collection<String> onlyValidateFieldNames, boolean measureSpeed, boolean showPassedTests, StringBuilder errorMessageReceiver)
    • analyzeMatcherImpactAllTests

      public void analyzeMatcherImpactAllTests()
    • toString

      public String toString()
      Overrides:
      toString in class AbstractUserAgentAnalyzer