text: /**********************************************************************
  *  Copyright (c) 2008-2013, Alliance for Sustainable Energy.
  *  All rights reserved.
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  License as published by the Free Software Foundation; either
  *  version 2.1 of the License, or (at your option) any later version.
  *
  *  This library is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  *  Lesser General Public License for more details.
  *
  *  You should have received a copy of the GNU Lesser General Public
  *  License along with this library; if not, write to the Free Software
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  **********************************************************************/
  
  #ifndef OSVERSION_TEST_OSVERSIONFIXTURE_HPP
  #define OSVERSION_TEST_OSVERSIONFIXTURE_HPP
  
  #include <gtest/gtest.h>
  
  #include <utilities/core/Logger.hpp>
  #include <utilities/core/FileLogSink.hpp>
  
  #include <boost/optional.hpp>
  
  namespace openstudio {
    class VersionString;
  }
  
  class OSVersionFixture : public ::testing::Test {
   protected:
   
    /// initialize for each test
    virtual void SetUp();
  
    /// tear down after each test
    virtual void TearDown();
  
    /// initiallize static members
    static void SetUpTestCase();
  
    /// tear down static members
    static void TearDownTestCase();
  
    static openstudio::path versionResourcesPath(const openstudio::VersionString& version);
  
    static openstudio::path exampleModelPath(const openstudio::VersionString& version);
  
    static openstudio::path exampleComponentPath(const openstudio::VersionString& version);
  
    static openstudio::path iddPath(const openstudio::VersionString& version);
  
    REGISTER_LOGGER("OSVersionFixture");
  
    // static variables
    static boost::optional<openstudio::FileLogSink> logFile;
  
  };
  
  #endif // OSVERSION_TEST_OSVERSIONFIXTURE_HPP
  
  