Comments: on this page. Click to read or post your own.
Test case class for the Sapphire framework.
Sapphire unit testing is based on PHPUnit, but provides a number of hooks into our data model that make it easier to work with.
Located in /sapphire/dev/SapphireTest.php (line 14)
PHPUnit_Framework_TestCase | --SapphireTest
| Class | Description |
|---|---|
| SSViewerTest | Test case class for the Sapphire framework. |
| PhpSyntaxTest | Test the syntax of the PHP files with various settings |
| ControllerTest | Test case class for the Sapphire framework. |
| ObjectTest | |
| SQLQueryTest | Test case class for the Sapphire framework. |
| UploadTest | |
| FileTest | Tests for the File class |
| YamlFixtureTest | Test case class for the Sapphire framework. |
| CSSContentParserTest | |
| SiteTreeTest | |
| ObjectStaticTest | Tests various static getter and setter methods on Object |
| ErrorPageTest | Test case class for the Sapphire framework. |
| HTTPRequestTest | Test case class for the Sapphire framework. |
| RequestHandlingTest | Tests for RequestHandler and HTTPRequest. |
| i18nTest | |
| i18nTextCollectorTest | |
| HTTPTest | Tests the HTTP class |
| ClassInfoTest | |
| MemberTest | |
| CsvBulkLoaderTest | |
| CSVParserTest | Test case class for the Sapphire framework. |
| DataObjectDecoratorTest | Test case class for the Sapphire framework. |
| DataObjectTest | |
| SQLFormatterTest | |
| DropdownFieldTest | |
| TableFieldTest | Test case class for the Sapphire framework. |
| FormFieldTest | |
| FieldSetTest | Tests for FieldSet |
| CheckboxSetFieldTest | Test case class for the Sapphire framework. |
| RequirementsTest | |
| DateFieldTest | |
| FormScaffolderTest | Tests for DataObject FormField scaffolding |
| TableListFieldTest | Test case class for the Sapphire framework. |
| CompositeFieldTest | |
| TokenisedRegularExpressionTest | |
| RestfulServiceTest | Test case class for the Sapphire framework. |
| RestfulServerTest | |
| RSSFeedTest | |
| SoapModelAccessTest | |
| DirectorTest | |
| RootURLControllerTest | |
| ModelAsControllerTest | |
| DateTest | |
| HTMLTextTest | |
| DBFieldTest | Test case class for the Sapphire framework. |
| TextTest | |
| PercentageTest | |
| CurrencyTest | |
| SearchContextTest | Test case class for the Sapphire framework. |
| DataObjectSetTest | |
| DatabaseTest | |
| ArrayDataTest | Test case class for the Sapphire framework. |
| ManifestBuilderTest | |
| FunctionalTest | Sapphire-specific testing object designed to support functional testing of your web app. It simulates get/post requests, form submission, and can validate resulting HTML, looking up content by CSS selector. |
| CMSMenuTest | |
| CMSMainTest | Test case class for the Sapphire framework. |
Path to fixture data for this test run.
Array of
Returns true if we are currently using a temporary database
Return all of the IDs in the fixture of a particular class name.
Assert that the matching email was sent since the last call to clearEmails() All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.
Clear the log of emails sent
Search for an email that was sent.
All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.
Get the ID of an object from the fixture.
Load a YAML fixture file into the database.
Once loaded, you can use idFromFixture() and objFromFixture() to get items from the fixture
Get an object from the fixture.
Documentation generated on Mon, 23 Mar 2009 06:56:05 +1300 by phpDocumentor 1.3.2