1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 08:25:59 +01:00

Fixed tabs for spaces

This commit is contained in:
Mike Long
2011-02-19 21:23:28 +01:00
parent 6cbdb1c676
commit e8475e8e47
2 changed files with 171 additions and 183 deletions

View File

@@ -85,8 +85,6 @@ TEST_F(FFFTestSuite, when_void_func_with_2_char_args_called_and_reset_then_captu
ASSERT_EQ(voidfunc2_arg1_val, 0);
}
// Argument history
TEST_F(FFFTestSuite, when_fake_func_created_default_history_is_ten_calls)
{
@@ -135,8 +133,6 @@ TEST_F(FFFTestSuite, when_fake_func_called_max_times_plus_one_then_one_argument_
ASSERT_EQ(1u, voidfunc2_arg_histories_dropped);
}
// Return values
TEST_F(FFFTestSuite, value_func_will_return_zero_by_default)
{
@@ -156,7 +152,6 @@ TEST_F(FFFTestSuite, value_func_will_return_zero_after_reset)
ASSERT_EQ(0l, longfunc0());
}
TEST_F(FFFTestSuite, register_call_macro_registers_one_call)
{
REGISTER_CALL(longfunc0);
@@ -184,13 +179,13 @@ TEST_F(FFFTestSuite, reset_call_history_resets_call_history)
TEST_F(FFFTestSuite, call_history_will_not_write_past_array_bounds)
{
for(unsigned int i = 0; i<MAX_CALL_HISTORY+1; i++){
for (unsigned int i = 0; i < MAX_CALL_HISTORY + 1; i++)
{
REGISTER_CALL(longfunc0);
}
ASSERT_EQ(MAX_CALL_HISTORY, call_history_idx);
}
TEST_F(FFFTestSuite, calling_fake_registers_one_call)
{
longfunc0();
@@ -198,8 +193,6 @@ TEST_F(FFFTestSuite, calling_fake_registers_one_call)
ASSERT_EQ(call_history[0], (void *)longfunc0);
}
int main()
{
setbuf(stdout, NULL);

View File

@@ -86,8 +86,6 @@ TEST_F(FFFTestSuite, when_void_func_with_2_char_args_called_and_reset_then_captu
ASSERT_EQ(voidfunc2_arg1_val, 0);
}
// Argument history
TEST_F(FFFTestSuite, when_fake_func_created_default_history_is_ten_calls)
{
@@ -136,8 +134,6 @@ TEST_F(FFFTestSuite, when_fake_func_called_max_times_plus_one_then_one_argument_
ASSERT_EQ(1u, voidfunc2_arg_histories_dropped);
}
// Return values
TEST_F(FFFTestSuite, value_func_will_return_zero_by_default)
{
@@ -157,7 +153,6 @@ TEST_F(FFFTestSuite, value_func_will_return_zero_after_reset)
ASSERT_EQ(0l, longfunc0());
}
TEST_F(FFFTestSuite, register_call_macro_registers_one_call)
{
REGISTER_CALL(longfunc0);
@@ -185,13 +180,13 @@ TEST_F(FFFTestSuite, reset_call_history_resets_call_history)
TEST_F(FFFTestSuite, call_history_will_not_write_past_array_bounds)
{
for(unsigned int i = 0; i<MAX_CALL_HISTORY+1; i++){
for (unsigned int i = 0; i < MAX_CALL_HISTORY + 1; i++)
{
REGISTER_CALL(longfunc0);
}
ASSERT_EQ(MAX_CALL_HISTORY, call_history_idx);
}
TEST_F(FFFTestSuite, calling_fake_registers_one_call)
{
longfunc0();