Lines Matching full:test
5 // the id used for this test case
7 // if the test case is currently running
13 * the actual test
21 $this->id = 'test:p_set_metadata_during_rendering';
25 saveWikiText($this->id, 'Test ' . time(), 'Test data setup');
32 ['test_before_set' => 'test']
39 ['test_after_set' => 'test']
43 // Change the global plugin controller so this test can be a fake syntax plugin
55 $this->assertEquals($newMeta[ 'test_before_set' ], 'test');
56 $this->assertEquals($newMeta[ 'test_after_set' ], 'test');
57 $this->assertEquals($newMeta[ 'test_during_rendering' ], 'test');
65 saveWikiText($this->id, '', 'Test data remove');
68 … // helper for the action plugin part of the test, tries executing p_set_metadata during rendering
81 // helper for injecting an instruction for this test case
94 p_set_metadata($this->id, [$key => 'test'], false, true);
106 … // wrapper function for the fake plugin controller, return $this for the fake syntax of this test