summaryrefslogtreecommitdiff
path: root/TAO/tests/Sequence_Unit_Tests/mock_stream.cpp
blob: f84d6d224352552488aebdd52668949fe4e92986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * @file
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 */
#include "mock_stream.hpp"

call_counter mock_stream::serialize_calls;
call_counter mock_stream::deserialize_calls;

mock_stream::
~mock_stream()
{
}

CORBA::ULong
mock_stream::length () const
{
  return 100;
}

CORBA::Boolean operator<< (mock_stream &, const CORBA::ULong)
{
  return true;
}
CORBA::Boolean operator>> (mock_stream &, CORBA::ULong &)
{
  return true;
}