class LegoTechSelenium::TestCase::Builder

Public Class Methods

new(name, driver) click to toggle source
# File lib/ui/test-cases/TestCase.rb, line 55
def initialize(name, driver)
  @testCase = TestCase.new(name, driver)
end

Public Instance Methods

add_action(action) click to toggle source

Function used to add an action using a Builder class @param action [Action] The action to add to the list of actions @return [Builder] the Builder class

# File lib/ui/test-cases/TestCase.rb, line 62
def add_action(action)
  @testCase.add_action(action)
  self
end
build() click to toggle source

A function the return the built TestCase @return [TestCase] The built TestCase

# File lib/ui/test-cases/TestCase.rb, line 69
def build
  @testCase
end