01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.fixtures;
04:
05: import fit.ColumnFixture;
06:
07: public class NullAndBlankFixture extends ColumnFixture {
08: public String nullString;
09:
10: public String blankString;
11:
12: public String nullString() {
13: return null;
14: }
15:
16: public String blankString() {
17: return "";
18: }
19:
20: public boolean isNull() {
21: return nullString == null;
22: }
23:
24: public boolean isBlank() {
25: return blankString.length() == 0;
26: }
27: }
|