Commit graph

158 commits

Author SHA1 Message Date
Graham Knop
936708f98a lazy load test session and add collateral sub 2010-04-15 19:12:16 -05:00
Graham Knop
2162ecba8c fix test collateral 2010-04-15 19:12:14 -05:00
Graham Knop
5a4e083d85 WebGUI::Test->lib working 2010-04-15 19:12:13 -05:00
Graham Knop
7afda00d9b test adjustments for WebGUI::Paths 2010-04-15 19:12:07 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Graham Knop
88e8fe77fb allow SQL statements to be added to test cleanup 2010-04-12 17:55:42 -05:00
Graham Knop
eb97a8d50e allow arbitrary subs to be added to test cleanup 2010-04-12 17:43:51 -05:00
Colin Kuskie
c835344813 Fixing require loops. Moose overrides for canEdit using packages. 2010-04-08 15:13:13 -07:00
Graham Knop
12fcdf201f almost working using metaclass roles 2010-02-26 16:55:57 -06:00
Colin Kuskie
8563340eff Update LDAP auth credentials, use built-in LDAP clean-up, fix broken tests. 2010-02-09 18:20:49 -08:00
Colin Kuskie
138eb3140c add cleanup code for PayDrivers. 2010-01-24 16:55:19 -08:00
daviddelikat
b0646e4358 added an optional param to pass in 'objectType' for the workflow. 2009-11-18 12:08:23 -06:00
daviddelikat
f12b0751e6 changed reset to rerun in Test::Activity 2009-11-18 09:45:58 -06:00
Colin Kuskie
bc21f904da Fix status reporting for successful connects but bad binds. Fixes bug #11216 2009-11-13 09:49:36 -08:00
Colin Kuskie
dbf86bb850 Test cleanup and tracking of Database Links. 2009-11-08 22:40:27 -08:00
daviddelikat
494c8ded0e fixed problems with tests 2009-11-08 09:50:57 -06:00
daviddelikat
9c2980404f making tests work 2009-11-06 09:22:03 -06:00
daviddelikat
6b24783385 all tests pass, manual testing passes 2009-11-04 09:41:24 -06:00
daviddelikat
c8b97d83fe more wokr all around 2009-11-02 09:01:44 -06:00
daviddelikat
10ddac6c58 lots of work... 2009-10-31 09:41:56 -05:00
daviddelikat
fa40b99182 Merge branch 'master' of git@github.com:plainblack/webgui 2009-10-14 10:42:41 -05:00
Colin Kuskie
b3858ef250 Fix bug #10914.
Move email notifications about of PayDriver and into Transaction.  Send
a notification when the cart value is 0 due to shop credit.
2009-10-13 16:37:20 -07:00
Colin Kuskie
359882cc21 Add cleanup for shopping carts and shipping drivers.
Check for leaky carts and drivers.
When cleaning up a cart, also clean up its address book.
2009-10-10 16:49:36 -07:00
Colin Kuskie
1f1f3c38ae Make sure to access the correct $SESSION. 2009-10-09 15:03:48 -07:00
Graham Knop
65a58eed62 Revert "Fix a bug with session counting for WEBGUI_TEST_DEBUG"
This reverts commit f53af08e27.
2009-10-07 17:48:31 -05:00
Colin Kuskie
5f29c5bcdd Comment cleanup 2009-10-07 08:36:48 -07:00
daviddelikat
3ed18c775b setting aside test for a bit to do some coding 2009-10-06 00:18:27 -05:00
Colin Kuskie
16ac69c0d7 Add cleanup for shopping carts. 2009-09-25 19:44:46 -07:00
Colin Kuskie
f53af08e27 Fix a bug with session counting for WEBGUI_TEST_DEBUG
Store an offset for the session created by the test, which will exist
when initial counts are taken.  And delay final counts as late
as possible, after the session has been closed.  This prevents
a bunch of delta: -1's from showing up.
2009-09-25 19:25:49 -07:00
Graham Knop
9b74ab24cf remove attempted apache hack in tests 2009-09-25 11:33:20 -05:00
Colin Kuskie
79f84aec68 Restore original Darwin buffer hack. 2009-09-24 19:57:42 -07:00
Colin Kuskie
4b974d644b Restore original Darwin buffer hack. 2009-09-24 19:49:30 -07:00
Graham Knop
81336e3ee6 only report test debug counts if there was a leak 2009-09-24 18:55:23 -05:00
Graham Knop
b6c1837756 fix and clean up export test 2009-09-24 18:55:23 -05:00
Colin Kuskie
e61140af5b Duplicate sessions before cleaning them up to handle fatal'ed sessions. 2009-09-24 13:57:00 -07:00
Graham Knop
532f8ece6b set library path before loading WebGUI modules in WebGUI::Test 2009-09-24 07:52:18 -05:00
Colin Kuskie
1ccb468914 Add a method to unmock the logger. 2009-09-23 15:56:59 -07:00
Graham Knop
bb77bc484e fix warnings in IOB test 2009-09-23 17:10:00 -05:00
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05:00
Colin Kuskie
323edd888e More tests for bug fix #11009.
Abstract out making a session in WebGUI::Test.  Update POD
in Shop/Address.  Add tests for newBySession, showing that
the previous commit that allows update to update addressBookId
actually fixed the bug in question.
2009-09-21 19:44:43 -07:00
Graham Knop
86bacc54c6 some small test library cleanups 2009-09-16 18:28:31 -05:00
Colin Kuskie
716da0440f Make Test.pm search order the same as preload.perl 2009-09-15 13:23:10 -07:00
Colin Kuskie
632e1e1ba2 Remove debug code. 2009-09-10 08:42:33 -07:00
Graham Knop
e6f38dcf44 add new API for mocking assets in tests 2009-09-09 12:14:07 -05:00
Colin Kuskie
c189c6967b Read preload.custom for extra lib paths in tests. 2009-09-09 09:54:19 -07:00
Colin Kuskie
1671aefee5 Write a test that says that loading Form plugins from a place other than /data/WebGUI/lib/WebGUI works. 2009-09-08 17:05:00 -07:00
Colin Kuskie
8fd0be0dc4 Purge tests before cleaning up version tags. Fix a leaky test. 2009-09-04 19:59:26 -07:00
Colin Kuskie
838ae00af5 Provide a way for tests to purge assets with all their (hidden and unreachable)
version tags.  Fix Survey.t that was leaking versionTags.
2009-09-01 22:30:07 +00:00
Colin Kuskie
18a52b9aa2 Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Colin Kuskie
f69df9b7ca Enable tests to work around HTTP cookie fetching. Finally! 2009-08-14 01:38:44 +00:00