include/SDL_test_assert.h
changeset 6772 5229a117ef97
parent 6756 398073b195bb
child 6885 700f1b25f77f
     1.1 --- a/include/SDL_test_assert.h	Sat Dec 22 20:43:51 2012 -0800
     1.2 +++ b/include/SDL_test_assert.h	Mon Dec 24 14:43:57 2012 -0800
     1.3 @@ -60,7 +60,7 @@
     1.4   * \param assertCondition Evaluated condition or variable to assert; fail (==0) or pass (!=0).
     1.5   * \param assertDescription Message to log with the assert describing it.
     1.6   */
     1.7 -void SDLTest_Assert(int assertCondition, char *assertDescription, ...);
     1.8 +void SDLTest_Assert(int assertCondition, const char *assertDescription, ...);
     1.9  
    1.10  /**
    1.11   * \brief Assert for test cases that logs but does not break execution flow on failures. Updates assertion counters.
    1.12 @@ -70,14 +70,14 @@
    1.13   *
    1.14   * \returns Returns the assertCondition so it can be used to externally to break execution flow if desired.
    1.15   */
    1.16 -int SDLTest_AssertCheck(int assertCondition, char *assertDescription, ...);
    1.17 +int SDLTest_AssertCheck(int assertCondition, const char *assertDescription, ...);
    1.18  
    1.19  /**
    1.20   * \brief Explicitely pass without checking an assertion condition. Updates assertion counter.
    1.21   *
    1.22   * \param assertDescription Message to log with the assert describing it.
    1.23   */
    1.24 -void SDLTest_AssertPass(char *assertDescription, ...);
    1.25 +void SDLTest_AssertPass(const char *assertDescription, ...);
    1.26  
    1.27  /**
    1.28   * \brief Resets the assert summary counters to zero.