2020-09-13 01:28:27 +02:00
|
|
|
/*
|
2024-08-09 02:01:43 +02:00
|
|
|
* Copyright (C) 2019-2024 Christian Pierre MOMON, DEVINSY
|
2020-09-13 01:28:27 +02:00
|
|
|
*
|
2024-08-09 02:01:43 +02:00
|
|
|
* This file is part of StatoolInfosWeb, webapp to value service statistics.
|
2020-09-13 01:28:27 +02:00
|
|
|
*
|
|
|
|
* StatoolInfos 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.
|
|
|
|
*
|
2024-08-09 02:01:43 +02:00
|
|
|
* StatoolInfosWeb is distributed in the hope that it will be useful,
|
2020-09-13 01:28:27 +02:00
|
|
|
* 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
|
2024-08-09 02:01:43 +02:00
|
|
|
* along with StatoolInfosWeb. If not, see <http://www.gnu.org/licenses/>.
|
2020-09-13 01:28:27 +02:00
|
|
|
*/
|
2024-08-09 02:01:43 +02:00
|
|
|
package fr.devinsy.statoolinfos.web;
|
2020-09-13 01:28:27 +02:00
|
|
|
|
2021-12-29 01:00:20 +01:00
|
|
|
import org.apache.logging.log4j.Level;
|
|
|
|
import org.apache.logging.log4j.core.config.Configurator;
|
|
|
|
import org.apache.logging.log4j.core.config.DefaultConfiguration;
|
2020-09-13 01:28:27 +02:00
|
|
|
import org.junit.AfterClass;
|
|
|
|
import org.junit.BeforeClass;
|
|
|
|
import org.junit.Test;
|
|
|
|
|
2024-08-09 02:01:43 +02:00
|
|
|
import fr.devinsy.statoolinfosweb.StatoolInfosWebException;
|
|
|
|
|
2020-09-13 01:28:27 +02:00
|
|
|
/**
|
2024-08-09 02:01:43 +02:00
|
|
|
* The Class StatoolInfosWebTest.
|
2020-09-13 01:28:27 +02:00
|
|
|
*/
|
2024-08-09 02:01:43 +02:00
|
|
|
public class StatoolInfosWebTest
|
2020-09-13 01:28:27 +02:00
|
|
|
{
|
2024-08-09 02:01:43 +02:00
|
|
|
private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(StatoolInfosWebTest.class);
|
2020-09-13 01:28:27 +02:00
|
|
|
|
|
|
|
@Test
|
2024-08-09 02:01:43 +02:00
|
|
|
public void testExport01() throws Exception
|
2020-09-13 01:28:27 +02:00
|
|
|
{
|
|
|
|
//
|
2024-08-09 02:01:43 +02:00
|
|
|
logger.debug("===== test starting...");
|
|
|
|
|
|
|
|
//
|
|
|
|
logger.debug("===== test done.");
|
2020-09-13 01:28:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* After class.
|
|
|
|
*
|
2024-08-09 02:01:43 +02:00
|
|
|
* @throws JugaException
|
2020-09-13 01:28:27 +02:00
|
|
|
* the Juga exception
|
|
|
|
*/
|
|
|
|
@AfterClass
|
2024-08-09 02:01:43 +02:00
|
|
|
public static void afterClass() throws StatoolInfosWebException
|
2020-09-13 01:28:27 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Before class.
|
|
|
|
*
|
2024-08-09 02:01:43 +02:00
|
|
|
* @throws JugaException
|
2020-09-13 01:28:27 +02:00
|
|
|
* the Juga exception
|
|
|
|
*/
|
|
|
|
@BeforeClass
|
2024-08-09 02:01:43 +02:00
|
|
|
public static void beforeClass() throws StatoolInfosWebException
|
2020-09-13 01:28:27 +02:00
|
|
|
{
|
2021-12-29 01:00:20 +01:00
|
|
|
Configurator.initialize(new DefaultConfiguration());
|
|
|
|
Configurator.setRootLevel(Level.DEBUG);
|
2020-09-13 01:28:27 +02:00
|
|
|
}
|
|
|
|
}
|