Commit Graph

6 Commits

Author SHA1 Message Date
Bharat Mediratta
e173f36bcb Create some basic infrastructure:
* 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-02 23:55:09 +00:00
Tim Almdal
a38752607e replace a tab with the appropriate number of spaces 2008-11-02 21:39:10 +00:00
Bharat Mediratta
bd8cd9364c Fix all our preambles to make the preamble test pass. 2008-11-01 22:43:28 +00:00
Bharat Mediratta
5a3731d0c6 Remove all html::specialchars(); we're not getting rendered in a
browser.
2008-11-01 10:45:51 +00:00
Bharat Mediratta
08f9822b72 Exclude demo tests 2008-11-01 09:02:24 +00:00
Bharat Mediratta
f8b4c66906 Set up unit test framework. Tweak configuration so that it only runs in
command line mode, and expects to put data into test/var.  Create a module
to wrap it that generates a nice text-only view of the output.
2008-11-01 07:55:48 +00:00