ModuleMerger

public class ModuleMerger
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.ModuleMerger


Helper class for operation related to merging ITestSuite and ModuleDefinition after a split.

Summary

Public constructors

ModuleMerger()

Public methods

static boolean arePartOfSameSuite(ITestSuite suite1, ITestSuite suite2)

Returns true if the two suites are part of the same original split.

static void mergeSplittedITestSuite(ITestSuite suite1, ITestSuite suite2)

Merge the modules from one suite to another.

Public constructors

ModuleMerger

public ModuleMerger ()

Public methods

arePartOfSameSuite

public static boolean arePartOfSameSuite (ITestSuite suite1, 
                ITestSuite suite2)

Returns true if the two suites are part of the same original split. False otherwise.

Parameters
suite1 ITestSuite

suite2 ITestSuite

Returns
boolean

mergeSplittedITestSuite

public static void mergeSplittedITestSuite (ITestSuite suite1, 
                ITestSuite suite2)

Merge the modules from one suite to another.

Parameters
suite1 ITestSuite: the suite that will receive the module from the other.

suite2 ITestSuite: the suite that will give the module.