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