Skip to content

Commit ecde4e4

Browse files
Added sample application
Refactoring
1 parent e0e5b92 commit ecde4e4

File tree

21 files changed

+711
-57
lines changed

21 files changed

+711
-57
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
/.idea/workspace.xml
44
/.idea/libraries
55
.DS_Store
6-
/build
7-
/captures
6+
/build

.idea/codeStyleSettings.xml

Lines changed: 229 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/app.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,13 @@
8686
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
8787
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
8888
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
89+
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
8990
</content>
9091
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
9192
<orderEntry type="sourceFolder" forTests="false" />
9293
<orderEntry type="library" exported="" name="appcompat-v7-23.0.0" level="project" />
9394
<orderEntry type="library" exported="" name="support-v4-23.0.0" level="project" />
9495
<orderEntry type="library" exported="" name="support-annotations-23.0.0" level="project" />
96+
<orderEntry type="module" module-name="assertdialog" exported="" />
9597
</component>
9698
</module>

app/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ apply plugin: 'com.android.application'
33
android {
44
compileSdkVersion 23
55
buildToolsVersion "23.0.0"
6-
76
defaultConfig {
8-
applicationId "com.lekz112.assertdialog"
7+
applicationId 'com.lekz112.assertdialog.example'
98
minSdkVersion 14
109
targetSdkVersion 23
1110
versionCode 1
@@ -17,9 +16,12 @@ android {
1716
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1817
}
1918
}
19+
productFlavors {
20+
}
2021
}
2122

2223
dependencies {
2324
compile fileTree(dir: 'libs', include: ['*.jar'])
2425
compile 'com.android.support:appcompat-v7:23.0.0'
26+
compile project(':assertdialog')
2527
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.lekz112.assertdialog" >
3+
package="com.lekz112.assertdialog.example">
44

55
<application
6+
android:name=".ExampleApplication"
67
android:allowBackup="true"
78
android:icon="@mipmap/ic_launcher"
89
android:label="@string/app_name"

app/src/main/java/com/lekz112/assertdialog/MainActivity.java

Lines changed: 0 additions & 37 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.lekz112.assertdialog.example;
2+
3+
import android.app.Application;
4+
import android.test.ApplicationTestCase;
5+
6+
/**
7+
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
8+
*/
9+
public class ApplicationTest extends ApplicationTestCase<Application> {
10+
public ApplicationTest() {
11+
super(Application.class);
12+
}
13+
}

0 commit comments

Comments
 (0)