summaryrefslogtreecommitdiff
path: root/TAO/tests/Sequence_Unit_Tests/mock_stream.cpp
blob: e5437a1a51e51190bffc962c00cecdc55a50868a (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
33
34
35
/**
 * @file
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 */
#include "mock_stream.hpp"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

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;
}

TAO_END_VERSIONED_NAMESPACE_DECL