Sha256: 45652ae9d496575234fb628dd60f59711b917de1d8d0e29dd8112a8b6b946100

Contents?: true

Size: 781 Bytes

Versions: 4

Compression:

Stored size: 781 Bytes

Contents

#include "origen/test_method/functional_test.hpp"

class OrigenFunctionalTest : public Origen::TestMethod::FunctionalTest {
 protected:
  string mPort;

 protected:
  /**
   *Initialize the parameter interface to the testflow.
   *This method is called just once after a testsuite is created.
   */
  virtual void init() {
    // NOTE: The capture arguments are not listed here since it makes no sense
    // to use them without
    //       corresponding functions to handle the captured data

    addParameter("port", "string", &mPort, testmethod::TM_PARAMETER_INPUT)
        .setDefault("")
        .setComment("Port the pattern is to be executed on");
  }

  virtual void body() { origen.port(mPort).execute(); }
};
REGISTER_TESTMETHOD("FunctionalTest", OrigenFunctionalTest);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_std_lib-0.13.1 src/advantest/smt7/origen/test_methods/FunctionalTest.cpp
origen_std_lib-0.13.0 src/advantest/smt7/origen/test_methods/FunctionalTest.cpp
origen_std_lib-0.12.0 src/advantest/smt7/origen/test_methods/FunctionalTest.cpp
origen_std_lib-0.11.0 src/advantest/smt7/origen/test_methods/FunctionalTest.cpp