\SnippetHierarchyTest
Synopsis
class SnippetHierarchyTest
extends SapphireTest
{
- // members
- public static string $fixture_file = 'SnippetTest.yml';
- // methods
- public void setUp()
- public void testLanguageChildren()
- public void testFolderChildren()
- public void testLanguageChildrenCount()
- public void testFolderChildrenCount()
Hierarchy
Extends
- SapphireTest
Members
public
- $fixture_file
Methods
public
- setUp() — Forces the snippet languages to be populated on setup
- testFolderChildren() — Tests to verify that the children of the folder are what is expected
- testFolderChildrenCount() — Tests to see that the folder only contains one child
- testLanguageChildren() — Tests to verify that the children of the language are what is expected
- testLanguageChildrenCount() — Tests to see that the language only contains three children, the 4th child should be considered a child of the folder