a testcase for bug 197
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat May 31 14:12:24 2008 -0700 (20 months ago)
changeset 3202bb35abea1d2a
parent 3201 c0e113ac69d8
child 3203 fc396ecaf512
a testcase for bug 197
src/common/packet-metadata-test.cc
     1.1 --- a/src/common/packet-metadata-test.cc	Sat May 31 11:00:01 2008 -0700
     1.2 +++ b/src/common/packet-metadata-test.cc	Sat May 31 14:12:24 2008 -0700
     1.3 @@ -746,7 +746,11 @@
     1.4    CHECK_HISTORY (p, 3, 1, 1000, 3);
     1.5    CHECK_HISTORY (p1, 3, 2, 1000, 3);
     1.6  
     1.7 -
     1.8 +  p = Create<Packet> (200);
     1.9 +  ADD_HEADER (p, 24);
    1.10 +  p1 = p->CreateFragment(0, 100);
    1.11 +  p2 = p->CreateFragment(100, 100);	
    1.12 +  p1->AddAtEnd (p2);
    1.13  
    1.14    return result;
    1.15  }