test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files

This commit is contained in:
XhmikosR 2012-09-17 14:18:19 +03:00 committed by PKEuS
parent 6e4e3dfbfb
commit 3c14e4b52a
21 changed files with 56 additions and 80 deletions

View File

@ -43,4 +43,3 @@ const std::string& options::which_test() const
{
return _which_test;
}

View File

@ -32,5 +32,3 @@ int main()
f(a);
possible_style();
}

View File

@ -169,4 +169,3 @@ private:
};
REGISTER_TEST(Test64BitPortability)

View File

@ -138,4 +138,3 @@ private:
};
REGISTER_TEST(TestAssignIf)

View File

@ -667,5 +667,3 @@ private:
};
REGISTER_TEST(TestAutoVariables)

View File

@ -224,4 +224,3 @@ private:
};
REGISTER_TEST(TestCharVar)

View File

@ -98,4 +98,3 @@ private:
};
REGISTER_TEST(TestFileLister)

View File

@ -206,5 +206,3 @@ private:
};
REGISTER_TEST(TestIncompleteStatement)

View File

@ -566,4 +566,3 @@ private:
};
REGISTER_TEST(TestLeakAutoVar)

View File

@ -239,18 +239,18 @@ private:
ASSERT_EQUALS(false, MathLib::isInt("-1E-1"));
ASSERT_EQUALS(false, MathLib::isInt("-1E-10000"));
ASSERT_EQUALS(true, MathLib::isInt("0xff"));
ASSERT_EQUALS(true, MathLib::isInt("0xa"));
ASSERT_EQUALS(true, MathLib::isInt("0l"));
ASSERT_EQUALS(true, MathLib::isInt("0L"));
ASSERT_EQUALS(true, MathLib::isInt("0ul"));
ASSERT_EQUALS(true, MathLib::isInt("0ull"));
ASSERT_EQUALS(true, MathLib::isInt("0llu"));
ASSERT_EQUALS(true, MathLib::isInt("333L"));
ASSERT_EQUALS(true, MathLib::isInt("330L"));
ASSERT_EQUALS(true, MathLib::isInt("330llu"));
ASSERT_EQUALS(true, MathLib::isInt("07"));
ASSERT_EQUALS(true, MathLib::isInt("0123"));
ASSERT_EQUALS(true , MathLib::isInt("0xff"));
ASSERT_EQUALS(true , MathLib::isInt("0xa"));
ASSERT_EQUALS(true , MathLib::isInt("0l"));
ASSERT_EQUALS(true , MathLib::isInt("0L"));
ASSERT_EQUALS(true , MathLib::isInt("0ul"));
ASSERT_EQUALS(true , MathLib::isInt("0ull"));
ASSERT_EQUALS(true , MathLib::isInt("0llu"));
ASSERT_EQUALS(true , MathLib::isInt("333L"));
ASSERT_EQUALS(true , MathLib::isInt("330L"));
ASSERT_EQUALS(true , MathLib::isInt("330llu"));
ASSERT_EQUALS(true , MathLib::isInt("07"));
ASSERT_EQUALS(true , MathLib::isInt("0123"));
ASSERT_EQUALS(false, MathLib::isInt("0.4"));
ASSERT_EQUALS(false, MathLib::isInt("2352.3f"));
ASSERT_EQUALS(false, MathLib::isInt("0.00004"));
@ -293,11 +293,11 @@ private:
}
void isnegative() const {
ASSERT_EQUALS(true, MathLib::isNegative("-1"));
ASSERT_EQUALS(true, MathLib::isNegative("-1."));
ASSERT_EQUALS(true, MathLib::isNegative("-1.0"));
ASSERT_EQUALS(true, MathLib::isNegative("-1.0E+2"));
ASSERT_EQUALS(true, MathLib::isNegative("-1.0E-2"));
ASSERT_EQUALS(true , MathLib::isNegative("-1"));
ASSERT_EQUALS(true , MathLib::isNegative("-1."));
ASSERT_EQUALS(true , MathLib::isNegative("-1.0"));
ASSERT_EQUALS(true , MathLib::isNegative("-1.0E+2"));
ASSERT_EQUALS(true , MathLib::isNegative("-1.0E-2"));
ASSERT_EQUALS(false, MathLib::isNegative("+1"));
ASSERT_EQUALS(false, MathLib::isNegative("+1."));
@ -342,5 +342,3 @@ private:
};
REGISTER_TEST(TestMathLib)

View File

@ -293,5 +293,3 @@ private:
};
REGISTER_TEST(TestObsoleteFunctions)

View File

@ -348,5 +348,3 @@ private:
};
REGISTER_TEST(TestPostfixOperator)

View File

@ -28,4 +28,3 @@ int main(int argc, char *argv[])
return (ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}

View File

@ -78,4 +78,3 @@ public:
#define REGISTER_TEST( CLASSNAME ) namespace { CLASSNAME instance; }
#endif

View File

@ -1409,4 +1409,3 @@ private:
};
REGISTER_TEST(TestSymbolDatabase)

View File

@ -2349,4 +2349,3 @@ private:
};
REGISTER_TEST(TestUninitVar)

View File

@ -260,4 +260,3 @@ private:
};
REGISTER_TEST(TestUnusedFunctions)

View File

@ -659,4 +659,3 @@ private:
};
REGISTER_TEST(TestUnusedPrivateFunction)