Andrew Grieve
9e04eec9dd
Make BackButtonMultiPageTest tests not hang forever.
...
They still don't pass, but at least fail now.
2015-01-20 14:53:31 -05:00
Andrew Grieve
0e19f88a04
Make unit tests work with Gradle
...
Had to split the test app from the tests, since that's how gradle forces
you to do it.
2015-01-20 14:31:59 -05:00
Andrew Grieve
e788e8fa0f
Delete test/ ant files and cordova scripts
2015-01-20 14:14:39 -05:00
Joe Bowser
6cbf6b7875
CB-7674: Added sleep to avoid null error after most recent change to not break API
2014-09-30 17:57:42 -07:00
Marcel Kinard
c255a84941
CB-7674 move preference activation back into onCreate()
...
The preference creation actually needs to be before
super.onCreate(savedInstance) in order to avoid the exception
"requestFeature() must be called before adding content". Also ran into an
issue in the native tests "Whitelist" and "User WebView/Client/Chrome" where
it would throw an exception that the CordovaWebView appView already had
a parent and needed to be removed from that parent before the invocation
to root.addView(appView). So I conditionally remove the wrong parent.
Also made a change to the native tests so the menus test would work.
I also put super.init() back into the template, though invoking it is optional
as loadUrl will call it automatically if needed.
2014-09-30 19:38:34 -04:00
Marcel Kinard
a658ea1573
CB-7410 update the docs to match the actual title
2014-09-25 11:25:09 -04:00
Joe Bowser
81cc3c260f
CB-7463: Adding licences. I don't know what the gradle syntax is for comments, that still needs to be done.
2014-09-04 10:32:29 -07:00
Marcel Kinard
0cde8819cf
CB-7410 fix the menu test
...
Need to show the title in order for the options menu button to be visible.
2014-08-29 18:07:29 -04:00
Marcel Kinard
07632b0eeb
CB-7410 Fix the errorUrl test
...
Make the error.html page a well-formed html document, otherwise it
won't display.
2014-08-29 17:38:03 -04:00
Marcel Kinard
4a7f825cfe
CB-7410 Fix Basic Authentication test
...
Looks like the Chromium webview does not include the port number on the
hostname during the callback challenge, but the classic webview does
include the port number. Handle both cases here.
2014-08-29 16:41:51 -04:00
Marcel Kinard
12a27643db
CB-7410 clarify the title
2014-08-27 13:56:31 -04:00
Marcel Kinard
16e3ebd87b
CB-7410 add whitelist entries to get iframe/GoogleMaps working
2014-08-26 17:20:58 -04:00
Marcel Kinard
94c096dd5b
CB-7291 propogate change in method signature to the native tests
2014-08-26 16:38:04 -04:00
Joe Bowser
50ea162251
Change in test's AndroidManifest.xml needed for the test to run properly. Forgot the manifest.
2014-08-14 14:30:31 -07:00
Joe Bowser
9c239804d3
Change in test's AndroidManifest.xml needed for the test to run properly
2014-08-14 14:29:54 -07:00
Joe Bowser
320e31bb10
Adding tests related to 3.5.1
2014-08-12 11:09:53 -07:00
Joe Bowser
48b51c451a
CB-7238: I should have collapsed this, but Config.init() must go before the creation of CordovaWebView
2014-07-31 09:23:14 -07:00
Joe Bowser
3d191d5884
CB-7238: Minor band-aid to get tests running again, this has to go away before 3.6.0 is released, since this is an API change.
2014-07-31 08:17:31 -07:00
Andrew Grieve
a33cdc9c7b
Fix broken unit test due to missing Config.init() call
2014-07-14 14:06:47 -04:00
Andrew Grieve
d8a19b5565
Update unit tests to not use most deprecated things (e.g. DroidGap)
2014-07-10 10:23:44 -04:00
Andrew Grieve
2f24e42dc1
Make CordovaWebview resilient to init() not being called (for backwards-compatibility)
...
This can happen when apps are not utilizing CordovaActivity and instead
creating their own CordovaWebView.
2014-07-09 21:08:29 -04:00
Andrew Grieve
e86c2e5970
Move registration of App plugin from config.xml -> code
...
Less fragile this way.
2014-07-08 11:47:26 -04:00
Joe Bowser
c47bcb2f54
This breaks running the JUnit tests, we'll bring it back soon
2014-06-24 12:55:56 -07:00
Marcel Kinard
2661e010d9
CB-6784 Add missing licenses
...
for ./test/assets/www/cordova_plugins.js and ./test/res/xml/config.xml
2014-05-30 15:10:54 -04:00
Marcel Kinard
e98f6ae570
CB-6723 Update package name for Robotium
2014-05-20 07:09:02 -04:00
Marcel Kinard
0b5bf0c098
CB-6707 Update minSdkVersion to 10 consistently
...
Update minSdkVersion in the AndroidManifest for the cordova.jar and the
test project.
2014-05-20 07:00:21 -04:00
Vyacheslav Shabelnik
8e260d5c40
CB-5714 Fix of android build when too big output stops build with error due to buffer overflow.
2013-12-30 11:06:37 -05:00
Joe Bowser
642bd10dcc
Forgot Apache Headers on MessageTest
2013-12-03 15:52:38 -08:00
Joe Bowser
0fe6d9f367
Updating the README
2013-11-29 14:28:11 -08:00
Joe Bowser
41cace9a96
Updating tests to KitKat, and making the tests more thread-safe
2013-11-29 14:28:10 -08:00
Joe Bowser
4638331cb4
Incrementing API target
2013-11-29 14:28:10 -08:00
Marcel Kinard
59c0b04602
CB-5346: remove dependency on device plugin
...
- remove dependency on the device plugin in the js and html
- clean out dollar signs chars that were accidently appended to the license
- fix punctuation in the viewport value
2013-11-13 15:09:19 -05:00
Marcel Kinard
11b3cf3bfd
CB-5346: delete a stale file that isn't needed
2013-11-13 13:54:33 -05:00
Joe Bowser
9254f5a8a5
Updating instructions to indicate that the device plugin is required to be installed via plugman
2013-11-12 14:34:14 -08:00
Joe Bowser
e5b68f4a3c
Fixing plugins configuration, Device shouldn't be checked in here
2013-11-12 14:27:09 -08:00
Joe Bowser
95babc01e3
Removing device plugin
2013-11-12 14:25:37 -08:00
Joe Bowser
4dd792a49f
Removing the plugins directory after the plugins were incorrectly removed
2013-11-12 14:24:30 -08:00
Joe Bowser
207c50e500
This should use plugman to install plugins. Adding path depenencies for plugins is wrong, and shouldn't be done
2013-11-12 13:59:17 -08:00
Marcel Kinard
b895a0c335
CB-5346 Fix and cleanup broken Android unit test
...
- Found stale cordova.js in the test project. Changed ant script to copy in
a fresh one in the pre-build stage. Removed stale copies from git, added
to .gitignore. This is what was causing the test failure when sending
javascript to the webview.
- Found almost-stale copy of device plugin, did the same as above.
- Fixed spacing in log messages in CordovaWebView.
- Updated README.md with current information.
- Removed dollar signs that were previously accidently appended to the license.
- Added cordova version to html pages, next to the other metadata.
- Fix incorrect separator in the viewport meta tag.
- Changed old-style <log> tag to <preference name="loglevel"> in config.xml.
- In BackButtonMultiPageTest, increased the TIMEOUT so the deviceready event
can trigger the referenced javascript, improved the setup() method to
explicitly load the starting point.
2013-11-11 16:19:01 -05:00
Josh Soref
c5767eb545
CB-5307 Remove references to Callback and Incubator
2013-11-07 09:02:17 -05:00
Joe Bowser
94fb79c17f
CB-5302: Massive movement to get tests working again
2013-11-06 15:06:20 -08:00
Marcel Kinard
04f812c136
CB-5301 add missing license headers
2013-11-06 16:27:46 -05:00
Andrew Grieve
862a8eab8d
[CB-4763] Delete FileHelper.java, Move getMimeType() into CordovaResourceApi.
2013-09-09 15:43:04 -04:00
Andrew Grieve
4e1aa8aa59
Fix data URI decoding in CordovaResourceApi
...
It was not URI-decoding first, and so was broken for non-base64-encoded
URIs.
2013-08-13 14:11:40 -04:00
Andrew Grieve
e086a706ba
Remove plugin references in test project's config.xml
2013-08-02 13:19:14 -04:00
Joe Bowser
5c4fa213d1
CB-4230: We test Cordova, not jQuery Mobile
2013-07-15 14:08:54 -07:00
Joe Bowser
1895d8ac9e
CB-3944: Removing activity that doesn't exist
2013-07-15 13:54:00 -07:00
Joe Bowser
7f5f87ac72
CB-3957: The new activity wasn't added to the Android Manifest
2013-07-15 13:51:27 -07:00
ldeluca
0244341ac5
moved the backgroundcolor class to correct classpath
2013-07-15 13:46:18 -07:00
ldeluca
ae96d5678b
changes the test name to make it auto run
2013-07-15 13:46:17 -07:00