/[gzz]/gzz/gzz/modules/email/EmailCellMakerTest.java
ViewVC logotype

Diff of /gzz/gzz/modules/email/EmailCellMakerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by benja, Thu Nov 28 01:14:31 2002 UTC revision 1.3 by benja, Sun Dec 8 01:10:19 2002 UTC
# Line 58  public class EmailCellMakerTest { Line 58  public class EmailCellMakerTest {
58                  Cell dateCell = toCell.s(d_contain_list,1);                  Cell dateCell = toCell.s(d_contain_list,1);
59                  Cell bodyCell = dateCell.s(d_contain_list,1);                  Cell bodyCell = dateCell.s(d_contain_list,1);
60    
61                  if(!"Hallo".equals(subCell.t()))                  if(!"Subject: Hallo\n".equals(subCell.t()))
62                      throw new Error();                      throw new Error();
63                  if(!"me@example.com".equals(fromCell.t()))                  if(!"From: me@example.com\n".equals(fromCell.t()))
64                      throw new Error();                      throw new Error();
65                  if(!"osk@gzz.info".equals(toCell.t()))                  if(!"To: osk@gzz.info\n".equals(toCell.t()))
66                      throw new Error();                      throw new Error();
67                  if(!"1.1.01".equals(dateCell.t()))                  if(!"Date: 1.1.01\n\n".equals(dateCell.t()))
68                      throw new Error();                      throw new Error();
69                  if(!"Hi".equals(bodyCell.t()))                  if(!"Hi".equals(bodyCell.t()))
70                      throw new Error();                      throw new Error();
71    
72                  if(!c.s(d_email, 1).s(d_contain, 1).t().equals("Huomenta"))                  if(!c.s(d_email, 1).s(d_contain, 1).t().equals("Subject: Huomenta\n"))
73                      throw new Error();                      throw new Error();
74    
75                  Cell subjectList = s.getCell(Ids.c_email_subject);                  Cell subjectList = s.getCell(Ids.c_email_subject);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26