---
name: "Tirex::Manager::Test"
section: "3pm"
platform: "linux"
package: "tirex"
version: "0.7.1-3+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tirex::Manager::Test"
---

# Tirex::Manager::Test(3pm)

Dummy rendering manager for testing

## NAME

Tirex::Manager::Test - Dummy rendering manager for testing

## SYNOPSIS

```
 use Tirex::Manager::Test;
 my $queue = Tirex::Queue->new();
 my $rm = Tirex::Manager::Test->new( queue => $queue );
 $rm->set_load(1.5);
 print $rm->get_load();
 $rm->schedule();
```

## DESCRIPTION

This is a dummy version of the Tirex::Manager rendering manager class for testing. It is a child class of the normal Tirex::Manager class and behaves just like it except that you can set the "system load" with **set\_load()** and this load is returned by the **get\_load()** method. This way the system load can be simulated in tests.

This class also has a dummy version of the **send()** method that doesn't actually send the message.

## METHODS

### $rm-\>get\_load()

Get the load that was set with **set\_load()**.

### $rm-\>set\_load($load)

Set the load.

### $rm-\>send($job)

Simulate sending a job to the rendering daemon.

## SEE ALSO

Tirex::Manager
