Commit Graph

125 Commits

Author SHA1 Message Date
Robert Hafner
259545731c Added contributing file 2014-04-19 23:42:32 -07: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
33451f1e71 Removed Pear package file
I'm to lazy to maintain pear when composer is a thing.
2014-04-16 01:33:50 -07:00
Robert Hafner
ec929fb20a Merge pull request #47 from tedivm/testing_updates
Testing Suite Updates
2014-04-16 00:58:51 -07:00
Robert Hafner
b98ecaabaa Start testing hhvm on travis-ci
Lets see if it even has imap enabled :-)
2014-04-16 00:49:16 -07:00
Robert Hafner
767a9f0083 Updated to latest version of the DovecotTesting Package 2014-04-16 00:45:44 -07:00
Robert Hafner
3c900abb37 Added cover coverage badge 2014-04-16 00:36:52 -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
8650586610 Locked in the tedivm/dovecottesting version 2014-03-27 23:31:21 -07:00
Robert Hafner
0bf95d78b2 Merge pull request #40 from bjornpost/fix-multipart-messagebody
In a multipart email messageBody() keeps headers
2014-03-14 00:08:36 -07:00
Robert Hafner
b48ca178d7 Merge pull request #41 from tedivm/testing_dovecot
Dovecot Testing Package Updates
2014-03-14 00:05:34 -07:00
Bjorn Post
7b42853eec Rewrite fix as it broke other tests. This fixes my issue and the broken tests. 2014-03-11 22:16:43 +01:00
Bjorn Post
88f43819ee Be more specific when fetching body sections, references #39 2014-03-11 20:17:02 +01: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
223be18517 Telling composer to use any of the 1.x line of the Dovecot Test Package 2014-01-20 15:37:47 -08:00
Robert Hafner
30b3871e3d Switching back to dev-master for testing 2014-01-20 15:28:21 -08:00
Robert Hafner
4432bd110a Merge pull request #33 from tedivm/testing_update
Separate Mail Server Setup into Development Package
2014-01-20 15:04:10 -08:00
Robert Hafner
8b2a3c9647 Pinned Fetch to a specific stable version of the test suite. 2014-01-20 14:59:01 -08:00
Robert Hafner
4f2c2662e6 Updated vendor path used by travis for the SetupEnvironment script 2014-01-19 00:54:07 -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
1ff3441020 Update README.md 2014-01-14 00:32:45 -08:00
Robert Hafner
c61e6f41f9 Removed autoloader reference 2013-12-18 17:02:34 -08:00
Robert Hafner
9cc77d1d14 Merge pull request #31 from tedivm/Marketing
Updated readme
2013-12-18 16:59:50 -08:00
Robert Hafner
cb15c2f408 Updated readme 2013-12-18 16:59:03 -08:00
Robert Hafner
acfc1c0890 Merge pull request #30 from tedivm/testing
Complete Rework of the Test Suite
2013-12-18 16:22:01 -08:00
Robert Hafner
7c9bc1d34f Lots more tests! 2013-12-18 16:16:33 -08:00
Robert Hafner
806572b869 Changed exception type 2013-12-18 16:16:20 -08:00
Robert Hafner
25342a4318 Rewrote "moveToMailbox" code to deal with some potential bugs
Basically if the server isn't in the same box as the message it causes
issues, so this switches to that box then back to where the server was.
2013-12-18 16:16:12 -08:00
Robert Hafner
0e38a10e97 Added comments 2013-12-18 14:32:32 -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
eda6cc65ab Improved error handling in Server class, added getMessageByUid method 2013-12-18 14:20:24 -08:00
Robert Hafner
0bbc02b006 Updated Message class to throw exception when passed nonexistant email ID 2013-12-18 14:19:39 -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
f35a06935d Killed first bug- Message class 'checkFlag' was returning wrong values if the message had been changed with setFlag
This was because the setFlag function was not setting the value stored
in the message object, just the one on the server.
2013-12-08 22:48:25 -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