<commit_before>package org.commcare.android.tests.activities;

import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;

import org.commcare.CommCareNoficationManager;
import org.commcare.CommCareTestApplication;
import org.commcare.activities.CommCareSetupActivity;
import org.commcare.activities.InstallArchiveActivity;
import org.commcare.android.CommCareTestRunner;
import org.javarosa.core.services.locale.Localization;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.Shadows;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowActivity;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

/**
 * Test performing app installs through the setup activity
 *
 * @author <NAME> (<EMAIL>)
 */

// Using sdk 19 to get past NsdManager because of a bug in robolectric that causes NsdManager
// to get initialized with a null context resulting in a NPE
@Config(application = CommCareTestApplication.class, sdk = 19)<commit_msg>Trying sdk 18<commit_after>package org.commcare.android.tests.activities;

import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;

import org.commcare.CommCareNoficationManager;
import org.commcare.CommCareTestApplication;
import org.commcare.activities.CommCareSetupActivity;
import org.commcare.activities.InstallArchiveActivity;
import org.commcare.android.CommCareTestRunner;
import org.javarosa.core.services.locale.Localization;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.Shadows;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowActivity;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

/**
 * Test performing app installs through the setup activity
 *
 * @author <NAME> (<EMAIL>)
 */

// Using sdk 19 to get past NsdManager because of a bug in robolectric that causes NsdManager
// to get initialized with a null context resulting in a NPE
@Config(application = CommCareTestApplication.class, sdk = 18)
{'fraction_non_alphanumeric': 0.08713029576338929, 'fraction_numerical': 0.003996802557953637, 'mean_word_length': 6.255072463768116, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '683911', 'n_tokens_mistral': 747, 'n_tokens_neox': 709, 'n_words': 179}