1<?php
2
3require_once 'TestAuthContainer.php';
4require_once 'Auth/Container/IMAP.php';
5
6
7class IMAPContainer extends TestAuthContainer {
8
9
10    function &getContainer() {
11        static $container;
12
13        if (!extension_loaded('imap')) {
14            $this->markTestSkipped("This test needs the IMAP extension");
15        }
16
17        if(!isset($container)){
18            include 'auth_container_imap_options.php';
19            $container = new Auth_Container_IMAP($options);
20        }
21        return($container);
22    }
23
24    function &getExtraOptions() {
25        print "IMAPContainer::getExtraOptions\n";
26        include 'auth_container_imap_options.php';
27        return($extra_options);
28    }
29}
30
31
32
33
34?>
35