Project

General

Profile

« Previous | Next » 

Revision 892efc69

Added by Andreas Kohlbecker almost 14 years ago

merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/validation/ValidationTest.java
57 57
 *
58 58
 */
59 59
@SuppressWarnings("unused")
60
@Ignore //FIXME ignoring only for merging 8.6.2010 a.kohlbecker
60
@Ignore //FIXME ignoring just for today 9.6.2010 a.kohlbecker !!!!!!!!!!!!!!!!!!!!!
61 61
public class ValidationTest extends CdmIntegrationTest {
62 62
	private static final Logger logger = Logger.getLogger(ValidationTest.class);
63 63
	
......
115 115
		name.setSpecificEpithet("balsamea");
116 116
		name.setNameCache("Abies balsamea");
117 117
		name.setAuthorshipCache("L.");
118
		name.setTitleCache("Abies balsamea L.");
118
		name.setTitleCache("Abies balsamea L.", true);
119 119
		name.setFullTitleCache("Abies balsamea L.");
120 120
		
121 121
        Set<ConstraintViolation<BotanicalName>> constraintViolations  = validator.validate(name, Default.class,Level2.class);
......
149 149
		name.setSpecificEpithet("balsamea");
150 150
		name.setNameCache("Abies balsamea");
151 151
		name.setAuthorshipCache("L.");
152
		name.setTitleCache("Abies balsamea L.");
152
		name.setTitleCache("Abies balsamea L.", true);
153 153
		name.setFullTitleCache("Abies balsamea L.");
154 154
		
155 155
        Set<ConstraintViolation<BotanicalName>> constraintViolations  = validator.validate(name, Default.class,Level2.class, Level3.class);
......
166 166
		name.setSpecificEpithet("alba");
167 167
		name.setNameCache("Abies alba");
168 168
		name.setAuthorshipCache("Mill.");
169
		name.setTitleCache("Abies alba Mill.");
169
		name.setTitleCache("Abies alba Mill.", true);
170 170
		name.setFullTitleCache("Abies alba Mill.");
171 171
		name.setNomenclaturalReference(null);
172 172
		name.setNomenclaturalMicroReference(null);

Also available in: Unified diff