1 /* 2 * Copyright 2012 smartics, Kronseder & Reiner GmbH 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package test.de.smartics.ci.config.utils; 17 18 import org.jdom.JDOMException; 19 import org.junit.Test; 20 import org.junit.experimental.categories.Category; 21 22 import de.smartics.ci.config.utils.JDomUtils; 23 import de.smartics.testdoc.annotations.Uut; 24 import de.smartics.testdoc.categories.type.Coverage; 25 import de.smartics.util.test.lang.LangTestUtils; 26 27 /** 28 * Tests {@link JDomUtils}. 29 */ 30 @Uut(type = JDomUtils.class) 31 public class JDomUtilsTest 32 { 33 // ********************************* Fields ********************************* 34 35 // --- constants ------------------------------------------------------------ 36 37 // --- members -------------------------------------------------------------- 38 39 // ****************************** Inner Classes ***************************** 40 41 // ********************************* Methods ******************************** 42 43 // --- prepare -------------------------------------------------------------- 44 45 // --- helper --------------------------------------------------------------- 46 47 // --- tests ---------------------------------------------------------------- 48 49 @Test 50 @Category(Coverage.class) 51 public void providesConstructor() throws JDOMException 52 { 53 LangTestUtils.runPrivateConstructorTest(JDomUtils.class); 54 } 55 }