All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.api.android.CucumberInstrumentation Maven / Gradle / Ivy

There is a newer version: 7.18.1
Show newest version
package cucumber.api.android;

import android.app.Instrumentation;
import android.os.Bundle;

/**
 * A simple extension of the {@link android.app.Instrumentation} utilizing the {@link cucumber.api.android.CucumberInstrumentationCore}.
 */
public class CucumberInstrumentation extends Instrumentation {

    /**
     * The {@link cucumber.api.android.CucumberInstrumentationCore} which will run the actual logic using this {@link android.app.Instrumentation}
     * implementation.
     */
    private CucumberInstrumentationCore cucumberInstrumentationCore = new CucumberInstrumentationCore(this);

    @Override
    public void onCreate(final Bundle bundle) {
        super.onCreate(bundle);
        cucumberInstrumentationCore.create(bundle);
        start();
    }

    @Override
    public void onStart() {
        cucumberInstrumentationCore.start();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy