summaryrefslogtreecommitdiff
path: root/core/tests
AgeCommit message (Collapse)Author
2008-11-03Theme helper. Right now it has one api method, theme::url whichBharat Mediratta
returns a url local to the theme that you're in. For example, if you're in themes/foo/views/page_header.html.php and you call theme::url("images/foo.png") then it'll create a url to: themes/foo/images/foo.png
2008-11-03More bootstrap code.Bharat Mediratta
* core_installer::install now creates the root album and the albums/thumbnails directories under VARPATH. * Add a test for core_installer
2008-11-02Create some basic infrastructure:Bharat Mediratta
* item model (contains basic item info, similar to the gx version) * module model (has info about each module and which version of it is installed) * added a very basic unit test to verify that we can create an instance of item * Updated our test controller to require a unit_test db config and call core::install if it hasn't been done already. New pattern: * core/helpers/core_installer.php creates core_installer helper. When we install a new module you call xxx_installer::install(), and when you want it to go away, you do xxx_installer::uninstall() Create
2008-11-02Ignore view files in no_trailing_closing_php_tag_test since they will ↵Bharat Mediratta
occasionally end in tags like <?= this ?>
2008-11-01Add a test to verify that we have the right preamble on files.Bharat Mediratta
2008-11-01Clean up tests a bit.Bharat Mediratta
2008-11-01Add a new test to verify that view files end in .html.phpBharat Mediratta
2008-11-01Add first test; this verifies that we leave the ?> off at the end of PHP files.Bharat Mediratta