Class: Tester

Inherits:
Object show all
Defined in:
docs/00700_Ajout_PSDK.rb

Overview

Class designed to test an interface or a script

Constant Summary collapse

@@args =
nil
@@class =
nil

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(script) ⇒ Tester

Create a new test

Parameters:

  • script (String)

    filename of the script to test



382
383
# File 'docs/00700_Ajout_PSDK.rb', line 382

def initialize(script)
end

Class Method Details

.start(klass, *args)

Define the class and the arguments of it to test

Parameters:

  • klass (Class)

    the class to test

  • args (Array)

    the arguments



407
408
# File 'docs/00700_Ajout_PSDK.rb', line 407

def self.start(klass, *args)
end

Instance Method Details

#data_load

Load the RMXP Data



410
411
# File 'docs/00700_Ajout_PSDK.rb', line 410

def data_load
end

#load_scripttrue

Load the script

Returns:

  • (true)


399
400
# File 'docs/00700_Ajout_PSDK.rb', line 399

def load_script
end

#main

Main process of the tester



385
386
# File 'docs/00700_Ajout_PSDK.rb', line 385

def main
end

#manage_exception

Manage the exception



402
403
# File 'docs/00700_Ajout_PSDK.rb', line 402

def manage_exception
end

#quit_test

Quit the test



395
396
# File 'docs/00700_Ajout_PSDK.rb', line 395

def quit_test
end

#restart_scenetrue

Retart the scene

Returns:

  • (true)


389
390
# File 'docs/00700_Ajout_PSDK.rb', line 389

def restart_scene
end

#show_test_message

Show the test message



392
393
# File 'docs/00700_Ajout_PSDK.rb', line 392

def show_test_message
end