Home
last modified time | relevance | path

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

/plugin/latexport/_test/
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());
65 $this->assertEquals(new CommandTableOpen(3, 0, 0), $this->decoratorMock->nextCommand());
67 $this->assertEquals(new CommandTableRowOpen(), $this->decoratorMock->nextCommand());
[all …]
Ddecorator_includer.test.php19 private $decoratorMock; variable in DecoratorIncluderTest
29 $this->decoratorMock = new DecoratorMock();
30 $this->decoratorIncluder = new DecoratorIncluder($this->includes, $this->decoratorMock);
45 …$this->assertTrue( $this->decoratorMock->noCommands(), "Should not have any c…
67 $this->assertEquals(new CommandListUOpen(), $this->decoratorMock->nextCommand());
68 $this->assertEquals(new CommandListItemOpen(1), $this->decoratorMock->nextCommand());
69 $this->assertEquals(new CommandListContentOpen(), $this->decoratorMock->nextCommand());
70 $this->assertEquals(new CommandCData('Follow the link:'), $this->decoratorMock->nextCommand());
73 DecoratorIncluderTest::TITLE), $this->decoratorMock->nextCommand());
74 $this->assertEquals(new CommandListContentClose(), $this->decoratorMock->nextCommand());
[all …]
Ddecorator_math.test.php14 private $decoratorMock; variable in DecoratorMathTest
22 $this->decoratorMock = new DecoratorMock();
23 $this->decoratorMath = new DecoratorMath($this->decoratorMock);
34 $this->decoratorMock->nextCommand());
36 $this->decoratorMock->nextCommand());
38 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
49 $this->decoratorMock->nextCommand());
51 $this->decoratorMock->nextCommand());
53 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
64 $this->decoratorMock->nextCommand());
[all …]
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());
33 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S1", "Title1", …
34 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
36 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
46 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
47 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S1", "Title1", …
48 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData(" x "));
[all …]
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 …]
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");