A calculator for quick simple calculations with a nice user interface and no ads
app | ||
gradle/wrapper | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle | ||
signing.properties_sample |
Simple-Calculator
A simple Android opensource calculator with a widget, functional and UI tests
Running Espresso UI tests
1. at Build Variants select "Android Instrumentation Tests" 2. Run -> Edit Configurations 3. create a new "Android Tests" configuration, give it a name (i.e. "MainActivityEspressoTest") 4. choose the "app" module 5. OK 6. make sure MainActivityEspressoTest is selected near the Run button 7. RunRunning Robolectric tests
1. at Build Variant select "Unit Tests" 2. at the Project tab right click the folder containing the tests (i.e. "calculator.simplemobiletools.com.simple_calculator (test)") 3. select Run 'Tests in 'calculator.simplemob...' to run all the tests 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) 5. OK 6. RunLicense
Copyright 2016 SimpleMobileTools
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.