From: rlane@club.cc.cmu.edu (Rich Lane)
Subject: [sup-talk] [PATCH] explicitly load messages in testcase
Date: Mon, 27 Jul 2009 22:02:29 -0700 [thread overview]
Message-ID: <1248757349-11301-1-git-send-email-rlane@club.cc.cmu.edu> (raw)
---
test/test_message.rb | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/test_message.rb b/test/test_message.rb
index 0a7db45..675b81d 100644
--- a/test/test_message.rb
+++ b/test/test_message.rb
@@ -73,6 +73,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
# see how well parsing the header went
@@ -222,6 +223,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
# read the message body chunks
@@ -271,6 +273,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
to = sup_message.to
@@ -316,6 +319,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
# read the message body chunks: no errors should reach this level
@@ -414,6 +418,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
# read the message body chunks
@@ -504,6 +509,7 @@ EOS
source_info = 0
sup_message = Message.new( {:source => source, :source_info => source_info } )
+ sup_message.load_from_source!
# See how well parsing the message ID went.
id = sup_message.id
--
1.6.0.4
next reply other threads:[~2009-07-28 5:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 5:02 Rich Lane [this message]
2009-07-28 15:12 ` William Morgan
2009-07-28 15:39 ` Rich Lane
2009-07-28 16:04 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1248757349-11301-1-git-send-email-rlane@club.cc.cmu.edu \
--to=rlane@club.cc.cmu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox