| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
- These tests will probably not make sense with the upcoming UI change.
- Moved testAttachmentWritePermissions to UtilityUnitTests.
It's a test for createUniqueFile, which is now owned by Utility.
- Removed Long.MIN_VALUE hack from MessageView.
New tests should have something better.
Change-Id: I9a09e5e8080a165b010607d1fa3112bcaaab4f90
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Removed dead code/dead comment.
- Moved static utility methods to Utility.
- Renamed some methods.
- Changed the timing to call super methods.
Also:
- Internationalized formatSize()
- Added unit tests for createUniqueFile() and formatSize()
- createUniqueFile now uses File.createNewFile() instead of exists().
Change-Id: Ibc30e15b029ed5088954bd6fc9032e25dddf176e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Follow up to I3bf7d340. Make sure temp directory is set before running tests.
Turned out Application.onCreate doesn't seem to be guaranteed to be run
before unit tests.
Without this, some tests may fail saying: "TempDirectory not set.
Application hasn't started??", if onCreate runs too late.
Change-Id: Ic5aee939a2c21f9579a643d0729dd0e9ba81022e
|
| |
|
|
|
|
|
| |
I need to be able to get the temp dir from anywhere without Context
for the new IMAP parser.
Change-Id: I3bf7d34059399a8253c0760ebc392804ea434412
|
| |
|
|
|
|
| |
- Made tests use the new package-name-free constructor of ActivityInstrumentationTestCase2.
Bug 2226160
|
| |
|
|
| |
Bug 2353633.
|
| |
|
|
| |
Bug 2170118
|
| |
|
|
| |
I'm surprised these were working at all.
|
| |
|
|
| |
Change-Id: Iacff02d7bb025f6c4d6de9ca8dfa96c6cbb78d67
|
| |
|
|
|
|
|
|
|
|
|
| |
* Remove all references to Account.mIsDefault, which was not the right
way to find the default account (it is lazy initialized)
* Change Account.getDefaultAccount to getDefaultAccountId, which is more
efficient and suitable in most uses.
* Wrote unit tests for provider default account handling
This should resolve bug 1983390 as well as a few other issues with default
account management.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
some annotations based on time.
Merge commit 'a492673609111fe8c41ae152d62547b267346502'
* commit 'a492673609111fe8c41ae152d62547b267346502':
Review Email tests annotations (small/medium/large) and change some annotations based on time.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
annotations based on time.
Fix an NPE appearing when running the test suite.
BUG: 1566281, 1910409.
|
| | |
| |
| |
| |
| | |
EmailStore goes away, replaced by EmailContent
All database activity is moved to EmailProvider
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
What works:
* Unit tests, except for com.android.email.activity.setup.*
* Editing existing accounts
* Create new accounts
* Checking account settings against server
* Mail sync using accounts
* Viewing mailboxes
What breaks (in approx order of planned fixes)
* Unit tests in com.android.email.activity.setup.*
* Viewing messages
* Composing messages
* Some details of account editing
* Import of existing accounts
|
| |\
| |
| |
| | |
donut
|
| | |
| |
| |
| |
| |
| |
| | |
Integrate CL 148437 from DocomoEmail.
BUG=1860250
Automated import of CL 149664
|
| |/
|
|
|
|
| |
Add unit test to verify writeable to sdcard.
Fixed bug http://b/issue?id=1883487
|
| |
|
|
|
|
|
|
|
|
|
| |
in WebView.
Integrate CL 144586,145919 from imode.
Remove the Emoji escaping/workaround for WebView.
Also integrate MimeHeader.java from CL 143064 from imode.
BUG=1785319,1860250
Automated import of CL 149564
|
| |
|
|
|
|
|
| |
Integrates CL 148436, 148515, 148833 from imode email.
BUG=1814789,1860250
Automated import of CL 149523
|
| |
|
|
|
|
|
|
| |
confusion) from imode to donut.
BUG=1598754,1860250
Automated import of CL 149442
|
| |
|
|
|
|
|
| |
Fix NPE's in loadMessageForViewBodyAvailable().
BUG=1831272
Automated import of CL 148300
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syncing. This provides a key-value store, per folder, that
can be used by network Stores to record persistent data such
as sync status, server keys, etc.
Note that, by definition, this only applies to remote folders
(e.g. IMAP, POP3). You'll see everywhere that LocalFolder is
passed null, and this is correct - LocalFolder *is* persistent
storage and does not need external help.
Note to reviewers: The core changes are Folder.java,
LocalStore.java, and LocalStoreUnitTests.java, so please give
them the bulk of your reviewer attention. The other files
are just following along with minor API changes. Of those,
the one worth close examination is MessagingController.java,
which is the only place in the system where remote Folders
are bonded with Local Folders and thus where this new API
comes into play.
Note to jham: Can you please take a look at
LocalStore.LocalFolder.setPersistentString() and recommend
better SQL foo than my primitive test-then-update-or-insert
logic, which is not transactional or threadsafe.
BUG=1786939
Automated import of CL 146134
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|