summaryrefslogtreecommitdiff
path: root/app/src/androidTest
AgeCommit message (Collapse)Author
2017-11-24Add Splash StartActivityFup Duck
* added Splash StartActivity to handle updates and initialization * created global Constants * renamed EIP Constants
2017-11-09Merge branch '8777_crashes_when_clicking_too_fast' into 'master'cyberta
8777 crashes when clicking too fast See merge request leap/bitmask_android!16
2017-11-09Merge branch '8778_invalid_provider_error_handling' into 'master'cyberta
#8778 fixes invalid provider error handling See merge request leap/bitmask_android!15
2017-11-098782 fixes app crashes due to missing layout references, removes unneeded ↵cyBerta
layout files, minor layout clean up
2017-11-06reduce duplicate code in ConfigurationWizard for different flavorscyBerta
2017-11-06fix testcyBerta
2017-11-03#8778 fixes invalid provider error handlingcyBerta
2017-10-28#8757 refactores ProviderAPI for insecure flavor, fixes tests, renames ↵cyBerta
confusing constants, updates robotium
2017-10-13Merge branch '8746_client_must_honor_specified_protocol' into 'master'cyberta
#8746 fixes client must honor the protocol default specified by the provider See merge request leap/bitmask_android!10
2017-10-13#8759 fix failing testscyBerta
2017-10-09#8746 fixes client must honor the protocol default specified by the providercyBerta
2017-09-29minor fix: avoid multi catch oneliners for API < 19cyBerta
2017-09-21update ics-openvpn: add and fix testscyBerta
2017-09-18change expiration offset to 15 days before actual certificate expirescyBerta
2017-09-15vpn certificate gets renewed 3 month before current certificate expirescyBerta
2017-09-14improves comparison of images - reduces complexity and more reliablecyBerta
2017-09-14fixes tests that fail to login & some more assertions for showing causes of ↵cyBerta
failure earlier
2017-09-14avoid dependencies between different test classes extending ↵cyBerta
ActivityInstrumentationTestCase2
2017-09-14refactor failing certification validation testcyBerta
2017-09-14rename test classes - starting with a capital lettercyBerta
2015-06-24Tuned some times, refactoring testsParménides GV
2015-06-08s/buildtype/flavor, changed riseup's pinParménides GV
Riseup's EE certificate expired (EE = End-Entity, the commercial certificate signed by the issuer), and we weren't able to fetch provider.json because the pin wasn't valid. This problem needs to be avoided in the future, using HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing on Riseup. Switching from build types from flavors enables us to run tests against production apk, not just debug. I didn't detect this pinning problem because tests were run only against the debug apk, which trusted preseeded providers by default (thus bypassing pinning issue).
2015-06-01Update robotium + increase wait timesParménides GV
Sometimes, the emulator is so slow (I wish genymotion was open source...) that even though everything's going OK tests fail because they don't wait enough.
2015-05-29Tests failed because testOnFailed failed. Added TODO related.Parménides GV
testVpnButtonIsDisplayed and testVpnIconIsDisplayed fail because calyx in testVpnEveryProvider fails, but if you run them alone they pass.
2015-05-29Gateways manager added a gateway from string twice.Parménides GV
Give more time to provider details fragment to appear, because debugging makes the code run slowly.
2015-05-01testOnFailed()Parménides GV
And checks in controllers, so that if a button isn't shown, I throw a new IllegalStateException. This helps to trace the error.
2015-05-01Added test with an incorrect password.Parménides GV
2015-05-01Separated tests for VpnFragment.Parménides GV
2015-05-01Separated tests for UserStatusFragment.Parménides GV
This way, I can add more easily the tests for errors.
2015-04-30Works smoothly, correct texts.Parménides GV
Next step: beautify.
2015-04-29Dynamically load user session fragment.Parménides GV
Tests click new button, instead of action bar's. Fixing more bugs...
2015-04-29Creating a user session fragment.Parménides GV
I've separated the user session management to it, and encapsulated ProviderAPICommand into its own class. Putting the fragment statically in dashboard.xml isn't working, Android complains about it being duplicated, so I'm going to add it dynamically.
2015-04-28Take screenshots of the changes.Parménides GV
2015-04-27Added a button to the UIParménides GV
Turn on VPN touching that button, and leave the image as a mere indicator.
2015-04-27testEveryProvider also worksParménides GV
2015-04-23Tests pay attention to the vpn icon to know statusParménides GV
They were relying on status messages, but I've removed that TextView.
2015-04-23Test to check that the vpn button is shownParménides GV
Fixed more tests, broken due to previous pullreqs...
2015-04-22Method to see if a view is actually shown.Parménides GV
Thanks to http://stackoverflow.com/questions/3791607/how-can-i-check-if-a-view-is-visible-or-not-in-android/12428208#12428208
2015-04-22Tests for ConfigurationWizard passParménides GV
I've done this because of https://leap.se/code/issues/6863#note-2, testing the previous commit's changes.
2015-03-30Wait for the vpn certificate download to start vpn in testParménides GV
2015-03-30Cleaning moved methods.Parménides GV
2015-03-30testEveryProvider() coded and working.Parménides GV
Calyx fails.
2015-03-27Just coded, not testedParménides GV
2015-03-24Indent everything with IntelliJParménides GV
2015-03-24Cleaned imports, use wildcards when appropriateParménides GV
2015-01-19More tests, sometimes they don't pass sometimes doParménides GV
testIsValid depends on the speed of Runtime's exec: sometimes it's quick and passes (because it changes the date correctly) and sometimes is not. A waitFor doesn't fix the issue, it waits forever.
2015-01-19Tests for valid certificate.Parménides GV
2015-01-19Extracted GatewaysManager + coded its testsParménides GV
2015-01-19Beginning the tests for EIP.Parménides GV
2014-12-31Don't remove vpn profiles if possible.Parménides GV