Commit graph

6714 commits

Author SHA1 Message Date
cketti
e2f5719826 Override hostname used for EHLO command in tests 2016-10-19 10:20:27 +02:00
cketti
21d4ceb0d8 Merge pull request #1649 from philipwhiuk/smtpTesting
SMTP: Testing SmtpTransport using new MockSmtpServer
2016-10-19 10:04:41 +02:00
cketti
81245150d7 Tweak test names 2016-10-19 09:57:52 +02:00
cketti
457f69a94e Add missing assertions to SmtpTransportTest 2016-10-19 09:57:52 +02:00
cketti
5ab9de5f55 Make tests more concise to improve readability 2016-10-19 09:57:52 +02:00
cketti
2ecd7f0e4e Add nicer API to build test messages 2016-10-19 09:57:52 +02:00
cketti
edbda6df26 Move test helper classes to different package 2016-10-19 09:57:52 +02:00
cketti
82bc18673c Code style fixes 2016-10-19 09:56:16 +02:00
Philip Whitehouse
a2b545fc39 SMTP: Further test coverage for various cases 2016-10-19 09:56:16 +02:00
Philip Whitehouse
d1904900c8 SMTP: Add test for 8-bit encoding behaviour 2016-10-19 09:56:16 +02:00
Philip Whitehouse
0d339ef56c SMTP: Test sendMessage 2016-10-19 09:56:16 +02:00
Philip Whitehouse
215cbb6d9a SMTP: Testing SmtpTransport using new MockSmtpServer 2016-10-19 09:56:16 +02:00
cketti
61662c5b4a Don't use numerals in test names 2016-10-19 09:38:41 +02:00
cketti
89212cd10c Use okio's Buffer instead of ByteArrayOutputStream 2016-10-19 09:33:06 +02:00
cketti
1a60a91ddf Stop using "result" as variable name to store result of tested method 2016-10-19 09:31:30 +02:00
cketti
6caada1b48 Fix warnings 2016-10-19 09:31:30 +02:00
cketti
f9853dce08 Code style fixes 2016-10-19 09:19:48 +02:00
Jan Berkel
7956c3aa83 Merge pull request #1654 from philipwhiuk/imapTesting
IMAP: Tests for fetchPart and other uncovered areas of code
2016-10-19 08:30:27 +02:00
Philip Whitehouse
2feb367de1 Changes from code review by jberkel 2016-10-19 01:34:05 +01:00
cketti
06e16478cb Merge pull request #1726 from k9mail/fix_notification_grouping
Don't use same notification group key for all accounts
2016-10-19 02:21:17 +02:00
cketti
6459f542b0 Merge pull request #1729 from jberkel/expect-io-exception
Make test expectation more generic
2016-10-18 20:56:16 +02:00
Jan Berkel
6b76a727e2 On my system this test fails with SocketTimeoutException 2016-10-18 13:52:23 +02:00
cketti
ffd051b0ec Don't use same notification group key for all accounts 2016-10-18 06:21:25 +02:00
Jonas Lundqvist
c06721f977
Enable directional pads for next/previous message 2016-10-14 23:26:02 +02:00
Philip Whitehouse
10b46e2f49 Reformat to match coding standards 2016-10-13 23:14:40 +01:00
Philip Whitehouse
dfc3212ca5 IMAP: Finish test when index 1 passed to areMoreMessagesAvailable 2016-10-13 23:06:44 +01:00
Philip Whitehouse
0a7de4b645 IMAP: Add proper test for fetchPart() 2016-10-13 23:06:44 +01:00
Philip Whitehouse
9a6009d8d4 IMAP: Test coverage improvements 2016-10-13 23:06:44 +01:00
Philip Whitehouse
8b4fc30f4a IMAP: Clarify location of unimplemented functionality 2016-10-13 23:06:44 +01:00
cketti
067ba7930c Version 5.114 2016-10-13 20:24:16 +02:00
cketti
27e5435b96 Merge pull request #1715 from k9mail/update_translations
Update translations
2016-10-13 19:04:54 +02:00
cketti
2bebb90d4c Update translations 2016-10-13 18:22:21 +02:00
Jonas Lundqvist
21df74f7f4
Added test for MessageReference.withModifiedFlag() 2016-10-12 23:45:59 +02:00
Jonas Lundqvist
6ab4c3b3e6
Added test for MessageReference.withModifiedUid() 2016-10-12 23:45:55 +02:00
Vincent Breitmoser
aaa904e075 When moving temporary files, try to copy if rename fails, and throw if that fails too (#1686)
Fixes #1243
2016-10-12 16:47:23 +02:00
Dominik Schürmann
6eca92ea97 Fix LICENSE on GitHub (#1712) 2016-10-12 16:35:13 +02:00
cketti
2087f0476c Merge pull request #1691
Improve Activity operation text

Fixes #1685
2016-10-12 16:23:57 +02:00
cketti
e511b8b7c1 Further clean up of ActivityListenerTest
* \u0020 is a hack required to have spaces at the beginning of resource
  strings. But there's no need to replicate this inside our tests.
* Dependencies shouldn't be static finals.
* Initialization of dependencies is usually boring. I like to extract that
  code to methods and put them at the end of the file.
* Using different values for 'current progress' and 'total' has the
  advantage of breaking tests when the two accidentally get mixed up.
2016-10-12 16:18:23 +02:00
cketti
1415261fdd Merge pull request #1705 from k9mail/no-crypto-hide-recipient-dots
hide recipient dots if no crypto provider is configured
2016-10-12 15:53:16 +02:00
cketti
4eb7c41f61 Merge pull request #1703 from k9mail/compose-fix-indeterminate
compose: hide indeterminate progress bar after onCreate (fix for api level 15)
2016-10-12 15:51:16 +02:00
Philip
f913f0802e Merge pull request #1708 from jonas-lundqvist/javadoc_localsearch
JavaDoc fix in LocalSearch
2016-10-12 01:34:24 +01:00
Jonas Lundqvist
2c81e11c1d
JavaDoc fix in LocalSearch
Minor JavaDoc fix to get rid of a warning.
2016-10-12 00:10:03 +02:00
cketti
0dfa6345b3 Merge pull request #1702 from k9mail/fix-old-api-npe
Avoid indirect call to invalidateOptionsMenu() before recipientPresenter is initialized
2016-10-11 18:52:29 +02:00
cketti
b01f49b39a Merge pull request #1704 from k9mail/messageprovider-fix-npe
Fix NPE in MessageProvider
2016-10-11 17:03:54 +02:00
Vincent Breitmoser
9fb91a0afc use Compat classes to access deprecated methods 2016-10-11 14:44:09 +02:00
Vincent Breitmoser
89fe5d790e hide dots in recipient list if no crypto provider is configured 2016-10-11 14:44:09 +02:00
Vincent Breitmoser
dae6be34df fix NPE in MessageProvider 2016-10-11 13:55:25 +02:00
Vincent Breitmoser
76b2339b69 compose: hide indeterminate progress bar after initialization (fix for api level 15) 2016-10-11 12:22:53 +02:00
Vincent Breitmoser
a88ccfd9e8 avoid indirect call to invalidateOptionsMenu() before recipientPresenter is initialized 2016-10-11 11:42:20 +02:00
cketti
54bf6f7bd5 Merge pull request #1695 from jonas-lundqvist/backstackid
Save state for back stack id in MessageList
2016-10-11 03:54:40 +02:00