Alexander Nicolaysen Sørnes
8c7bd3a5e9
Add initial un-delete support
2007-12-18 20:17:06 -05:00
Alexander Nicolaysen Sørnes
aee69c1735
version: Rename 'queued' to 'state'
2007-12-15 12:23:16 -05:00
Chris Morgan
6119246b51
Replace direct mysql_xxx() calls with query_xxx() calls. Replace calls to mysql_insert_id()
...
with calls specific to the appdb or bugzilla database. Fixes a bug where a call to
mysql_insert_id() can potentially retrieve an id from either the bugzilla or appdb database,
depending on whichever database was last opened by mysql_connect().
2007-08-03 23:27:25 +00:00
Chris Morgan
19f6cbc156
Unit test cleanups. Fixes tests so they don't leave left over entries in the database. Add a
...
check to ensure that row counts in most tables are unchanged from the start and end of the
tests. Refactor some code.
2007-07-26 03:47:34 +00:00
Chris Morgan
e2b15c0566
Keep track of global success or failure and print out a summary success or failure when the
...
tests are complete. Makes it less likely that a test failure will be missed.
2007-03-31 17:12:55 +00:00
Alexander Nicolaysen Sørnes
1aef926d97
Cleanup after unit tests
2007-01-27 22:58:58 +00:00
WineHQ
b858e2ba53
Unit tests should run with E_ALL so we can detect all errors. Fix dozens of errors that popped up after enabling all errors.
2006-11-25 17:24:44 +00:00
EA Durbin
7532d9091e
Application::countWithRating() and getWithRating() should avoid queued applications. Add unit test
...
to ensure that we don't include queued applications
2006-09-30 01:31:04 +00:00
EA Durbin
d8fe952bb1
Add the ability to browse applications by rating and a unit test for the added Application::getWithRating()
2006-09-27 02:44:16 +00:00
WineHQ
47e7ad72af
Authors: "EA Durbin" <ead1234@hotmail.com>, Chris Morgan <cmorgan@alum.wpi.edu>
...
Application::delete() should retrieve the applications versions immediately prior to deleting to ensure that
an application object created prior to its child versions doesn't leave orphaned versions. Add unit test for
Application::delete() to test for the offending behavior.
2006-09-26 02:05:55 +00:00