From 3682965e2db3a2d924203dd87aa06fc826b06d3b Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 16:22:17 +1100 Subject: [PATCH 01/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f1fb82..e4dd000 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: ~/code docker: - - image: circleci/android:api-26-alpha + - image: circleci/android:api-27-alpha environment: JVM_OPTS: -Xmx3200m steps: From cbe7cbf332064ec1226d190ae417cb16bf1957e1 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 16:33:44 +1100 Subject: [PATCH 02/11] Update MainActivityTest.java --- .../java/com/appttude/h_mal/easycc/MainActivityTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java b/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java index 1828199..f47008f 100644 --- a/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java +++ b/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java @@ -24,7 +24,7 @@ public class MainActivityTest { @Test public void testViews(){ - View view = mainActivity.findViewById(R.id.editText); + View view = mainActivity.findViewById(R.id.editTextSomething); assertNotNull(view); } @@ -33,4 +33,4 @@ public class MainActivityTest { public void TearDown() throws Exception{ mainActivity = null; } -} \ No newline at end of file +} From 8500c07daeec846e179dad0aeffc63602a0c2f61 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 16:35:42 +1100 Subject: [PATCH 03/11] Update MainActivityTest.java --- .../java/com/appttude/h_mal/easycc/MainActivityTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java b/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java index f47008f..72a1f38 100644 --- a/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java +++ b/app/src/androidTest/java/com/appttude/h_mal/easycc/MainActivityTest.java @@ -24,7 +24,7 @@ public class MainActivityTest { @Test public void testViews(){ - View view = mainActivity.findViewById(R.id.editTextSomething); + View view = mainActivity.findViewById(R.id.editText); assertNotNull(view); } From 4ac5b3abd8fe11be470fcf46b45dea7f5cad9b5e Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 16:45:49 +1100 Subject: [PATCH 04/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e4dd000..524255a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: name: Run Tests - command: ./gradlew lint test + command: ./gradlew testDemoDebugUnitTest - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports From 28f714f236297ab1b7ec10a80a956181b6417c09 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 16:48:10 +1100 Subject: [PATCH 05/11] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 524255a..61365be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,8 +21,10 @@ jobs: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: - name: Run Tests + name: Run UnitTest command: ./gradlew testDemoDebugUnitTest +# name: Run Tests +# command: ./gradlew lint test - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports From ef5b7e97bb4811b5198c8d0777956db672cab0e4 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:00:50 +1100 Subject: [PATCH 06/11] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 61365be..2825ab5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,10 +21,10 @@ jobs: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: - name: Run UnitTest - command: ./gradlew testDemoDebugUnitTest -# name: Run Tests -# command: ./gradlew lint test +# name: Run UnitTest +# command: ./gradlew testDemoDebugUnitTest + name: Run Tests + command: ./gradlew lint test - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports From 40adf586c5c55de3003c01b4fd25f8efd6e1cbf7 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:01:31 +1100 Subject: [PATCH 07/11] Update MainActivity.java --- app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java b/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java index eae6912..af16ed2 100644 --- a/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java +++ b/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java @@ -63,7 +63,7 @@ public class MainActivity extends AppCompatActivity { this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); // getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); - currencyOneEditText = (EditText) findViewById(R.id.editText); + currencyOneEditText = (EditText) findViewById(R.id.editTextSomething); currencyTwoEditText = (EditText) findViewById(R.id.editText2); currencyOne = (TextView) findViewById(R.id.currency_one); @@ -373,4 +373,4 @@ public class MainActivity extends AppCompatActivity { } -} \ No newline at end of file +} From 834213196b24705700bfe7eb8765ef7247b5bb65 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:02:35 +1100 Subject: [PATCH 08/11] Update MainActivity.java --- app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java b/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java index af16ed2..cdace77 100644 --- a/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java +++ b/app/src/main/java/com/appttude/h_mal/easycc/MainActivity.java @@ -63,7 +63,7 @@ public class MainActivity extends AppCompatActivity { this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); // getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); - currencyOneEditText = (EditText) findViewById(R.id.editTextSomething); + currencyOneEditText = (EditText) findViewById(R.id.editText); currencyTwoEditText = (EditText) findViewById(R.id.editText2); currencyOne = (TextView) findViewById(R.id.currency_one); From 7c44b1dfefbdc1606bfde907b1e244bf16ab3af1 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:11:42 +1100 Subject: [PATCH 09/11] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2825ab5..a39ff44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,10 +21,10 @@ jobs: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: -# name: Run UnitTest -# command: ./gradlew testDemoDebugUnitTest - name: Run Tests - command: ./gradlew lint test + name: Run UnitTest + command: ./gradlew MainActivityTest +# name: Run Tests +# command: ./gradlew lint test - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports From e829cde971c6cb68400dce5bc8b5fd183ac3a65a Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:13:20 +1100 Subject: [PATCH 10/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a39ff44..8990501 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: name: Run UnitTest - command: ./gradlew MainActivityTest + command: ./gradlew ExampleInstrumentedTest # name: Run Tests # command: ./gradlew lint test - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ From ffb6db4dfca05e9edd7a47630ff1bdc1a717e1ed Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sat, 23 Feb 2019 17:17:37 +1100 Subject: [PATCH 11/11] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8990501..0251f43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,10 +21,10 @@ jobs: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: - name: Run UnitTest - command: ./gradlew ExampleInstrumentedTest -# name: Run Tests -# command: ./gradlew lint test +# name: Run UnitTest +# command: ./gradlew ExampleInstrumentedTest + name: Run Tests + command: ./gradlew lint test - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports