<commit_before>package eic.beike.projectx.android.activities;

import android.test.ActivityInstrumentationTestCase2;

/**
 * Created by Simon on 2015-10-14.
 */
public class GameActivityTest extends ActivityInstrumentationTestCase2<GameActivity> {

    GameActivity activity;

    public GameActivityTest() {
        super(GameActivity.class);
    }



    public void tearDown() throws Exception {

        if (this.activity != null) {
            this.activity.finish();
        }

        this.activity = null;

        super.tearDown();
    }

    /**
     * Test that the activity can start properly and its the right activity.
     */
    public void testActivityExits() {
        assertNotNull(activity);
        assertSame(GameActivity.class, activity.getClass());
    }

}<commit_msg>now gameActivityTest works<commit_after>package eic.beike.projectx.android.activities;

import android.test.ActivityInstrumentationTestCase2;

/**
 * Created by Simon on 2015-10-14.
 */
public class GameActivityTest extends ActivityInstrumentationTestCase2<GameActivity> {

    GameActivity activity;

    public GameActivityTest() {
        super(GameActivity.class);
    }



    public void tearDown() throws Exception {

        if (this.activity != null) {
            this.activity.finish();
        }

        this.activity = null;

        super.tearDown();
    }

    /**
     * Test that the activity can start properly and its the right activity.
     */
    public void testActivityExits() {
        activity = getActivity();
        assertNotNull(activity);
        assertSame(GameActivity.class, activity.getClass());
    }

}
{'fraction_non_alphanumeric': 0.09797917942437231, 'fraction_numerical': 0.01224739742804654, 'mean_word_length': 2.730593607305936, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3527668', 'n_tokens_mistral': 458, 'n_tokens_neox': 428, 'n_words': 102}