Commit Graph

72 Commits

Author SHA1 Message Date
Sergey Linnik
82d18754bc autofix utf8 strings 2017-01-30 19:59:18 +03:00
Sergey Linnik
f2722da2b3 Generalize charset converting 2015-09-24 04:03:52 +03:00
Sergey Linnik
a528129d37 Provide mime text decoder by RFC2047
Replace imap_utf8, and add decode address name
2015-08-05 06:00:14 +03:00
Robert Hafner
a17ae8abbf Merge pull request #131 from Lewiscowles1986/patch-2
can now get number of messages in a sub-folder
2015-08-01 20:18:59 -07:00
Robert Hafner
1ca08ba104 Fixed PSR formatting 2015-06-06 22:48:30 -07:00
Robert Hafner
0a4f339fcb Added delete mailbox method 2015-06-06 22:35:25 -07:00
Lewis Cowles
6986ef830f Update MessageTest.php 2015-05-24 12:33:21 +01:00
Lewis Cowles
d52ceb17ec Update MessageTest.php 2015-05-24 12:08:51 +01:00
Lewis Cowles
0034aa69e9 Update MessageTest.php 2015-05-24 12:05:01 +01:00
Lewis Cowles
234a771ea1 Update MessageTest.php 2015-05-24 11:56:59 +01:00
Lewis Cowles
e6f3992329 Update MessageTest.php 2015-05-24 11:53:23 +01:00
Lewis Cowles
d491510b27 Update MessageTest.php 2015-05-24 11:49:11 +01:00
Lewis Cowles
53b3aabca0 updated test to encompass new numMessages syntax 2015-05-24 10:46:32 +01:00
Lewis Cowles
9c3fe885e8 Update ServerTest.php 2015-05-24 10:41:14 +01:00
Kevin Smith
fd9784d14d Update method names to refer specifically to body part of the message rather than the whole message itself. 2015-03-24 12:54:42 -05:00
Kevin Smith
0fb02cad2c Add getPlainTextMessage and getHtmlMessage methods. 2015-03-13 17:06:07 -05:00
Robert Hafner
741a9eabc1 Changed function names for cs consistency 2015-01-07 19:18:16 -08:00
Robert Hafner
e8ae09423f Updated php-cs-fixer 2014-09-24 18:46:49 -07:00
Florent Viel
5e78459970 Fix: launch list test before create test 2014-08-26 18:25:15 +02:00
Florent Viel
8d29ddeb73 Add: listMailbox function 2014-08-26 17:59:05 +02:00
Robert Hafner
9dc46cea9f Merge pull request #51 from nulpunkt/get-orderd
Implemented getting messages in an ordered fashion
2014-05-19 14:28:57 -07:00
Richard Shank
52930d5d75 update Message::decode test 2014-05-07 14:26:22 -07:00
Jesper Skovgaard Nielsen
7b04684c99 Implemented getting messages in an ordered fashion 2014-04-28 09:34:21 +02:00
Robert Hafner
9d26773f7f use bin/php-cs-fixer instead of bundle version 2014-04-19 23:42:19 -07:00
Robert Hafner
9ad874d69e Use Composer provided phpunit for tests
This makes versioning pinning easier
2014-04-19 22:01:22 -07:00
Robert Hafner
767a9f0083 Updated to latest version of the DovecotTesting Package 2014-04-16 00:45:44 -07:00
Robert Hafner
1725eb2f8b Formatting! PSR Compliance 2014-04-16 00:35:51 -07:00
Robert Hafner
faaff0711d Added code coverage and styling tests, refactored
Added runTests.sh to wrap up a bunch of test starting functionality.
Moved SetupEnvironment.sh out of Bootstrap.php and into the runTests.sh
file.

Added Coverall support for line coverage.

Added php-cs-fixer for code styling testing.
2014-04-16 00:28:38 -07:00
Robert Hafner
ffeca296de Added back distinct IP address for Travis and Vagrant 2014-02-27 11:47:17 -08:00
Robert Hafner
56dc838df9 Updated to dovecottesting 1.2
This lets us simplify our test script by not having to care about
different ip addresses.
2014-02-27 00:12:28 -08:00
Robert Hafner
ef5f76d352 Added timezone and corrected path data
Adding a timezone prevents errors on misconfigured systems when
running, and the path correction automates the running of the dovecot
testing package between tests.
2014-02-27 00:11:19 -08:00
Robert Hafner
a2b41cd82c Added test to prevent fatal error in certain error conditions 2014-02-27 00:09:56 -08:00
Robert Hafner
550f3b62e0 Updated Fetch to use the DovecotTesting repository
Rather than ship with all of these files I’ve separated out the server
provisioning code from this repository.
2014-01-19 00:51:55 -08:00
Robert Hafner
7c9bc1d34f Lots more tests! 2013-12-18 16:16:33 -08:00
Robert Hafner
f0a4e29e3d Increased Dovecot's allowed connections for an individual IP address 2013-12-18 14:21:55 -08:00
Robert Hafner
47bfb26b34 Added tests for Expunge, getMailbox and setMailBox methods. 2013-12-18 14:21:33 -08:00
Robert Hafner
7af83a84db Added Message::getMessageBody tests, added better messages to existing assertions. 2013-12-11 23:57:25 -08:00
Robert Hafner
89efb38103 Removed unneeded cert
The current build script regenerates this each time, so it's no longer
needed.
2013-12-11 19:27:43 -08:00
Robert Hafner
4a6811a08c Added test suite for the Attachment class 2013-12-09 22:53:43 -08:00
Robert Hafner
fffa423429 Added additional Attachment test 2013-12-08 23:12:08 -08:00
Robert Hafner
59d5b8ffc8 Continued extended Message test suite 2013-12-08 22:48:50 -08:00
Robert Hafner
68af0ad11f Added more tests for the Message class 2013-12-08 21:59:41 -08:00
Robert Hafner
83a8a899be Added Message test structure, as well as a few initial tests. 2013-12-08 18:31:27 -08:00
Robert Hafner
6ad9945817 Corrected mailbox name in test, as well as number of messages in main inbox 2013-12-08 17:17:07 -08:00
Robert Hafner
10ec1b6a97 Updated test messages
During testing I realized that the transfer of messages to the test
server did not actually occur in the right order, which made some test
results counter intuitive. I've reshuffled the messages around so
things will make more sense.
2013-12-08 17:16:44 -08:00
Robert Hafner
f7436eee00 Made the getServer function static 2013-12-05 23:42:50 -08:00
Robert Hafner
9c6a14134b Removed unfinished test 2013-12-05 23:04:25 -08:00
Robert Hafner
6d7f966a86 Continued fleshing out the Server tests 2013-12-05 23:01:53 -08:00
Robert Hafner
cfc04ab69b Another attempt to make travis ci like me. 2013-12-05 17:11:19 -08:00
Robert Hafner
3749e70fa1 Added new connection tests to the ServerTest class 2013-12-05 17:11:07 -08:00