@@ -0,0 +1,1659 @@
+/*-- $Copyright (c) 2014 Christoffer Fink$%0A%0APermission is hereby granted, free of charge, to any person obtaining a copy%0Aof this software and associated documentation files (the %22Software%22), to deal%0Ain the Software without restriction, including without limitation the rights%0Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0Acopies of the Software, and to permit persons to whom the Software is%0Afurnished to do so, subject to the following conditions:%0A%0AThe above copyright notice and this permission notice shall be included in all%0Acopies or substantial portions of the Software.%0A%0ATHE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR%0AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,%0AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE%0AAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER%0ALIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,%0AOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE%0ASOFTWARE.%0A*/%0Apackage net.finkn.inputspec.tools;%0A%0Aimport net.finkn.inputspec.tools.types.Point;%0A%0A/**%0A * Helper for writing more concise tests.%0A * Exports common configurations and small functions that are common to%0A * multiple tests.%0A */%0Apublic class Helper %7B%0A%0A  public static final ParamCfg pointParam = ParamCfg.builder()%0A      .id(%22X%22).inclMin(%2210%22).inclMax(%2220%22).add()%0A      .id(%22Y%22).inclMin(%2215%22).inclMax(%2225%22).add()%0A      .structured()%0A      .id(%22Point%22)%0A      .build();%0A%0A  public static final MappingCfg pointMapping = MappingCfg.builder()%0A      .infer(pointParam, Point.class)%0A      .build();%0A%7D%0A

Add Helper