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

com.openxc.VehicleManagerTest Maven / Gradle / Ivy

The newest version!
package com.openxc;

import com.openxc.VehicleManager;

import android.content.Intent;

import android.test.ServiceTestCase;

import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;

public class VehicleManagerTest extends ServiceTestCase {
    Intent startIntent;

    public VehicleManagerTest() {
        super(VehicleManager.class);
    }

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        startIntent = new Intent();
        startIntent.setClass(getContext(), VehicleManager.class);
    }

    @SmallTest
    public void testPreconditions() {
    }

    @SmallTest
    public void testStartable() {
        startService(startIntent);
    }

    @MediumTest
    public void testBindable() {
        bindService(startIntent);
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy