
org.robolectric.shadows.ShadowWifiP2pGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.net.wifi.p2p.WifiP2pGroup;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.RealObject;
import static org.robolectric.shadow.api.Shadow.directlyOn;
@Implements(WifiP2pGroup.class)
public class ShadowWifiP2pGroup {
@RealObject
private WifiP2pGroup realObject;
public void setInterface(String intf) {
directlyOn(realObject, WifiP2pGroup.class).setInterface(intf);
}
public void setPassphrase(String passphrase) {
directlyOn(realObject, WifiP2pGroup.class).setInterface(passphrase);
}
public void setNetworkName(String networkName) {
directlyOn(realObject, WifiP2pGroup.class).setInterface(networkName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy