aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Added XML introspection script (XmlInfo.py). Should make reading XML files ↵Gravatar rcoh2011-02-19
| | | | | | a lot easier for us humans!
* Merge branch 'master' into behavior-factoryGravatar rcoh2011-02-16
|\
* | change SwitchBehavior to take in a JSON dict to avoid weird XML parsing. ↵Gravatar eugue2011-02-14
| | | | | | | | Also added a public function to manually set current behavior.
| * Added an override of setLastOutput to square.py. Added some pre-built ↵Gravatar rcoh2011-02-12
| | | | | | | | | | | | | | queries into the BQS. Modified the default behavior or setLastOutput to make a deep copy of ouput to prevent accidental interference.
* | Merge branch 'master' of github.com:rcoh/SmootLight into behavior-factoryGravatar eugue2011-02-12
|\|
* | Added SwitchBehavior and its unit test file. Could be used to control games.Gravatar eugue2011-02-12
| |
| * Added some new tests to BehaviorQuerySystem.py which demonstrate how to use ↵Gravatar rcoh2011-02-12
| | | | | | | | it. Fixed a bug in BQS.
| * Modified the test code to automatically pick up new tests. Just add your ↵Gravatar rcoh2011-02-12
| | | | | | | | | | | | | | | | | | test file to tests/__init__.py. Fixed a bug in ZigZagLayout. Added the BehaviorQuerySystem to allow querying on behaviors. Added the "ModulateColor" behavior which will continually shift a color along the HSV plane. Added TestBQS to test the behavior query system. Modified Behavior to have a getLastOutput and setLastOutput method.
| * Early stages of support for interbehavior interactions. Fixed a bug in the ↵Gravatar rcoh2011-02-09
| | | | | | | | | | | | config eval and added some new tests.
| * Early stages of param-binding in xml. Functional. RCOHGravatar rcoh2011-02-05
|/
* readded testosc in tests directoryGravatar Dan2011-01-28
|
* A metric $#%$-ton of changes. Added doc-strings to EVERYTHING. Phew. ↵Gravatar rcoh2011-01-27
| | | | | | Fixed a massive bug that increases performance in by up to a factor of 60. A bunch of new behaviors for the class.
* some improvements to behavior chain. A "Square" BehaviorGravatar Russell Cohen2011-01-10
|
* Some performance improvements. Faster evaluation of range-based queries withGravatar Russell2011-01-10
| | | | | lambda expressions. Faster exp with approximated fastexp. Some changes to the component registry.
* Not sure if this works.Gravatar rcoh2011-01-03
|
* Changed default mode of xml merging to merge instead of replace. Added some ↵Gravatar rcoh2011-01-02
| | | | | | | syntactic sugar in xml file -- attributes on Class-Level items will be automatically added to their args dict. This is designed for easy specification of Id etc. when you are Inheriting from another class.
* Inheritence now happens at all levels on reading of config files. No ↵Gravatar rcoh2010-12-29
| | | | | | additional resolution of inheritances should be necessary. RCOH
* a bugfix in APL. Support and a unit test for behavior inheritance. It now ↵Gravatar rcoh2010-12-26
| | | | | | | happens automatically when the config is loaded. Simply use Config.loadConfigFile(fileName) to leverage the functionality.
* some testcode that should be in the testing branch, but w/e. A method to ↵Gravatar rcoh2010-12-25
| | | | | | composite to xml trees, and a unit test to test it.
* added test directory for unittests and an example skeleton unit test. WRITE ↵Gravatar rcoh2010-12-25
TESTS FOR STUFF YOU WRITE. PLZ. RCOH