Commit 9b9b253f authored by Guillaume Duhamel's avatar Guillaume Duhamel
Browse files

Add include all tests for some subdirectories.


	* mln/border/mirror.hh: Add geom headers.
	* mln/geom/all.hh: Fix chamfer header.
	* mln/level/median.hh: Add good header.

	Tests

	* tests/arith/all_headers.cc,
	* tests/border/all_headers.cc,
	* tests/display/all_headers.cc,
	* tests/draw/all_headers.cc,
	* tests/level/all_headers.cc,
	* tests/logical/all_headers.cc,
	* tests/util/all_headers.cc: New tests which include only
	all.hh for each subdirectory.


	* tests/arith/Makefile.am,
	* tests/border/Makefile.am,
	* tests/draw/Makefile.am,
	* tests/level/Makefile.am,
	* tests/logical/Makefile.am,
	* tests/util/Makefile.am: Update Makefile.am for this.


	* tests/all.cc: Update.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1544 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent ececb2d9
2007-11-27 Guillaume Duhamel <guillaume.duhamel@lrde.epita.fr>
Add include all tests for some subdirectories.
* mln/border/mirror.hh: Add geom headers.
* mln/geom/all.hh: Fix chamfer header.
* mln/level/median.hh: Add good header.
Tests
* tests/arith/all_headers.cc,
* tests/border/all_headers.cc,
* tests/display/all_headers.cc,
* tests/draw/all_headers.cc,
* tests/level/all_headers.cc,
* tests/logical/all_headers.cc,
* tests/util/all_headers.cc: New tests which include only
all.hh for each subdirectory.
* tests/arith/Makefile.am,
* tests/border/Makefile.am,
* tests/draw/Makefile.am,
* tests/level/Makefile.am,
* tests/logical/Makefile.am,
* tests/util/Makefile.am: Update Makefile.am for this.
* tests/all.cc: Update.
2007-11-26 Matthieu Garrigues <garrigues@lrde.epita.fr>
Fix a bug in int_u.
......
......@@ -36,6 +36,11 @@
# include <mln/core/concept/image.hh>
# include <mln/core/internal/fixme.hh>
# include <mln/core/internal/fixme.hh>
# include <mln/geom/min_row.hh>
# include <mln/geom/max_row.hh>
# include <mln/geom/min_col.hh>
# include <mln/geom/max_col.hh>
namespace mln
......
......@@ -30,7 +30,7 @@
/*! \file mln/core/internal/image_morpher.hh
*
* \brief Definition of a base class for image morphers.
* \brief Definition of a base class for image morphers.
*/
# include <mln/core/internal/image_base.hh>
......@@ -48,7 +48,7 @@ namespace mln
*
* Parameter \c I is the underlying-morphed image type.
*
* \internal
* \internal
*/
template <typename I, typename S, typename E>
class image_morpher_ : public image_base_<S, E>
......
......@@ -50,7 +50,7 @@ namespace mln
# include <mln/geom/chamfer.hh>
# include <mln/geom/pmin_pmax.hh>
# include <mln/geom/seeds2tiling.hh>
# include <mln/geom/seeds2tiling_with_chamfer.hh>
# include <mln/geom/seeds2tiling_roundness.hh>
# include <mln/geom/shift.hh>
# include <mln/geom/size1d.hh>
# include <mln/geom/size2d.hh>
......
......@@ -37,6 +37,7 @@
# include <mln/core/concept/image.hh>
# include <mln/core/window.hh>
# include <mln/core/dpoint2d.hh>
# include <mln/geom/shift.hh>
# include <mln/set/diff.hh>
......
......@@ -32,32 +32,32 @@
#include <mln/test/all.hh>
#include <mln/convert/all.hh>
//#include <mln/convert/all.hh>
#include <mln/estim/all.hh>
#include <mln/debug/all.hh>
#include <mln/histo/all.hh>
#include <mln/pw/all.hh>
#include <mln/geom/all.hh>
#include <mln/core/trait/all.hh>
#include <mln/fun/i2v/all.hh>
#include <mln/fun/p2b/all.hh>
#include <mln/fun/p2v/all.hh>
#include <mln/fun/v2v/all.hh>
#include <mln/fun/x2x/all.hh>
#include <mln/fun/all.hh>
//#include <mln/fun/i2v/all.hh>
//#include <mln/fun/p2b/all.hh>
//#include <mln/fun/p2v/all.hh>
//#include <mln/fun/v2v/all.hh>
//#include <mln/fun/x2x/all.hh>
//#include <mln/fun/all.hh>
#include <mln/math/all.hh>
#include <mln/set/all.hh>
//#include <mln/set/all.hh>
#include <mln/draw/all.hh>
#include <mln/metal/math/all.hh>
#include <mln/metal/all.hh>
#include <mln/morpho/all.hh>
#include <mln/io/pfm/all.hh>
#include <mln/io/pgm/all.hh>
#include <mln/io/fits/all.hh>
//#include <mln/io/fits/all.hh>
#include <mln/io/ppm/all.hh>
#include <mln/io/pbm/all.hh>
#include <mln/io/pnm/all.hh>
#include <mln/io/all.hh>
//#include <mln/io/all.hh>
#include <mln/level/naive/all.hh>
#include <mln/level/approx/all.hh>
#include <mln/level/all.hh>
......
......@@ -3,11 +3,13 @@
include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
all_headers.cc \
minus \
plus \
revert \
times
all_headers_SOURCES = all_headers.cc
minus_SOURCES = minus.cc
plus_SOURCES = plus.cc
revert_SOURCES = revert.cc
......
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/arith/all_headers.cc
*
* \brief Tests on mln::arith.
*/
#include <mln/arith/all.hh>
int main()
{
}
......@@ -4,6 +4,7 @@ include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
adjust \
all_headers.cc \
duplicate \
equalize \
fill \
......@@ -13,6 +14,7 @@ check_PROGRAMS = \
resize
adjust_SOURCES = adjust.cc
all_headers_SOURCES = all_headers.cc
duplicate_SOURCES = duplicate.cc
equalize_SOURCES = equalize.cc
fill_SOURCES = fill.cc
......
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/border/all_headers.cc
*
* \brief Tests on mln::border.
*/
#include <mln/border/all.hh>
int main()
{
}
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/display/all_headers.cc
*
* \brief Tests on mln::display.
*/
#include <mln/display/all.hh>
int main()
{
}
......@@ -3,9 +3,11 @@
include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
all_headers.cc \
line \
mesh
all_headers_SOURCES = all_headers.cc
line_SOURCES = line.cc
mesh_SOURCES = mesh.cc
......
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/draw/all_headers.cc
*
* \brief Tests on mln::draw.
*/
#include <mln/draw/all.hh>
int main()
{
}
......@@ -4,6 +4,7 @@ include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
abs \
all_headers.cc \
apply \
assign \
compare \
......@@ -23,6 +24,7 @@ check_PROGRAMS = \
transform
abs_SOURCES = abs.cc
all_headers_SOURCES = all_headers.cc
apply_SOURCES = apply.cc
assign_SOURCES = assign.cc
compare_SOURCES = compare.cc
......
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/level/all_headers.cc
*
* \brief Tests on mln::level.
*/
#include <mln/level/all.hh>
int main()
{
}
......@@ -3,11 +3,13 @@
include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
all_headers.cc \
and \
and_not \
not \
or
all_headers_SOURCES = all_headers.cc
and_SOURCES = and.cc
and_not_SOURCES = and_not.cc
not_SOURCES = not.cc
......
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/logical/all_headers.cc
*
* \brief Tests on mln::logical.
*/
#include <mln/logical/all.hh>
int main()
{
}
## Process this file through Automake to create Makefile.in -*- Makefile -*-
check_PROGRAMS = \
branch_iter \
branch_iter_ind \
eat \
graph \
ordpair \
tree \
tree_fast \
tree_fast_to_image \
tree_to_image
include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
all_headers.cc \
branch_iter \
branch_iter_ind \
eat \
graph \
ordpair \
tree \
tree_fast \
tree_fast_to_image \
tree_to_image
all_headers_SOURCES = all_headers.cc
branch_iter_SOURCES = branch_iter.cc
branch_iter_ind_SOURCES = branch_iter_ind.cc
eat_SOURCES = eat.cc
......@@ -23,5 +27,3 @@ tree_fast_to_image_SOURCES = tree_to_image.cc
tree_to_image_SOURCES = tree_to_image.cc
TESTS = $(check_PROGRAMS)
include $(top_srcdir)/milena/tests/tests.mk
// Copyright (C) 2007 EPITA Research and Development Laboratory
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License version 2 as published by the
// Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this library; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02111-1307, USA.
//
// As a special exception, you may use this file as part of a free
// software library without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to
// produce an executable, this file does not by itself cause the
// resulting executable to be covered by the GNU General Public
// License. This exception does not however invalidate any other
// reasons why the executable file might be covered by the GNU General
// Public License.
/*! \file tests/util/all_headers.cc
*
* \brief Tests on mln::util.
*/
#include <mln/util/all.hh>
int main()
{
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment