1 /**
2 * Powerunit - A JDK1.8 test framework
3 * Copyright (C) 2014 Mathieu Boretti.
4 *
5 * This file is part of Powerunit
6 *
7 * Powerunit is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Powerunit is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Powerunit. If not, see <http://www.gnu.org/licenses/>.
19 */
20 package ch.powerunit.comparator.lang;
21
22 import java.util.Comparator;
23
24 import ch.powerunit.comparator.ComparatorTester;
25
26 /**
27 * End of the DSL for Comparator test framework.
28 *
29 * @author borettim
30 * @since 0.3.0
31 *
32 * @param <O>
33 * The object of the comparator
34 * @param <C>
35 * The comparator undertest
36 */
37 public interface ComparatorTesterDSLEnd<O, C extends Comparator<O>> {
38 /**
39 * End the creation of the tester.
40 *
41 * @return {@link ComparatorTester the test framework}. The
42 * {@link ch.powerunit.TestDelegate annotation TestDelegate}
43 * describe how to use the result.
44 */
45 ComparatorTester<O, C> build();
46 }