Changeset 937


Ignore:
Timestamp:
Sep 9, 2011, 4:47:56 PM (8 years ago)
Author:
sam
Message:

lolunit: rename a few methods for consistency.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/unit.h

    r936 r937  
    3838
    3939public:
    40     virtual void setUp(void) {};
    41     virtual void tearDown(void) {};
     40    virtual void SetUp(void) {};
     41    virtual void TearDown(void) {};
    4242
    4343protected:
     
    194194        for (FixtureBase *f = FixtureBase::FixtureList(); f; f = f->m_next)
    195195        {
    196             f->setUp();
     196            f->SetUp();
    197197            f->RunFixture();
    198             f->tearDown();
     198            f->TearDown();
    199199
    200200            errors << f->m_errorlog.str();
  • trunk/test/half.cpp

    r927 r937  
    3737{
    3838public:
    39     void setUp() {}
    40     void tearDown() {}
    41 
    4239    LOLUNIT_TEST(test_half_from_float)
    4340    {
  • trunk/test/matrix.cpp

    r931 r937  
    2222{
    2323public:
    24     void setUp()
     24    void SetUp()
    2525    {
    2626        identity = mat4(1.0f);
     
    3535    }
    3636
    37     void tearDown() {}
     37    void TearDown() {}
    3838
    3939    LOLUNIT_TEST(test_vec_eq)
  • trunk/test/trig.cpp

    r927 r937  
    2424{
    2525public:
    26     void setUp() {}
    27     void tearDown() {}
    28 
    2926    LOLUNIT_TEST(test_sin)
    3027    {
Note: See TracChangeset for help on using the changeset viewer.