Index: lutinutil/src/test/org/codelutin/util/ArrayUtilTest.java diff -u lutinutil/src/test/org/codelutin/util/ArrayUtilTest.java:1.2 lutinutil/src/test/org/codelutin/util/ArrayUtilTest.java:1.3 --- lutinutil/src/test/org/codelutin/util/ArrayUtilTest.java:1.2 Mon Nov 8 13:39:19 2004 +++ lutinutil/src/test/org/codelutin/util/ArrayUtilTest.java Thu Dec 23 18:19:15 2004 @@ -1,5 +1,5 @@ /* *##% - * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau, + * Copyright (C) 2002, 2003, 2004, 2005 Code Lutin, Cédric Pineau, * Benjamin Poussin * * This program is free software; you can redistribute it and/or @@ -23,9 +23,9 @@ * Created: 31 oct. 2004 * * @author Benjamin Poussin - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Mise a jour: $Date: 2004/11/08 13:39:19 $ + * Mise a jour: $Date: 2004/12/23 18:19:15 $ * par : $Author: bpoussin $ */ Index: lutinutil/src/test/org/codelutin/util/FileUtilTest.java diff -u /dev/null lutinutil/src/test/org/codelutin/util/FileUtilTest.java:1.1 --- /dev/null Thu Dec 23 18:19:20 2004 +++ lutinutil/src/test/org/codelutin/util/FileUtilTest.java Thu Dec 23 18:19:15 2004 @@ -0,0 +1,46 @@ +/* *##% + * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau, + * Benjamin Poussin + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program 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 program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + *##%*/ + +/* * + * FileUtilTest.java + * + * Created: 22 nov. 2004 + * + * @author Benjamin Poussin + * @version $Revision: 1.1 $ + * + * Mise a jour: $Date: 2004/12/23 18:19:15 $ + * par : $Author: bpoussin $ + */ + +package org.codelutin.util; + +import java.util.List; +import junit.framework.TestCase; +import java.io.File; + +public class FileUtilTest extends TestCase { // FileUtilTest + + public void testFind() throws Exception { + List result = FileUtil.find (new File("."), ".*FileUtil.*"); + assertTrue(result.size() != 0); + } + +} // FileUtilTest +