Philip Whitehouse
4cd7fd6e47
MessageProviderTest - Clean up cursor usage
2017-02-04 18:01:27 +00:00
Philip Whitehouse
859db0ce10
MessageProvider - Test basic behaviour
2017-02-04 15:56:42 +00:00
cketti
0d4d39acaa
Code style fixes
2017-01-26 20:27:38 +01:00
cketti
84cef1d8b1
Get rid of trivial static factory methods
2016-08-15 11:42:47 +02:00
Vincent Breitmoser
1e97f1ce16
inject UuidGenerator into MimeMessage via constructor instead of parameter
2016-08-10 14:30:53 +02:00
Vincent Breitmoser
3f0fb9fd3e
change tests to use more actual Part/Body classes instead of mocks
2016-07-28 14:53:57 +02:00
Vincent Breitmoser
65f2539e0b
move MessageViewInfoExtractorTest to unit tests
...
(Yes, I made sure these still run successfully!)
2016-07-24 20:50:35 +02:00
Vincent Breitmoser
e002451296
move ViewableContainer into MessageViewInfoExtractor
2016-05-19 14:27:58 +02:00
Vincent Breitmoser
e57c82238d
some refactorings for Message*Extractor classes
...
This commit contains no semantic changes. One significant change is the
return type of MessageExtractor.findViewablesAndAttachments, which was
changed from a mixed return type (viewables as return value, attachments
as output parameter) to two output parameters, both for consistency and
performance.
2016-05-19 14:27:55 +02:00
cketti
60f6af03bf
Fix EmailProviderTest to actually test for issue #1275
2016-04-19 01:29:36 +02:00
Philip Whitehouse
289c93d9d1
General testing for the EmailProvider and verification of fix for #1275
2016-04-15 19:37:10 +02:00
cketti
e0a772561d
Remove tests dependent on GreenMail
...
GreenMail referencing classes that are not available on Android seems to
break the 'connectedCheck' Gradle task. The end-to-end tests were also
quite flaky.
2015-12-22 17:54:57 +01:00
cketti
ff18f9b3f8
Update test dependencies
2015-12-22 17:54:57 +01:00
cketti
6adee8f353
Remove MessageInfoExtractorTest
2015-12-21 02:44:39 +01:00
cketti
a24d85d754
Move library tests to k9mail-library module
2015-05-21 02:21:38 +02:00
cketti
4b273c1749
Move some tests from 'androidTest' to 'test' folder
2015-05-20 21:00:43 +02:00
Marcus Wolschon
0f848ee51f
reverting accidental commit 1dfc2a5490
2015-04-28 22:17:02 +02:00
cketti
d538278be6
Don't write HtmlConverterTest results to a file
...
Fixes issue #618
2015-04-28 05:43:35 +02:00
cketti
a3375d7030
Make MessageReference fields private
2015-04-03 20:43:49 +02:00
cketti
632517be81
Remove trivial comments
2015-04-03 19:50:50 +02:00
Valentin CAULIER
ebcd10d1b1
Merge remote-tracking branch 'upstream/master' into MessageReferenceImmutability
2015-03-21 11:53:40 +01:00
Valentin CAULIER
3e84c20c9b
Updating other classes to use new constructor and getters of
...
MessageReference
2015-03-21 11:12:13 +01:00
cketti
ab964cf8af
Merge branch 'pgp_mime_preparations'
2015-03-16 16:14:45 +01:00
cketti
54831fba73
Remove test for openpgp-api-library code
2015-03-16 16:05:25 +01:00
Art O Cathain
110400a85b
move NetworkType to k9mail-library, use on StoreConfig
2015-03-08 12:59:15 +00:00
cketti
bf344dee5d
Merge branch 'master' into pgp_mime_preparations
2015-03-03 00:33:45 +01:00
cketti
d443a6d4eb
Add more tests
2015-02-23 02:58:16 +01:00
cketti
a979accb54
Add helper methods to get more readable tests
2015-02-23 02:58:16 +01:00
cketti
af491fdb41
Remove comments
2015-02-23 02:23:00 +01:00
cketti
084e7a1687
Change names of test methods
2015-02-23 02:22:10 +01:00
cketti
8fbb3edd1c
Fix code style
2015-02-23 01:45:30 +01:00
Valentin CAULIER
23c01b0390
MessageReference class, method equals() unit tests
2015-02-22 21:11:13 +01:00
cketti
ba1fc1305f
Merge branch 'master' into pgp_mime_preparations
2015-02-14 05:10:15 +01:00
cketti
9c3cab2354
Don't show changelog dialog during UI tests
...
This will hopefully make the UI tests more stable.
2015-02-14 04:23:54 +01:00
cketti
0a07250417
Fix class name
2015-01-29 20:07:30 +01:00
Vincent Breitmoser
712acf4481
early support for detached signatures
2015-01-29 19:01:44 +01:00
cketti
edf75a32d8
Fix LocalMessageExtractorTest
2015-01-29 17:41:46 +01:00
ligi
4bc9d94831
Test & Refactor OpenPgpUtils
2015-01-29 12:30:19 +01:00
cketti
4827b4c437
Merge pull request #535
2015-01-28 17:42:34 +01:00
Vincent Breitmoser
cced35b3b8
parse MessageViewContainers from Parts (from dummy mime structure)
2015-01-28 14:35:18 +01:00
cketti
8f7f656355
Add method to find multipart/encrypted parts
2015-01-26 20:37:27 +01:00
cketti
d2d85393d3
Save attachment count
2015-01-22 06:12:26 +01:00
cketti
c9b2ec533c
Add MessagePreviewExtractor
2015-01-21 01:21:02 +01:00
cketti
23c9398c03
Merge branch 'master' into pgp_mime_preparations
...
Conflicts:
k9mail/src/androidTest/java/com/fsck/k9/mailstore/LocalMessageTest.java
2015-01-20 18:35:07 +01:00
Jan Berkel
ecd316d0af
Simplify ImapConnection#connect
2015-01-14 04:41:21 +01:00
Jan Berkel
9523a589fc
use @Test(expected =
2015-01-14 04:31:36 +01:00
Jan Berkel
dfb025033d
Convert remaining tests to JUnit4
2015-01-14 04:05:42 +01:00
Jan Berkel
833d9c5de8
Base class is already annotated
2015-01-14 03:34:57 +01:00
Jan Berkel
79b03b5e4f
Remove account after creation
...
* Avoid side-effects in static preferences which might interfere with other tests
2015-01-14 03:30:38 +01:00
Jan Berkel
4e964e271c
Convert to JUnit4 test
2015-01-14 03:09:48 +01:00