ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/IMAPHandler/Tester.cpp
(Generate patch)

Comparing trunk/IMAPHandler/Tester.cpp (file contents):
Revision 121 by douglas, 2003-04-01T00:03:03-08:00 vs.
Revision 122 by douglas, 2003-04-02T15:48:57-08:00

# Line 79 | Line 79 | int main(int argc, char* argv[])
79   //      tester.status_("INBOX (MESSAGES UNSEEN)");
80   //      tester.examine("INBOX");
81  
82 < /*      string message = string("Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\r\n")
83 <                + "From: Fred Foobar <foobar@Blurdybloop.COM>\r\n"
84 <                + "Subject: afternoon meeting\r\n"
85 <                + "To: mooch@owatagu.siam.edu\r\n"
86 <                + "Message-Id: <B27397-0100000@Blurdybloop.COM>\r\n"
82 > /*      string message = string("Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\n")
83 >                + "From: Fred Foobar <foobar@Blurdybloop.COM>\n"
84 >                + "Subject: afternoon meeting\n"
85 >                + "To: mooch@owatagu.siam.edu\n"
86 >                + "Message-Id: <B27397-0100000@Blurdybloop.COM>\n"
87                  + "MIME-Version: 1.0\r\n"
88 <                + "Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\r\n\r\n"
89 <                + "Hello Joe, do you think we can meet at 3:30 tomorrow?\r\n";*/
88 >                + "Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\n\n"
89 >                + "Hello Joe, do you think we can meet at 3:30 tomorrow?\n";
90  
91 < //      char length[4];
92 < //      sprintf(length, "%u", message.length());
91 >        char length[4];
92 >        sprintf(length, "%u", message.length());
93  
94 < //      tester.append("INBOX {" + string(length) + "}", message);
94 >        tester.append("Test {" + string(length) + "}", message);*/
95   //      tester.select("\"Program Testing\"");
96   //      tester.noop();
97          tester.logout();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines