summaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Collapse)Author
2015-08-10fix unit testsDavid
2014-09-04Fix #531David
Since PHP 5.3.3 the default value for session.use_only_cookies is 1, so we need to set that to 0 when CookieMode is "None"
2014-08-05Fix System.Data test casesDavid
2014-01-15Removed ?> from testsFabio Bas
2013-10-24More work on ajaxFabio Bas
2013-09-24Ported some failing functional tests to phpunit+seleniumFabio Bas
2013-09-22Phing: added target for phpunit+seleniumFabio Bas
Functional tests were using an old selenium RC version. Ported them to use phpunit + selenium; next: opensauce
2013-09-19Committed TComponent patch by javalizardFabio Bas
TComponent Update: Behaviors, Class Behaviors, fx global events, and dy one to one events. This patchset was currently available only on svn trunk/
2013-09-19Ported old I18N tests from simpleunit to phpunitFabio Bas
2013-09-17NumberFormat: force the use of C locale when formatting numbers. Add some ↵Fabio Bas
testcases. Fixes #486
2013-09-17Chnages in phpunit's bootstrap script; should hopefully fix travisFabio Bas
2013-09-14Hopefully fix travis testsFabio Bas
2013-09-14More gitignore for tests directoriesFabio Bas
2013-09-13Add some missing empty directory, and a dummy .gitignore inside themFabio Bas
Otherwise git would strip them away
2013-09-13Update to r3325Ciro Mattia Gonano
2013-09-11Merge up to r3319Ciro Mattia Gonano
2013-04-24Update to 3.2.1Ciro Mattia Gonano
2013-01-06backported r3233, r3234 to trunk/ctrlaltca
2012-11-18dropped old tests referring to unexisting components (NOTE: this includes ↵ctrlaltca
what seems a test suite for an older version of SQLMap)
2012-11-18Reworked the "test" task in order to make it work again:ctrlaltca
- it will use the system PHPUnit installation if available (bundled PHPUnit with prado is no more a choice) - fixed tests in order to be compatible with recent phpunit versions (currently 3.7) - dropped old tests referring to unexisting components (NOTE: this includes what seems a test suite for an older version of SQLMap) Added some svn-ignore properties
2012-10-31MAJOR UPGRADE to TComponentjavalizard@gmail.com
This adds global 'fx' events, behaviors, class-wide behaviors, intra-object/behavior 'dy' events, and tweaks the raiseEvent to be more advanced (yet backward compatible). A large amount of documentation is in here too. Slight changes to the TApplication object is made to provide events with priorities. TComponent has a massive amount of test cases as well… There are now 512 assertions. Test cases have been added for testing the GetJS and SetJS and ensure functionality of these new getters and setters. The Behaviors are all tested and fully integrated into the TComponent Object. Behaviors are more transparently and widely integrated into TComponent. Class Behaviors rely on the global events to add behaviors to instanced objects. Class behaviors also allow for behaviors to be added during the instancing of new objects of the class. Dynamic events enable the object to send events directly to behaviors as intra-object events. Dynamic events can be chained as multiple behaviors may implement the event. This allows for parameter filtering. RaiseEvent allows for raising global events, capturing results, and feeding results forward into the next handlers parameters should the need arise. This is a forward thinking feature to enable new processes to be designed into the code for PRADO version 3.3 and future version 4.0. This functionality is transparent when unused. We are hoping this is fully backward compatible with the existing code base. It was designed for maximum backward compatibility while expanding the functional base exponentially. This clears the way for a new way of thinking about how objects relate.
2012-07-12standardize the use of unix eol; use svn properties to enforce native eolctrlaltca
2011-07-17TSecurityManager: remove additional right padding added by mcrypt_decryptctrlaltca@gmail.com
TSecurityManagerTest: loop through different string length to take account of mcrypt's block cipher padding TAPCCacheTest: fixed static member usage THttpRequestTest: fixed testRequestWithUrlMapping test
2011-06-25Added two methods for getting array elements out of TPriorityList above and ↵javalizard
below a specific priority, with inclusion. Added TPriorityMap and test cases.
2011-06-20some fixes on testsctrlaltca@gmail.com
2011-05-21up-ported to trunk/ unit tests fixes from r2921ctrlaltca@gmail.com
2010-10-04#247 Removed one redundant function. Change the unit test to reflect the ↵javalizard
function removal.
2010-10-03#247 Finalized the TPriorityList class, its unit tests, and added one ↵javalizard
missing unit test to TList.
2010-09-27#291 Added new unit tests for all edit operations on read-only lists. Added ↵javalizard
a read-only conditional prior to the item search within three functions that search for an item index in the TList prior to editing.
2010-09-26Upgraded the phpunit ini file to work with PHPUnit 3.3, 3.4, and 3.5. There ↵javalizard
are conditionals for 3.3 and 3.4. No more Framework file includes are needed with 3.5.
2010-04-22started using the TPriorityList, updated some methods functions and slimmed ↵javalizard
things done a touch. This also updates the unit test. The unit test isn't perfect just yet but this class works 100% as a TList. As things get settled I'll get the docs going on this new class.
2010-04-18TPriorityList works like TList if no class specific methods are called. ↵javalizard
Adds the Unit test. TPriorityList needs more unit testing but I wanted to submit this so the method names can be peer reviewed.
2010-04-17Got the return value nailed down for TList::InsertBefore and ↵javalizard
TList::insertAfter using the unit test.
2010-04-17Added Unit tests for insertBefore/After. Change code to expected behavior.javalizard
2010-04-16Added a few more tests to the TListTest unit test.javalizard
2010-04-12Fixed Issue#246Christophe.Boulain
2010-02-21Merged latest changes into trunk (except r2773)godzilla80@gmx.net
/branches/3.1:r2765,2770-2771,2774,2776-2778
2010-02-13NEW: Add Beta of master/slave senario solutiongodzilla80@gmx.net
- add package System.Testing.Data.Analysis - add package System.Testing.Data.Distributed - add sub package System.Testing.Data.Distributed.MasterSlave - add unittest for System.Testing.Data.Analysis
2009-05-01Fixed Issue #55 - TPropertyAccess.get don't recognize magic getter __getgodzilla80@gmx.net
2009-03-22Fixed Issue #88 - SQLMap $Param$ re-evaluation buggodzilla80@gmx.net
2008-08-06fixed #899knut
2008-08-05fixed #897knut
2008-07-20fixed #886knut
2008-06-27Fixed #872tof
2007-12-11Clean up some unit tests to allow them run with PHPUnit 3.1+tof
2007-10-07minor correction in test setup for APC caching (skipping if not configured ↵knut
correctly: apc.enable_cli = 1)
2007-08-05fixed doc error.xue
2007-08-05fixed THttpRequestTest to work with Qiangs latest changescarl
2007-08-04added unit test to ForceSecureConnection on THttpRequestcarl
2007-07-27fixed typo in TCacheHttpSessionTestcarl