~ubuntu-branches/ubuntu/vivid/freerdp/vivid

« back to all changes in this revision

Viewing changes to cunit/test_freerdp.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-11-11 12:20:50 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20141111122050-7z628f4ab38qxad5
Tags: upstream-1.1.0~git20140921.1.440916e+dfsg1
ImportĀ upstreamĀ versionĀ 1.1.0~git20140921.1.440916e+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * FreeRDP: A Remote Desktop Protocol Client
 
2
 * FreeRDP: A Remote Desktop Protocol Implementation
3
3
 * FreeRDP Unit Tests
4
4
 *
5
5
 * Copyright 2010 Marc-Andre Moreau <marcandre.moreau@gmail.com>
22
22
#include <string.h>
23
23
#include <CUnit/CUnit.h>
24
24
#include <freerdp/types.h>
25
 
#include <freerdp/utils/stream.h>
26
 
#include <freerdp/utils/hexdump.h>
 
25
#include <winpr/print.h>
 
26
#include <winpr/stream.h>
27
27
 
28
28
#define add_test_suite(name) \
29
29
        CU_pSuite pSuite; \
38
38
        }
39
39
 
40
40
void dump_data(unsigned char * p, int len, int width, char* name);
41
 
void assert_stream(STREAM* s, uint8* data, int length, const char* func, int line);
 
41
void assert_stream(wStream* s, BYTE* data, int length, const char* func, int line);
42
42
 
43
43
#define ASSERT_STREAM(_s, _data, _length) assert_stream(_s, _data, _length, __FUNCTION__, __LINE__)