Update contrib.
1 /***********************************************************************************
4 SUMMARY: Test functor template for assignment operators.
7 * Mark of the Unicorn, Inc.
9 * Permission to use, copy, modify, distribute and sell this software
10 * and its documentation for any purpose is hereby granted without fee,
11 * provided that the above copyright notice appear in all copies and
12 * that both that copyright notice and this permission notice appear
13 * in supporting documentation. Mark of the Unicorn makes no
14 * representations about the suitability of this software for any
15 * purpose. It is provided "as is" without express or implied warranty.
17 ***********************************************************************************/
18 #ifndef test_assign_op_H_
19 #define test_assign_op_H_
30 struct test_assign_op {
31 test_assign_op( const T& src )
33 gTestController.SetCurrentTestName("assignment operator");
36 void operator()( T& t ) const {
39 // Prevent simulated failures during verification
40 gTestController.CancelFailureCountdown();
41 //EH_ASSERT( source == t );
47 #endif // test_assign_op_H_