Class DataSourceTypes


  • public final class DataSourceTypes
    extends Object
    Represents main-other data source types descriptor for comparison tests.
    • Constructor Detail

      • DataSourceTypes

        public DataSourceTypes​(DataSourceType mainType,
                               DataSourceType otherType)
        Parameters:
        mainType - main's type of the data source, cannot be null
        otherType - other's type of the data source, cannot be null
    • Method Detail

      • getPostfix

        public static String getPostfix​(DataSourceTypes dataSourceTypes)
        Returns string addition to test metadata names to avoid clash between differend data source types.
        Parameters:
        dataSourceTypes - reference to DataSourceTypes, cannot be null
        Returns:
        string postfix, never null