Sha256: ed4d957d91361ac925067daa343d651d7e8c6dc33662eea7aa70b82ecbe7b7c0

Contents?: true

Size: 935 Bytes

Versions: 7

Compression:

Stored size: 935 Bytes

Contents

#include "testmethod.hpp"

//for test method API interfaces
#include "mapi.hpp"
using namespace std;
#include "origen.hpp"

/**
 * Test method class.
 *
 * For each testsuite using this test method, one object of this
 * class is created.
 */
class ApplyBin: public testmethod::TestMethod {

protected:
  /**
   *Initialize the parameter interface to the testflow.
   *This method is called just once after a testsuite is created.
   */
  virtual void initialize()
  {
    //Add your initialization code here
    //Note: Test Method API should not be used in this method!
  }

  /**
   *This test is invoked per site.
   */
  virtual void run()
  {
	  if (Origen::site().bin() || Origen::site().softbin()) {
		  stringstream softbin;
		  softbin << Origen::site().softbin();
		  SET_MULTIBIN(softbin.str(), Origen::site().bin());
		  TESTSET().judgeAndLog_FunctionalTest(false);
	  }
  }

};
REGISTER_TESTMETHOD("ApplyBin", ApplyBin);

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
origen_std_lib-0.10.1 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.10.0 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.9.0 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.8.3 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.8.2 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.8.1 stdlib/v93k/origen/test_methods/ApplyBin.cpp
origen_std_lib-0.8.0 stdlib/v93k/origen/test_methods/ApplyBin.cpp