Sha256: b8735accf2b8743bd68d59d966909f9159cec235fc4a88e2cac71435eccb3c49

Contents?: true

Size: 646 Bytes

Versions: 125

Compression:

Stored size: 646 Bytes

Contents

package sh.calaba.instrumentationbackend.actions.map;

import sh.calaba.instrumentationbackend.InstrumentationBackend;
import sh.calaba.instrumentationbackend.Result;
import sh.calaba.instrumentationbackend.actions.Action;

/**
 * Center on lat, lon
 * @author Nicholas Albion
 */
public class SetMapCenter implements Action {

    @Override
    public Result execute(String... args) {
        InstrumentationBackend.solo.setMapCenter( Double.parseDouble(args[0]), Double.parseDouble(args[1]) );
        return Result.successResult();
    }

    @Override
    public String key() {
        return "set_map_center";
    }
}

Version data entries

125 entries across 125 versions & 2 rubygems

Version Path
calabash-android-0.2.16 test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java
calabash-android-0.2.15 test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java
calabash-android-0.2.14 test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java
calabash-android-0.2.13 test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java
calabash-android-0.2.12 test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java