| 249 | #ifdef CPPUTEST_USE_LONG_LONG |
| 250 | |
| 251 | cpputest_longlong MockNamedValue::getLongLongIntValue() const |
| 252 | { |
| 253 | if(type_ == "int") |
| 254 | return value_.intValue_; |
| 255 | else if(type_ == "unsigned int") |
| 256 | return (long long int)value_.unsignedIntValue_; |
| 257 | else if(type_ == "long int") |
| 258 | return value_.longIntValue_; |
| 259 | else if(type_ == "unsigned long int") |
| 260 | return (long long int)value_.unsignedLongIntValue_; |
| 261 | else |
| 262 | { |
| 263 | STRCMP_EQUAL("long long int", type_.asCharString()); |
| 264 | return value_.longLongIntValue_; |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | cpputest_ulonglong MockNamedValue::getUnsignedLongLongIntValue() const |
| 269 | { |