~s-cecilio/lenmus/v5.3

« back to all changes in this revision

Viewing changes to packages/UnitTest++/src/CurrentTest.cpp

  • Committer: cecilios
  • Date: 2012-09-11 16:59:18 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:730
Paths: fixed problem with installation folders. Fixed Chinese ISO language code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "CurrentTest.h"
 
2
#include <cstddef>
 
3
 
 
4
namespace UnitTest {
 
5
 
 
6
TestResults*& CurrentTest::Results()
 
7
{
 
8
        static TestResults* testResults = NULL;
 
9
        return testResults;
 
10
}
 
11
 
 
12
const TestDetails*& CurrentTest::Details()
 
13
{
 
14
        static const TestDetails* testDetails = NULL;
 
15
        return testDetails;
 
16
}
 
17
 
 
18
}