com.appium.manager.DeviceSingleton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AppiumTestDistribution Show documentation
Show all versions of AppiumTestDistribution Show documentation
A tool run Android and iOS test in parallel across devices
package com.appium.manager;
/**
* Created by saikrisv on 18/05/17.
*/
public class DeviceSingleton {
private static DeviceSingleton instance;
private static DeviceAllocationManager deviceID = null;
public static DeviceSingleton getInstance() throws Exception {
if (instance == null) {
instance = new DeviceSingleton();
deviceID = DeviceAllocationManager.getInstance();
}
return instance;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy