Matt McCoy
aa989ce0e5
Fixing some extra imports
2016-06-23 22:56:22 -04:00
Matt McCoy
6c826625fd
Initial work for adding errors
2016-06-23 22:44:12 -04:00
Matt McCoy
923339e5f0
More through testing of select and examine
2016-06-22 21:25:48 -04:00
Matt McCoy
808640e00d
Adding test for select
2016-06-22 21:16:39 -04:00
Matt McCoy
2011d3a92a
Adding docs for pub functions that run commands
2016-06-22 21:14:24 -04:00
Matt McCoy
e344438e60
Moving pars select or examine to parse
2016-06-22 19:32:52 -04:00
Matt McCoy
5d94a5d7d7
Moving parse capability into parse file
2016-06-22 19:19:56 -04:00
Matt McCoy
829b7de542
Moving parse response ok to its own file
2016-06-22 19:17:18 -04:00
Matt McCoy
c08385e061
Removing more uneeded regex checks
2016-06-21 23:26:13 -04:00
Matt McCoy
eca26018e8
Removing error check for invalid regex
2016-06-21 23:22:36 -04:00
Matt McCoy
2aa66be25d
Adding capability tests
2016-06-21 23:16:03 -04:00
Matt McCoy
8e99f80dca
Add testing for the examine command
2016-06-21 23:05:22 -04:00
Matt McCoy
bebcfab52c
Adding test for readline failing on err
2016-06-21 22:02:24 -04:00
Matt McCoy
d5e8877eaf
Changing error message for readline
2016-06-21 21:55:11 -04:00
Matt McCoy
eeffe7420f
Moving line reading into its own function
2016-06-21 21:31:17 -04:00
Matt McCoy
625fb09c8b
Move mailbox to its own file
2016-06-21 20:34:19 -04:00
Matt McCoy
50a55d59c4
Adding FETCH test
2016-06-21 20:28:59 -04:00
Matt McCoy
6dd23c4647
Adding tests for create and delete
2016-06-21 20:19:31 -04:00
Matt McCoy
de06ae7960
Adding NOOP test
2016-06-21 20:13:24 -04:00
Matt McCoy
2d2c0ba961
Adding login and logout test
2016-06-21 20:11:41 -04:00
Matt McCoy
735ba9562a
Adding test for RENAME command
2016-06-21 20:06:37 -04:00
Matt McCoy
f41b7916ef
Adding more testing for EXPUNGE, SUBSCRIBE, and UNSUBSCRIBE
2016-06-21 17:41:51 -04:00
Matt McCoy
bfe882b2a7
Adding proper eror message for invalid check command in test
2016-06-21 16:33:53 -04:00
Matt McCoy
ff2fa37efa
Removing uneeded matching in the test statements
2016-06-21 16:32:40 -04:00
Matt McCoy
44b92ec7ac
Adding test for check
2016-06-21 16:16:13 -04:00
Matt McCoy
350329b5a4
Fixing expunge command to actually send EXPUNGE
2016-06-21 16:13:56 -04:00
Matt McCoy
91bcdf1a4e
Removing uneeded wrapper around read_response in run_command
2016-06-21 16:12:43 -04:00
Matt McCoy
1cf02a409c
Adding more tests
2016-06-21 16:11:36 -04:00
Matt McCoy
b8002d1fb8
Adding TODO for make sure the client can read the response correctly
2016-06-21 15:49:28 -04:00
Matt McCoy
b243f1ab5a
Removing uneeded return statement
2016-06-21 15:48:14 -04:00
Matt McCoy
fb89e4a50a
Changing IMAPMailbox to Mailbox
2016-06-21 15:46:43 -04:00
Matt McCoy
7f92a1429e
Fixing some formatting of code
2016-06-21 15:41:46 -04:00
Matt McCoy
2e05110ba2
Adding INITIAL_TAG to test code
2016-06-21 15:21:06 -04:00
Matt McCoy
59bee5bd42
Adding mock stream to its own file
2016-06-21 14:51:08 -04:00
Matt McCoy
b25a2c4215
Adding base testing work
2016-06-21 14:15:16 -04:00
Matt McCoy
f4954de642
Renaming TCPStream to Client
2016-06-21 13:52:20 -04:00
Matt McCoy
d949de3d0b
Adding comments for connection functions
2016-06-21 13:34:39 -04:00
Matt McCoy
78f22be622
Fix initial tag tyype and remove regex creation checks
2016-06-21 13:32:13 -04:00
Matt McCoy
8981a03870
Initial step of making client testable with generics
2016-06-21 12:29:16 -04:00
Matt McCoy
5b204cccb8
Adding expunge, check, and close commands
2016-06-15 21:26:17 -04:00
Matt McCoy
148356273c
Adding some comments for documentation
2016-06-15 19:38:37 -04:00
Matt McCoy
a3ee094a50
Fixing test
2016-06-15 12:16:10 -04:00
Matt McCoy
eee1ad355a
Simplify login using ToSocketAddrs
2016-06-05 19:41:36 -04:00
Miquel Ruiz
6816b922f0
Try connection instead of unwrapping
...
Return an error instead of panicking on connection errors, which allows to
handle the problem from the caller.
fixes #12
2016-06-05 13:05:26 +01:00
Julien Rolland
a3cb1c22d9
SslStream::new is deprecated
2015-11-23 21:59:54 +00:00
Artem
fbb4b23f75
Expose run_command
2015-11-05 13:43:52 +03:00
Chris J Arges
ceb4ae6993
Allow connect to take both &str and String
...
It would be useful to allow a String to be passed to connect instead of just
a &'static str. This code makes 'host' a String type, but allows the function
to take either type.
2015-06-14 23:25:30 -05:00
Matt McCoy
298eac6598
Updating to compile for the most recent version of rust
2015-06-07 00:59:53 -04:00
Matt McCoy
95e6676055
Initial Commit
2015-04-15 16:23:58 -04:00