Lines Matching refs:this

22 		$this->decoratorMock = new DecoratorMock();
23 $this->decoratorMath = new DecoratorMath($this->decoratorMock);
28 $this->decoratorMath->mathjax_content("$");
29 $this->decoratorMath->mathjax_content("$ $formula");
30 $this->decoratorMath->mathjax_content(" $$");
31 $this->decoratorMath->cdata("Hey");
33 …$this->assertEquals(new CommandMathjaxContent("\\begin{equation}\r\n $formula\r\n\\end{equation…
34 $this->decoratorMock->nextCommand());
35 $this->assertEquals(new CommandCData('Hey'),
36 $this->decoratorMock->nextCommand());
38 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
43 $this->decoratorMath->mathjax_content("\\[");
44 $this->decoratorMath->mathjax_content(" $formula");
45 $this->decoratorMath->mathjax_content(" \\]");
46 $this->decoratorMath->cdata("Hey");
48 …$this->assertEquals(new CommandMathjaxContent("\\begin{equation}\r\n $formula\r\n\\end{equation…
49 $this->decoratorMock->nextCommand());
50 $this->assertEquals(new CommandCData('Hey'),
51 $this->decoratorMock->nextCommand());
53 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
58 $this->decoratorMath->mathjax_content("$");
59 $this->decoratorMath->mathjax_content("$formula");
60 $this->decoratorMath->mathjax_content("$");
61 $this->decoratorMath->cdata(" Hey");
63 $this->assertEquals(new CommandMathjaxContent("\\($formula\\)"),
64 $this->decoratorMock->nextCommand());
65 $this->assertEquals(new CommandCData(' Hey'),
66 $this->decoratorMock->nextCommand());
68 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
73 $this->decoratorMath->mathjax_content("\\(");
74 $this->decoratorMath->mathjax_content("$formula\\");
75 $this->decoratorMath->mathjax_content(")");
76 $this->decoratorMath->cdata(" Hey");
78 $this->assertEquals(new CommandMathjaxContent("\\($formula\\)"),
79 $this->decoratorMock->nextCommand());
80 $this->assertEquals(new CommandCData(' Hey'),
81 $this->decoratorMock->nextCommand());
83 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
91 $this->decoratorMath->mathjax_content($formula);
92 $this->decoratorMath->cdata("Hey");
94 $this->assertEquals(new CommandMathjaxContent($formula),
95 $this->decoratorMock->nextCommand());
96 $this->assertEquals(new CommandCData('Hey'),
97 $this->decoratorMock->nextCommand());
99 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
103 $this->decoratorMath->mathjax_content("\\[ \\label{coser-b}\\tag{removeme} \\]");
104 $this->decoratorMath->cdata("Hey");
105 $this->decoratorMath->mathjax_content("$$ \\label{coser-b}\\tag{removeme} $$");
106 $this->decoratorMath->cdata("Hey");
108 …$this->assertEquals(new CommandMathjaxContent("\\begin{equation}\r\n \\label{coser-b}\r\n\\end{…
109 $this->decoratorMock->nextCommand());
110 $this->assertEquals(new CommandCData('Hey'),
111 $this->decoratorMock->nextCommand());
113 …$this->assertEquals(new CommandMathjaxContent("\\begin{equation}\r\n \\label{coser-b}\r\n\\end{…
114 $this->decoratorMock->nextCommand());
115 $this->assertEquals(new CommandCData('Hey'),
116 $this->decoratorMock->nextCommand());
118 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
122 …$this->decoratorMath->mathjax_content("\\begin{align} \\label{coser-b}\\tag{removeme} \\end{align}…
123 $this->decoratorMath->cdata("Hey");
125 …$this->assertEquals(new CommandMathjaxContent("\\begin{align} \\label{coser-b}\\tag{removeme} \\en…
126 $this->decoratorMock->nextCommand());
127 $this->assertEquals(new CommandCData('Hey'),
128 $this->decoratorMock->nextCommand());
130 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");