Sha256: 4898fc14c19d735a85efd99e246c890589635029ee39cee32c08709beb1aa05a

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

package com.amplify.honeydew_server.actions;

import com.amplify.honeydew_server.Action;
import com.amplify.honeydew_server.Result;
import com.android.uiautomator.core.UiDevice;
import com.android.uiautomator.core.UiObjectNotFoundException;

import java.util.Map;

public class IsRegexMatchPresent extends Action {

    public IsRegexMatchPresent(UiDevice uiDevice){
        super(uiDevice);
    }

    @Override
    public Result execute(Map<String, Object> arguments) throws UiObjectNotFoundException {
        return isUiObjectAvailable(getUiObject(arguments), arguments) ? Result.OK : Result.FAILURE;
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
honeydew-0.29.1 server/src/main/java/com/amplify/honeydew_server/actions/IsRegexMatchPresent.java
honeydew-0.29.0 server/src/main/java/com/amplify/honeydew_server/actions/IsRegexMatchPresent.java
honeydew-0.28.0 server/src/main/java/com/amplify/honeydew_server/actions/IsRegexMatchPresent.java