01: /*
02: Copyright 2004-2007 Paul R. Holser, Jr. All rights reserved.
03: Licensed under the Academic Free License version 3.0
04: */
05:
06: package joptsimple;
07:
08: /**
09: * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
10: * @version $Id: NoArgumentOptionSpecEqualsHashCodeTest.java,v 1.9 2007/04/10 20:06:26 pholser Exp $
11: */
12: public class NoArgumentOptionSpecEqualsHashCodeTest extends
13: AbstractOptionSpecEqualsHashCodeFixture {
14:
15: public NoArgumentOptionSpecEqualsHashCodeTest(String name) {
16: super (name);
17: }
18:
19: protected OptionSpec createEqualOptionSpecInstance() {
20: return new NoArgumentOptionSpec("a");
21: }
22:
23: protected OptionSpec createNotEqualOptionSpecInstance() {
24: return new NoArgumentOptionSpec("b");
25: }
26: }
|