Initial commit
This commit is contained in:
13
test/cxxtest/sample/mock/T/stdlib.h
Normal file
13
test/cxxtest/sample/mock/T/stdlib.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __T__STDLIB_H
|
||||
#define __T__STDLIB_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <cxxtest/Mock.h>
|
||||
|
||||
CXXTEST_MOCK_VOID_GLOBAL( srand, ( unsigned seed ), ( seed ) );
|
||||
CXXTEST_MOCK_GLOBAL( int, rand, ( void ), () );
|
||||
CXXTEST_MOCK_GLOBAL( time_t, time, ( time_t *t ), ( t ) );
|
||||
|
||||
#endif // __T__STDLIB_H
|
||||
Reference in New Issue
Block a user