View Javadoc

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.load;
17  
18  import org.junit.experimental.categories.Category;
19  import org.junit.experimental.theories.DataPoint;
20  
21  import de.smartics.ci.config.load.LoaderPlan;
22  import de.smartics.ci.config.maven.MavenConfig;
23  import de.smartics.ci.config.test.MavenConfigBuilder;
24  import de.smartics.testdoc.annotations.Uut;
25  import de.smartics.testdoc.categories.type.ObjectBasics;
26  import de.smartics.util.test.theories.ObjectTheories;
27  
28  /**
29   * Tests object basics of {@link LoaderPlan}.
30   */
31  @Category(ObjectBasics.class)
32  @Uut(type = LoaderPlan.class)
33  public class LoaderPlanObjectTest extends ObjectTheories
34  {
35    // ********************************* Fields *********************************
36  
37    // --- constants ------------------------------------------------------------
38  
39    private static final MavenConfig MAVEN_CONFIG = MavenConfigBuilder.a()
40        .build();
41  
42    @DataPoint
43    public static final LoaderPlan PLAN_1 =
44        new LoaderPlan("Plan 1", MAVEN_CONFIG);
45  
46    @DataPoint
47    public static final LoaderPlan PLAN_1_EQUAL = new LoaderPlan("Plan 1",
48        MAVEN_CONFIG);
49  
50    @DataPoint
51    public static final LoaderPlan PLAN_2 =
52        new LoaderPlan("Plan 2", MAVEN_CONFIG);
53  
54    @DataPoint
55    public static final LoaderPlan PLAN_3 =
56        new LoaderPlan("Plan 3", MAVEN_CONFIG);
57  
58    // --- members --------------------------------------------------------------
59  
60    // ****************************** Inner Classes *****************************
61  
62    // ********************************* Methods ********************************
63  
64    // --- prepare --------------------------------------------------------------
65  
66    // --- helper ---------------------------------------------------------------
67  
68    // --- tests ----------------------------------------------------------------
69  
70  }