PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/test/test.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 44 lines | 8 code | 3 blank | 33 comment | 0 complexity | f8726cd2510ac649de746b9db9c168b3 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file test.h
  3. * @author James
  4. * @date 2009-01-12
  5. *
  6. * $LicenseInfo:firstyear=2009&license=viewerlgpl$
  7. * Second Life Viewer Source Code
  8. * Copyright (C) 2010, Linden Research, Inc.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation;
  13. * version 2.1 of the License only.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  25. * $/LicenseInfo$
  26. */
  27. #ifndef TEST_H
  28. #define TEST_H
  29. #include <string>
  30. namespace tut
  31. {
  32. // Source code directory from CMake, used for loading test data and
  33. // configuration. For example:
  34. //
  35. // loadMyConfig( sSourceDir + "config.dat" );
  36. //
  37. // Use sparingly, as hitting the file system slows down test execution
  38. // and hence every compile. JC
  39. extern std::string sSourceDir;
  40. }
  41. #endif