Commit graph

3 commits

Author SHA1 Message Date
Al Riddoch
d0e5fd8680 2007-01-16 Al Riddoch <alriddoch@zepler.org>
* common/type_utils.h: Properlly check for Atlas data type when
	  converting data to objects.

	* tests/AllPropertytest.cpp: Enable LineProperty test now that the
	  type checking is good enough.
2007-01-16 01:07:46 +00:00
Al Riddoch
325780d652 2007-01-14 Al Riddoch <alriddoch@zepler.org>
* common/Property.cpp: Add some specialisations that are useful
	  to cover in the tests, even though we are not using them in
	  the server yet.

	* common/inheritance.h: Provide an accessor for the dictionary of
	  class objects for testing purposes.

	* rulesets/AreaProperty.cpp: Use Map() rather than isMap() once we
	  have already tested it.

	* rulesets/Entity.cpp: Remove some debug output.

	* server/CorePropertyManager.cpp: Remove some debug output.

	* tests/PropertyExerciser.h, tests/PropertyExerciser.cpp: Fill out
	  the functionality of the property tester. Add functions to get
	  random values. Use vector for value storage to make it easier
	  to generate the random values.

	* tests/AllPropertytest.cpp: Cover all the property classes we can
	  test.

	* tests/Makefile.am: Add mercator libraries to the property test,
	  as we are now testing the terrain property.
2007-01-14 21:55:21 +00:00
Al Riddoch
92097063bc 2007-01-11 Al Riddoch <alriddoch@zepler.org>
* tests/PropertyExerciser.h, tests/PropertyExerciser.cpp:
	  New class which thoroughly exercises any property class via its
	  base interface.

	* tests/AllPropertytest.cpp: Start passing all property classes
	  through the as yet incomplete exerciser.
2007-01-11 22:35:05 +00:00