Home
last modified time | relevance | path

Searched refs:decoratorMock (Results 1 – 6 of 6) sorted by relevance

/plugin/latexport/_test/
H A Ddecorator_tables.test.php14 private $decoratorMock; variable in DecoratorTablesTest
22 $this->decoratorMock = new DecoratorMock();
23 $this->decoratorTables = new DecoratorTables($this->decoratorMock);
33 $this->assertEquals(new CommandPClose(), $this->decoratorMock->nextCommand());
34 $this->assertEquals(new CommandTableOpen(3, 0, 0), $this->decoratorMock->nextCommand());
35 $this->assertEquals(new CommandLinebreak(), $this->decoratorMock->nextCommand());
36 $this->assertEquals(new CommandTableClose(), $this->decoratorMock->nextCommand());
37 $this->assertEquals(new CommandPClose(), $this->decoratorMock->nextCommand());
92 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
143 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
[all …]
H A Ddecorator_includer.test.php19 private $decoratorMock; variable in DecoratorIncluderTest
29 $this->decoratorMock = new DecoratorMock();
30 $this->decoratorIncluder = new DecoratorIncluder($this->includes, $this->decoratorMock);
73 DecoratorIncluderTest::TITLE), $this->decoratorMock->nextCommand());
98 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
112 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
134 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
138 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
144 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
170 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
[all …]
H A Ddecorator_math.test.php14 private $decoratorMock; variable in DecoratorMathTest
22 $this->decoratorMock = new DecoratorMock();
34 $this->decoratorMock->nextCommand());
36 $this->decoratorMock->nextCommand());
49 $this->decoratorMock->nextCommand());
51 $this->decoratorMock->nextCommand());
64 $this->decoratorMock->nextCommand());
66 $this->decoratorMock->nextCommand());
79 $this->decoratorMock->nextCommand());
81 $this->decoratorMock->nextCommand());
[all …]
H A Ddecorator_images.test.php14 private $decoratorMock; variable in DecoratorImagesTest
23 $this->decoratorMock = new DecoratorMock();
24 $this->decoratorImages = new DecoratorImages($this->decoratorMock);
32 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
34 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
46 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
48 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData(" x "));
50 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
62 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
63 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData(" "));
[all …]
H A Ddecorator_headings.test.php14 private $decoratorMock; variable in DecoratorHeadingsTest
23 $this->decoratorMock = new DecoratorMock();
24 $this->decoratorHeadings = new DecoratorHeadings($this->decoratorMock);
33 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text1", 1, 10));
34 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text2", 1, 20));
35 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text3", 3, 30));
36 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text4", 3, 40));
38 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
47 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text1", 3, 10));
48 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("text2", 3, 20));
[all …]
H A Ddecorator.test.php11 private $decoratorMock; variable in decorator_test
19 $this->decoratorMock = new DecoratorMock();
20 $this->decorator = new Decorator($this->decoratorMock);
25 $this->assertEquals(3, $this->decoratorMock->recursionLevel, "Recursion level");