/**
 * Copyright 2009 Joe LaPenna
 */
package com.joelapenna.foursquared.test;

import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquared.Foursquared;

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

/**
 * @author Joe LaPenna (joe@joelapenna.com)
 *
 */
public class FoursquaredAppTestCase extends ApplicationTestCase<Foursquared> {

    public FoursquaredAppTestCase() {
        super(Foursquared.class);
    }

    @MediumTest
    public void testLocationMethods() {
        createApplication();
        getApplication().getLastKnownLocation();
        getApplication().getLocationListener();
    }

    @SmallTest
    public void testPreferences() {
        createApplication();
        Foursquared foursquared = getApplication();
        Foursquare foursquare = foursquared.getFoursquare();
        // ... to be continued.
    }
}

/**
 * Copyright 2009 Joe LaPenna
 */

package com.joelapenna.foursquared.test;

import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquared.Foursquared;

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

/**
 * @author Joe LaPenna (joe@joelapenna.com)
 */
public class FoursquaredAppTestCase extends ApplicationTestCase<Foursquared> {

    public FoursquaredAppTestCase() {
        super(Foursquared.class);
    }

    @MediumTest
    public void testLocationMethods() {
        createApplication();
        getApplication().getLastKnownLocation();
        getApplication().getLocationListener();
    }

    @SmallTest
    public void testPreferences() {
        createApplication();
        Foursquared foursquared = getApplication();
        foursquared.getFoursquare();
        // ... to be continued.
    }
}

Fix formatting and a warning for FoursqauredAppTestCase.
Fix formatting and a warning for FoursqauredAppTestCase.

committer: Joe LaPenna <16a9a54ddf4259952e3c118c763138e83693d7fd@joelapenna.com>
