View Javadoc

1   /*
2    * Copyright 2011-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 de.smartics.util.lang;
17  
18  import org.junit.Test;
19  import org.junit.experimental.categories.Category;
20  
21  import de.smartics.testdoc.annotations.Uut;
22  import de.smartics.testdoc.categories.type.Coverage;
23  import de.smartics.util.test.lang.LangTestUtils;
24  
25  /**
26   * Provides full test coverage {@link StringFunction}.
27   */
28  @Uut(type = StringFunction.class)
29  public class StringFunctionTest
30  {
31    // ********************************* Fields *********************************
32  
33    // --- constants ------------------------------------------------------------
34  
35    // --- members --------------------------------------------------------------
36  
37    // ****************************** Inner Classes *****************************
38  
39    // ********************************* Methods ********************************
40  
41    // --- prepare --------------------------------------------------------------
42  
43    // --- helper ---------------------------------------------------------------
44  
45    @Test
46    @Category(Coverage.class)
47    public void runPrivateConstructorForFullTestCoverage()
48    {
49      LangTestUtils.runPrivateConstructorTest(StringFunction.class);
50    }
51  
52    // --- tests ----------------------------------------------------------------
53  
54  }