#include <autotestqueue.h>
A queue of test commands. A queue is executed with AutoTestInterface::StartTests(). 
 
◆ MAXON_INTERFACE()
◆ AddCommmand()
Adds a command to the queue. 
- Parameters
 - 
  
    | [in] | cmd | The command to add.  | 
    | [in] | path | A path providing context for the command.  | 
  
   
- Returns
 - maxon::OK on success. 
 
 
 
◆ AddCommandsFromFile()
Reads commands from the given file and adds them to the queue. 
- Parameters
 - 
  
    | [in] | file | The file to read.  | 
  
   
- Returns
 - maxon::OK on success. 
 
 
 
◆ GetCommandCount()
Returns the number of commands in the queue. 
- Returns
 - The number of commands left. 
 
 
 
◆ GetCommand()
Returns the first element of the queue and removes if from the queue. 
- Parameters
 - 
  
    | [out] | cmd | The command to execute  | 
    | [out] | path | A path providing context for the command.  | 
  
   
- Returns
 - maxon::OK on success.