diff --git a/test/org/april/libreencadeau/FooSandbox.java b/test/org/april/libreencadeau/FooSandbox.java new file mode 100644 index 0000000..182c466 --- /dev/null +++ b/test/org/april/libreencadeau/FooSandbox.java @@ -0,0 +1,65 @@ +/** + * Copyright (C) 2013-2016 Christian Pierre MOMON + * + * This file is part of LibreEnCadeau. + * + * LibreEnCadeau is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * LibreEnCadeau 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 Affero General Public License for more + * details. + * + * You should have received a copy of the GNU Affero General Public License + * along with LibreEnCadeau. If not, see + */ + +package org.april.libreencadeau; + +import org.junit.Assert; +import org.junit.Test; + +/** + * Kiss4Web tests. + */ +public class FooSandbox +{ + private static org.apache.log4j.Logger logger; + + static + { + // Initialize logger. + org.apache.log4j.Logger logger = null; + + org.apache.log4j.BasicConfigurator.configure(); + + logger = org.apache.log4j.Logger.getRootLogger(); + // logger.setLevel (org.apache.log4j.Level.INFO); + logger.setLevel(org.apache.log4j.Level.INFO); + + logger.info("Enter"); + + // + logger.info("Set the log file format..."); + + // log = + // org.apache.log4j.Category.getInstance(Application.class.getName()); + logger.info("... done."); + + logger.debug("Exit"); + logger = org.apache.log4j.Logger.getLogger(FooSandbox.class.getName()); + } + + /** + * + */ + @Test + public void check() + { + Assert.assertTrue(true); + } + +}