https://svn.lrde.epita.fr/svn/oln/prototypes/proto-1.0
ChangeLog | 8 ++++++++
tests/core/tests/readwrite_image | 4 ++++
tests/core/tests/setget | 11 +++++++++--
3 files changed, 21 insertions(+), 2 deletions(-)
Index: olena/ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix remaining tests in tests/core.
* tests/core/tests/readwrite_image, tests/core/tests/setget
(set_props <category::image, dummy_image>): Add missing
properties.
2005-04-14 Roland Levillain <roland(a)lrde.epita.fr>
Index: olena/tests/core/tests/readwrite_image
--- olena/tests/core/tests/readwrite_image (revision 151)
+++ olena/tests/core/tests/readwrite_image (working copy)
@@ -29,6 +29,10 @@
typedef point2d point_type;
typedef ntg::int_u8 value_type;
+ typedef fwd_piter2d piter_type;
+ typedef fwd_piter2d fwd_piter_type;
+ typedef bkd_piter2d bkd_piter_type;
+
typedef value_type value_storage_type;
typedef array2d<value_storage_type> storage_type;
};
Index: olena/tests/core/tests/setget
--- olena/tests/core/tests/setget (revision 151)
+++ olena/tests/core/tests/setget (working copy)
@@ -1,4 +1,4 @@
-
+ // -*- C++ -*-
#include <oln/basics.hh>
@@ -13,12 +13,19 @@
};
template <>
- struct set_props < category::image, dummy_image > : public props_of
<category::image>
+ struct set_props < category::image, dummy_image >
{
+ typedef int concrete_type;
+ typedef int image_dimension_type;
+
typedef int size_type;
typedef int point_type;
typedef int value_type;
typedef mlc::no_type delegated_type;
+
+ typedef fwd_piter2d piter_type;
+ typedef fwd_piter2d fwd_piter_type;
+ typedef bkd_piter2d bkd_piter_type;
};
struct dummy_image : public abstract::readwrite_image< dummy_image >