◆ setUp()
ComponentEntryDescriptionTest::setUp |
( |
| ) |
|
|
protected |
◆ testCorrectDescription1()
ComponentEntryDescriptionTest::testCorrectDescription1 |
( |
| ) |
|
- Exceptions
-
Definition at line 152 of file ComponentEntryDescriptionTest.php.
154 $this->assertEquals($this->correct_description1_array,$description->getDescription());
Container to hold description of UI Components.
◆ testCorrectDescription2()
ComponentEntryDescriptionTest::testCorrectDescription2 |
( |
| ) |
|
- Exceptions
-
Definition at line 161 of file ComponentEntryDescriptionTest.php.
163 $this->assertEquals($this->correct_description2_array_return,$description->getDescription());
Container to hold description of UI Components.
◆ testEmptyDescription()
ComponentEntryDescriptionTest::testEmptyDescription |
( |
| ) |
|
- Exceptions
-
Definition at line 78 of file ComponentEntryDescriptionTest.php.
References array.
80 $this->assertEquals($this->empty_description_array,$description->getDescription());
83 $this->assertEquals($this->empty_description_array,$description->getDescription());
Create styles array
The data for the language used.
Container to hold description of UI Components.
◆ testInvalidCategories1()
ComponentEntryDescriptionTest::testInvalidCategories1 |
( |
| ) |
|
- Exceptions
-
Definition at line 101 of file ComponentEntryDescriptionTest.php.
104 $this->assertFalse(
"This should not happen");
107 $this->assertEquals($e->getCode(),Crawler\Exception\CrawlerException::INVALID_INDEX);
Container to hold description of UI Components.
◆ testInvalidCategories2()
ComponentEntryDescriptionTest::testInvalidCategories2 |
( |
| ) |
|
- Exceptions
-
Definition at line 113 of file ComponentEntryDescriptionTest.php.
116 $this->assertFalse(
"This should not happen");
119 $this->assertEquals($e->getCode(),Crawler\Exception\CrawlerException::INVALID_INDEX);
Container to hold description of UI Components.
◆ testInvalidCategoryItem()
ComponentEntryDescriptionTest::testInvalidCategoryItem |
( |
| ) |
|
- Exceptions
-
Definition at line 126 of file ComponentEntryDescriptionTest.php.
129 $this->assertFalse(
"This should not happen");
132 $this->assertEquals($e->getCode(),Crawler\Exception\CrawlerException::STRING_EXPECTED);
Container to hold description of UI Components.
◆ testInvalidCategoryValue()
ComponentEntryDescriptionTest::testInvalidCategoryValue |
( |
| ) |
|
- Exceptions
-
Definition at line 139 of file ComponentEntryDescriptionTest.php.
142 $this->assertFalse(
"This should not happen");
145 $this->assertEquals($e->getCode(),Crawler\Exception\CrawlerException::STRING_EXPECTED);
Container to hold description of UI Components.
◆ testInvalidDescription()
ComponentEntryDescriptionTest::testInvalidDescription |
( |
| ) |
|
- Exceptions
-
Definition at line 88 of file ComponentEntryDescriptionTest.php.
92 $this->assertFalse(
"This should not happen");
95 $this->assertEquals($e->getCode(),Crawler\Exception\CrawlerException::ARRAY_EXPECTED);
Container to hold description of UI Components.
◆ testParseProperEntryToArray()
ComponentEntryDescriptionTest::testParseProperEntryToArray |
( |
| ) |
|
Definition at line 167 of file ComponentEntryDescriptionTest.php.
168 $entry = $this->parser->parseArrayFromFile(
"tests/UI/Crawler/Fixture/ProperEntry.php")[0];
170 $entry[
"description"][
'composition'] =
"";
171 $entry[
"description"][
'effect'] =
"";
175 $this->assertEquals($description->getDescription(),$entry[
"description"]);
Container to hold description of UI Components.
◆ $correct_description1_array
ComponentEntryDescriptionTest::$correct_description1_array |
|
protected |
Initial value: "purpose"=>"Purpose Description",
"composition"=>"Composition Description",
"effect"=>"Effect Description",
"rivals"=>
array(
"Element 1" =>
"Rival 1",
"Element 2" =>
"Rival 2")
)
Definition at line 40 of file ComponentEntryDescriptionTest.php.
◆ $correct_description2_array
ComponentEntryDescriptionTest::$correct_description2_array |
|
protected |
◆ $correct_description2_array_return
ComponentEntryDescriptionTest::$correct_description2_array_return |
|
protected |
◆ $empty_description_array
ComponentEntryDescriptionTest::$empty_description_array |
|
protected |
◆ $invalid_categories1_array
ComponentEntryDescriptionTest::$invalid_categories1_array |
|
protected |
◆ $invalid_categories2_array
ComponentEntryDescriptionTest::$invalid_categories2_array |
|
protected |
◆ $invalid_category_item_array
ComponentEntryDescriptionTest::$invalid_category_item_array |
|
protected |
◆ $invalid_category_value_array
ComponentEntryDescriptionTest::$invalid_category_value_array |
|
protected |
◆ $parser
ComponentEntryDescriptionTest::$parser |
|
protected |
◆ $proper_entry
ComponentEntryDescriptionTest::$proper_entry |
|
protected |
The documentation for this class was generated from the following file: