updating readme

This commit is contained in:
Tibor Kaputa 2017-11-05 20:41:04 +01:00 committed by GitHub
parent e3aaff7b2a
commit 6bd65b4fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 16 deletions

View File

@ -1,5 +1,5 @@
# Simple Calculator # Simple Calculator
<img alt="Logo" src="app/src/main/res/mipmap-xxxhdpi/launcher.png" width="80"> <img alt="Logo" src="app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" width="80">
A calculator with the basic functions and a customizable widget. A calculator with the basic functions and a customizable widget.
@ -7,7 +7,7 @@ You can copy the result or formula to clipboard by long pressing it.
The text color of the widget can be customized, as well as the color and the alpha of the background. Press the result or formula in the widget to open the app. The text color of the widget can be customized, as well as the color and the alpha of the background. Press the result or formula in the widget to open the app.
Contains no ads or unnecessary permissions. It is fully opensource, provides a Dark theme too. Contains no ads or unnecessary permissions. It is fully opensource, provides customizable colors.
This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com
@ -21,25 +21,23 @@ This app is just one piece of a bigger series of apps. You can find the rest of
It contains a couple UI and unit tests, they can be ran with the following instructions. It contains a couple UI and unit tests, they can be ran with the following instructions.
<h3>Running Espresso UI tests</h3> <h3>Running Espresso UI tests</h3>
1. at Build Variants select "Android Instrumentation Tests" <p>1. Run -> Edit Configurations</p>
2. Run -> Edit Configurations <p>2. Create a new "Android Instrumentation Tests" configuration, give it a name (i.e. "MainActivityEspressoTest")</p>
3. create a new "Android Tests" configuration, give it a name (i.e. "MainActivityEspressoTest") <p>3. Choose the "app" module</p>
4. choose the "app" module <p>4. OK</p>
5. OK <p>5. Make sure MainActivityEspressoTest is selected near the Run button</p>
6. make sure MainActivityEspressoTest is selected near the Run button <p>6. Run</p>
7. Run
<h3>Running Robolectric tests</h3> <h3>Running Robolectric tests</h3>
1. at Build Variant select "Unit Tests" <p>1. At the Project tab right click the folder containing the tests (i.e. "calculator.simplemobiletools.com.simple_calculator (test)")</p>
2. at the Project tab right click the folder containing the tests (i.e. "calculator.simplemobiletools.com.simple_calculator (test)") <p>2. select Run 'Tests in 'calculator.simplemob...' to run all the tests</p>
3. select Run 'Tests in 'calculator.simplemob...' to run all the tests <p>3. if you are on Linux or Mac, go to Run -> Edit Configurations, select the new JUnit configuration and change the "Working Directory" item to "$MODULE_DIR$" (without quotes)</p>
4. if you are on Linux or Mac, go to Run -> Edit Configurations, select the new JUnit configuration and change the "Working Directory" item to "$MODULE_DIR" (without quotes) <p>4. OK</p>
5. OK <p>5. Run</p>
6. Run
License License
------- -------
Copyright 2016 SimpleMobileTools Copyright 2017 SimpleMobileTools
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.