|
Line 0
Link Here
|
|
|
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2010 BSI Business Systems Integration AG. |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* http://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: |
| 9 |
* BSI Business Systems Integration AG - initial API and implementation |
| 10 |
******************************************************************************/ |
| 11 |
package org.eclipse.scout.sdk.internal.test.operation.formdata; |
| 12 |
|
| 13 |
import static org.junit.Assert.assertEquals; |
| 14 |
import static org.junit.Assert.assertFalse; |
| 15 |
import static org.junit.Assert.assertNotNull; |
| 16 |
import static org.junit.Assert.assertTrue; |
| 17 |
|
| 18 |
import java.util.HashMap; |
| 19 |
import java.util.Map; |
| 20 |
|
| 21 |
import javax.annotation.Generated; |
| 22 |
|
| 23 |
import org.eclipse.core.resources.IProject; |
| 24 |
import org.eclipse.jdt.core.IMethod; |
| 25 |
import org.eclipse.jdt.core.ISourceRange; |
| 26 |
import org.eclipse.jdt.core.IType; |
| 27 |
import org.eclipse.scout.sdk.jobs.OperationJob; |
| 28 |
import org.eclipse.scout.sdk.operation.form.formdata.FormDataUpdateOperation; |
| 29 |
import org.eclipse.scout.sdk.test.AbstractScoutSdkTest; |
| 30 |
import org.eclipse.scout.sdk.util.type.TypeUtility; |
| 31 |
import org.junit.BeforeClass; |
| 32 |
import org.junit.Test; |
| 33 |
|
| 34 |
public class ReplaceFormFiledTest extends AbstractScoutSdkTest { |
| 35 |
|
| 36 |
private static IType s_baseFormData; |
| 37 |
private static IType s_extendedFormData; |
| 38 |
private static IType s_extendedExtendedFormData; |
| 39 |
private static Map<String, String> s_validationRules; |
| 40 |
|
| 41 |
@BeforeClass |
| 42 |
public static void setUpWorkspace() throws Exception { |
| 43 |
setupWorkspace("operation/formData", "formdata.shared", "formdata.client"); |
| 44 |
|
| 45 |
IProject sharedProject = getProject("formdata.shared"); |
| 46 |
assertNotNull(sharedProject); |
| 47 |
|
| 48 |
s_baseFormData = updateFormData(sharedProject, "formdata.client.ui.forms.replace.BaseForm", "formdata.shared.services.process.replace.BaseFormData", "AbstractFormData"); |
| 49 |
s_extendedFormData = updateFormData(sharedProject, "formdata.client.ui.forms.replace.ExtendedForm", "formdata.shared.services.process.replace.ExtendedFormData", "BaseFormData"); |
| 50 |
s_extendedExtendedFormData = updateFormData(sharedProject, "formdata.client.ui.forms.replace.ExtendedExtendedForm", "formdata.shared.services.process.replace.ExtendedExtendedFormData", "ExtendedFormData"); |
| 51 |
|
| 52 |
s_validationRules = new HashMap<String, String>(); |
| 53 |
s_validationRules.put("ValidationRule.MANDATORY", "\"mandatory\""); |
| 54 |
s_validationRules.put("ValidationRule.MIN_VALUE", "\"minValue\""); |
| 55 |
s_validationRules.put("ValidationRule.MAX_VALUE", "\"maxValue\""); |
| 56 |
s_validationRules.put("ValidationRule.MIN_LENGTH", "\"minLength\""); |
| 57 |
s_validationRules.put("ValidationRule.MAX_LENGTH", "\"maxLength\""); |
| 58 |
s_validationRules.put("ValidationRule.CODE_TYPE", "\"codeType\""); |
| 59 |
s_validationRules.put("ValidationRule.LOOKUP_CALL", "\"lookupCall\""); |
| 60 |
s_validationRules.put("ValidationRule.REGEX", "\"regex\""); |
| 61 |
s_validationRules.put("ValidationRule.MASTER_VALUE_FIELD", "\"masterValueField\""); |
| 62 |
s_validationRules.put("ValidationRule.MASTER_VALUE_REQUIRED", "\"masterValueRequired\""); |
| 63 |
s_validationRules.put("ValidationRule.ZERO_NULL_EQUALITY", "\"zeroNullEquality\""); |
| 64 |
} |
| 65 |
|
| 66 |
private static IType updateFormData(IProject sharedProject, String formFqcn, String formDataFqcn, String formDataSuperClassName) throws Exception { |
| 67 |
IType form = TypeUtility.getType(formFqcn); |
| 68 |
assertTrue(TypeUtility.exists(form)); |
| 69 |
|
| 70 |
FormDataUpdateOperation op = new FormDataUpdateOperation(form); |
| 71 |
OperationJob job = new OperationJob(op); |
| 72 |
job.schedule(); |
| 73 |
job.join(); |
| 74 |
buildWorkspace(); |
| 75 |
IType formData = op.getFormDataType(); |
| 76 |
assertTrue(TypeUtility.exists(formData)); |
| 77 |
assertEquals(formDataFqcn, formData.getFullyQualifiedName()); |
| 78 |
assertEquals(formDataSuperClassName, formData.getSuperclassName()); |
| 79 |
return formData; |
| 80 |
} |
| 81 |
|
| 82 |
private static void assertValidationRules(IType type, String... expectedLines) throws Exception { |
| 83 |
IMethod initValidationRulesMethod = TypeUtility.getMethod(type, "initValidationRules"); |
| 84 |
|
| 85 |
if (expectedLines == null || expectedLines.length == 0) { |
| 86 |
assertFalse(TypeUtility.exists(initValidationRulesMethod)); |
| 87 |
return; |
| 88 |
} |
| 89 |
|
| 90 |
// validation rules are expected. Check contents. |
| 91 |
assertTrue(TypeUtility.exists(initValidationRulesMethod)); |
| 92 |
|
| 93 |
String source = initValidationRulesMethod.getSource(); |
| 94 |
ISourceRange range = TypeUtility.getContentRange(initValidationRulesMethod); |
| 95 |
source = initValidationRulesMethod.getOpenable().getBuffer().getText(range.getOffset(), range.getLength()); |
| 96 |
|
| 97 |
assertNotNull(source); |
| 98 |
|
| 99 |
source = source.replace("super.initValidationRules(ruleMap);", ""); |
| 100 |
for (String line : expectedLines) { |
| 101 |
source = source.replace(line, ""); |
| 102 |
|
| 103 |
// inline constants |
| 104 |
for (Map.Entry<String, String> rule : s_validationRules.entrySet()) { |
| 105 |
line = line.replace(rule.getKey(), rule.getValue()); |
| 106 |
} |
| 107 |
source = source.replace(line, ""); |
| 108 |
} |
| 109 |
|
| 110 |
source = source.trim(); |
| 111 |
assertEquals("", source); |
| 112 |
} |
| 113 |
|
| 114 |
/* ########################################################################## |
| 115 |
* BaseForm tests |
| 116 |
* ########################################################################## |
| 117 |
*/ |
| 118 |
@Test |
| 119 |
public void testBaseFormName() throws Exception { |
| 120 |
IType type = s_baseFormData.getType("Name"); |
| 121 |
assertTrue(TypeUtility.exists(type)); |
| 122 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 123 |
assertValidationRules(type, |
| 124 |
"ruleMap.put(ValidationRule.MANDATORY, true);", |
| 125 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 60);"); |
| 126 |
} |
| 127 |
|
| 128 |
@Test |
| 129 |
public void testBaseFormSmart() throws Exception { |
| 130 |
IType type = s_baseFormData.getType("Smart"); |
| 131 |
assertTrue(TypeUtility.exists(type)); |
| 132 |
assertEquals("AbstractValueFieldData<Long>", type.getSuperclassName()); |
| 133 |
assertValidationRules(type, |
| 134 |
"ruleMap.put(ValidationRule.CODE_TYPE, TestingCodeType.class);", |
| 135 |
"ruleMap.put(ValidationRule.ZERO_NULL_EQUALITY, true);"); |
| 136 |
} |
| 137 |
|
| 138 |
@Test |
| 139 |
public void testBaseFormLookup() throws Exception { |
| 140 |
IType type = s_baseFormData.getType("Lookup"); |
| 141 |
assertTrue(TypeUtility.exists(type)); |
| 142 |
assertEquals("AbstractValueFieldData<Long>", type.getSuperclassName()); |
| 143 |
assertValidationRules(type, |
| 144 |
"ruleMap.put(ValidationRule.LOOKUP_CALL, TestingLookupCall.class);", |
| 145 |
"ruleMap.put(ValidationRule.ZERO_NULL_EQUALITY, true);"); |
| 146 |
} |
| 147 |
|
| 148 |
@Test |
| 149 |
public void testBaseFormDataIgnoringGroupBox() throws Exception { |
| 150 |
IType type = s_baseFormData.getType("IgnoringGroupBox"); |
| 151 |
assertFalse(TypeUtility.exists(type)); |
| 152 |
} |
| 153 |
|
| 154 |
@Test |
| 155 |
public void testBaseFormDataClose() throws Exception { |
| 156 |
IType type = s_baseFormData.getType("Close"); |
| 157 |
assertFalse(TypeUtility.exists(type)); |
| 158 |
} |
| 159 |
|
| 160 |
@Test |
| 161 |
@Generated("Replace Field Test Generator") |
| 162 |
public void testBaseFormDataSdkCommandNone() throws Exception { |
| 163 |
IType type = s_baseFormData.getType("SdkCommandNone"); |
| 164 |
assertTrue(TypeUtility.exists(type)); |
| 165 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 166 |
assertValidationRules(type, |
| 167 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 168 |
} |
| 169 |
|
| 170 |
@Test |
| 171 |
@Generated("Replace Field Test Generator") |
| 172 |
public void testBaseFormDataSdkCommandCreate() throws Exception { |
| 173 |
IType type = s_baseFormData.getType("SdkCommandCreate"); |
| 174 |
assertTrue(TypeUtility.exists(type)); |
| 175 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 176 |
assertValidationRules(type, |
| 177 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 178 |
} |
| 179 |
|
| 180 |
@Test |
| 181 |
@Generated("Replace Field Test Generator") |
| 182 |
public void testBaseFormDataSdkCommandUse() throws Exception { |
| 183 |
IType type = s_baseFormData.getType("SdkCommandUse"); |
| 184 |
assertTrue(TypeUtility.exists(type)); |
| 185 |
assertEquals("UsingFormFieldData", type.getSuperclassName()); |
| 186 |
assertValidationRules(type, |
| 187 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 188 |
} |
| 189 |
|
| 190 |
@Test |
| 191 |
@Generated("Replace Field Test Generator") |
| 192 |
public void testBaseFormDataSdkCommandIgnore() throws Exception { |
| 193 |
IType type = s_baseFormData.getType("SdkCommandIgnore"); |
| 194 |
assertFalse(TypeUtility.exists(type)); |
| 195 |
} |
| 196 |
|
| 197 |
/* ########################################################################## |
| 198 |
* ExtendedForm tests |
| 199 |
* ########################################################################## |
| 200 |
*/ |
| 201 |
@Test |
| 202 |
public void testExtendedFormFirstname() throws Exception { |
| 203 |
IType type = s_extendedFormData.getType("FirstName"); |
| 204 |
assertTrue(TypeUtility.exists(type)); |
| 205 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 206 |
assertValidationRules(type, |
| 207 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 208 |
} |
| 209 |
|
| 210 |
@Test |
| 211 |
public void testExtendedFormNameEx() throws Exception { |
| 212 |
IType type = s_extendedFormData.getType("NameEx"); |
| 213 |
assertTrue(TypeUtility.exists(type)); |
| 214 |
assertEquals("BaseFormData.Name", type.getSuperclassName()); |
| 215 |
assertValidationRules(type, |
| 216 |
"ruleMap.put(ValidationRule.MANDATORY, false);", |
| 217 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 100);"); |
| 218 |
} |
| 219 |
|
| 220 |
@Test |
| 221 |
public void testExtendedFormSmartEx() throws Exception { |
| 222 |
IType type = s_extendedFormData.getType("SmartEx"); |
| 223 |
assertTrue(TypeUtility.exists(type)); |
| 224 |
assertEquals("BaseFormData.Smart", type.getSuperclassName()); |
| 225 |
assertValidationRules(type, |
| 226 |
"ruleMap.remove(ValidationRule.CODE_TYPE);"); |
| 227 |
} |
| 228 |
|
| 229 |
@Test |
| 230 |
public void testExtendedFormDataIgnoringGroupBoxExNone() throws Exception { |
| 231 |
IType type = s_extendedFormData.getType("IgnoringGroupBoxExNone"); |
| 232 |
assertFalse(TypeUtility.exists(type)); |
| 233 |
} |
| 234 |
|
| 235 |
@Test |
| 236 |
public void testExtendedFormDataIgnoringGroupBoxExWithCreate() throws Exception { |
| 237 |
IType type = s_extendedFormData.getType("IgnoringGroupBoxExCreate"); |
| 238 |
assertTrue(TypeUtility.exists(type)); |
| 239 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 240 |
assertValidationRules(type, |
| 241 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 242 |
} |
| 243 |
|
| 244 |
@Test |
| 245 |
public void testExtendedFormDataIgnoringGroupBoxExUse() throws Exception { |
| 246 |
IType type = s_extendedFormData.getType("IgnoringGroupBoxExUse"); |
| 247 |
assertTrue(TypeUtility.exists(type)); |
| 248 |
assertEquals("UsingFormFieldData", type.getSuperclassName()); |
| 249 |
assertValidationRules(type, |
| 250 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 251 |
} |
| 252 |
|
| 253 |
@Test |
| 254 |
public void testExtendedFormDataIgnoringGroupBoxExIgnore() throws Exception { |
| 255 |
IType type = s_extendedFormData.getType("IgnoringGroupBoxExIgnore"); |
| 256 |
assertFalse(TypeUtility.exists(type)); |
| 257 |
} |
| 258 |
|
| 259 |
@Test |
| 260 |
public void testExtendedFormDataCloseEx() throws Exception { |
| 261 |
IType type = s_extendedFormData.getType("CloseEx"); |
| 262 |
assertFalse(TypeUtility.exists(type)); |
| 263 |
} |
| 264 |
|
| 265 |
@Test |
| 266 |
public void testExtendedFormIgnoringGroupBoxExNone() throws Exception { |
| 267 |
IType type = s_extendedFormData.getType("IgnoringGroupBoxExNone"); |
| 268 |
assertFalse(TypeUtility.exists(type)); |
| 269 |
} |
| 270 |
|
| 271 |
@Test |
| 272 |
@Generated("Replace Field Test Generator") |
| 273 |
public void testExtendedFormDataSdkCommandNoneNone() throws Exception { |
| 274 |
IType type = s_extendedFormData.getType("SdkCommandNoneNone"); |
| 275 |
assertTrue(TypeUtility.exists(type)); |
| 276 |
assertEquals("BaseFormData.SdkCommandNone", type.getSuperclassName()); |
| 277 |
assertValidationRules(type); |
| 278 |
} |
| 279 |
|
| 280 |
@Test |
| 281 |
@Generated("Replace Field Test Generator") |
| 282 |
public void testExtendedFormDataSdkCommandNoneCreate() throws Exception { |
| 283 |
IType type = s_extendedFormData.getType("SdkCommandNoneCreate"); |
| 284 |
assertTrue(TypeUtility.exists(type)); |
| 285 |
assertEquals("BaseFormData.SdkCommandNone", type.getSuperclassName()); |
| 286 |
assertValidationRules(type); |
| 287 |
} |
| 288 |
|
| 289 |
@Test |
| 290 |
@Generated("Replace Field Test Generator") |
| 291 |
public void testExtendedFormDataSdkCommandNoneUse() throws Exception { |
| 292 |
IType type = s_extendedFormData.getType("SdkCommandNoneUse"); |
| 293 |
assertTrue(TypeUtility.exists(type)); |
| 294 |
assertEquals("BaseFormData.SdkCommandNone", type.getSuperclassName()); |
| 295 |
assertValidationRules(type); |
| 296 |
} |
| 297 |
|
| 298 |
@Test |
| 299 |
@Generated("Replace Field Test Generator") |
| 300 |
public void testExtendedFormDataSdkCommandNoneIgnore() throws Exception { |
| 301 |
IType type = s_extendedFormData.getType("SdkCommandNoneIgnore"); |
| 302 |
assertTrue(TypeUtility.exists(type)); |
| 303 |
assertEquals("BaseFormData.SdkCommandNone", type.getSuperclassName()); |
| 304 |
assertValidationRules(type); |
| 305 |
} |
| 306 |
|
| 307 |
@Test |
| 308 |
@Generated("Replace Field Test Generator") |
| 309 |
public void testExtendedFormDataSdkCommandCreateNone() throws Exception { |
| 310 |
IType type = s_extendedFormData.getType("SdkCommandCreateNone"); |
| 311 |
assertTrue(TypeUtility.exists(type)); |
| 312 |
assertEquals("BaseFormData.SdkCommandCreate", type.getSuperclassName()); |
| 313 |
assertValidationRules(type); |
| 314 |
} |
| 315 |
|
| 316 |
@Test |
| 317 |
@Generated("Replace Field Test Generator") |
| 318 |
public void testExtendedFormDataSdkCommandCreateCreate() throws Exception { |
| 319 |
IType type = s_extendedFormData.getType("SdkCommandCreateCreate"); |
| 320 |
assertTrue(TypeUtility.exists(type)); |
| 321 |
assertEquals("BaseFormData.SdkCommandCreate", type.getSuperclassName()); |
| 322 |
assertValidationRules(type); |
| 323 |
} |
| 324 |
|
| 325 |
@Test |
| 326 |
@Generated("Replace Field Test Generator") |
| 327 |
public void testExtendedFormDataSdkCommandCreateUse() throws Exception { |
| 328 |
IType type = s_extendedFormData.getType("SdkCommandCreateUse"); |
| 329 |
assertTrue(TypeUtility.exists(type)); |
| 330 |
assertEquals("BaseFormData.SdkCommandCreate", type.getSuperclassName()); |
| 331 |
assertValidationRules(type); |
| 332 |
} |
| 333 |
|
| 334 |
@Test |
| 335 |
@Generated("Replace Field Test Generator") |
| 336 |
public void testExtendedFormDataSdkCommandCreateIgnore() throws Exception { |
| 337 |
IType type = s_extendedFormData.getType("SdkCommandCreateIgnore"); |
| 338 |
assertTrue(TypeUtility.exists(type)); |
| 339 |
assertEquals("BaseFormData.SdkCommandCreate", type.getSuperclassName()); |
| 340 |
assertValidationRules(type); |
| 341 |
} |
| 342 |
|
| 343 |
@Test |
| 344 |
@Generated("Replace Field Test Generator") |
| 345 |
public void testExtendedFormDataSdkCommandUseNone() throws Exception { |
| 346 |
IType type = s_extendedFormData.getType("SdkCommandUseNone"); |
| 347 |
assertTrue(TypeUtility.exists(type)); |
| 348 |
assertEquals("BaseFormData.SdkCommandUse", type.getSuperclassName()); |
| 349 |
assertValidationRules(type); |
| 350 |
} |
| 351 |
|
| 352 |
@Test |
| 353 |
@Generated("Replace Field Test Generator") |
| 354 |
public void testExtendedFormDataSdkCommandUseCreate() throws Exception { |
| 355 |
IType type = s_extendedFormData.getType("SdkCommandUseCreate"); |
| 356 |
assertTrue(TypeUtility.exists(type)); |
| 357 |
assertEquals("BaseFormData.SdkCommandUse", type.getSuperclassName()); |
| 358 |
assertValidationRules(type); |
| 359 |
} |
| 360 |
|
| 361 |
@Test |
| 362 |
@Generated("Replace Field Test Generator") |
| 363 |
public void testExtendedFormDataSdkCommandUseUse() throws Exception { |
| 364 |
IType type = s_extendedFormData.getType("SdkCommandUseUse"); |
| 365 |
assertTrue(TypeUtility.exists(type)); |
| 366 |
assertEquals("BaseFormData.SdkCommandUse", type.getSuperclassName()); |
| 367 |
assertValidationRules(type); |
| 368 |
} |
| 369 |
|
| 370 |
@Test |
| 371 |
@Generated("Replace Field Test Generator") |
| 372 |
public void testExtendedFormDataSdkCommandUseIgnore() throws Exception { |
| 373 |
IType type = s_extendedFormData.getType("SdkCommandUseIgnore"); |
| 374 |
assertTrue(TypeUtility.exists(type)); |
| 375 |
assertEquals("BaseFormData.SdkCommandUse", type.getSuperclassName()); |
| 376 |
assertValidationRules(type); |
| 377 |
} |
| 378 |
|
| 379 |
@Test |
| 380 |
@Generated("Replace Field Test Generator") |
| 381 |
public void testExtendedFormDataSdkCommandIgnoreNone() throws Exception { |
| 382 |
IType type = s_extendedFormData.getType("SdkCommandIgnoreNone"); |
| 383 |
assertFalse(TypeUtility.exists(type)); |
| 384 |
} |
| 385 |
|
| 386 |
@Test |
| 387 |
@Generated("Replace Field Test Generator") |
| 388 |
public void testExtendedFormDataSdkCommandIgnoreCreate() throws Exception { |
| 389 |
IType type = s_extendedFormData.getType("SdkCommandIgnoreCreate"); |
| 390 |
assertTrue(TypeUtility.exists(type)); |
| 391 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 392 |
assertValidationRules(type, |
| 393 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 394 |
} |
| 395 |
|
| 396 |
@Test |
| 397 |
@Generated("Replace Field Test Generator") |
| 398 |
public void testExtendedFormDataSdkCommandIgnoreUse() throws Exception { |
| 399 |
IType type = s_extendedFormData.getType("SdkCommandIgnoreUse"); |
| 400 |
assertTrue(TypeUtility.exists(type)); |
| 401 |
assertEquals("UsingFormFieldData", type.getSuperclassName()); |
| 402 |
assertValidationRules(type, |
| 403 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 404 |
} |
| 405 |
|
| 406 |
@Test |
| 407 |
@Generated("Replace Field Test Generator") |
| 408 |
public void testExtendedFormDataSdkCommandIgnoreIgnore() throws Exception { |
| 409 |
IType type = s_extendedFormData.getType("SdkCommandIgnoreIgnore"); |
| 410 |
assertFalse(TypeUtility.exists(type)); |
| 411 |
} |
| 412 |
|
| 413 |
/* ########################################################################## |
| 414 |
* ExtendedExtendedForm tests |
| 415 |
* ########################################################################## |
| 416 |
*/ |
| 417 |
@Test |
| 418 |
public void testExtendedExtendedFormNameExEx() throws Exception { |
| 419 |
IType type = s_extendedExtendedFormData.getType("NameExEx"); |
| 420 |
assertTrue(TypeUtility.exists(type)); |
| 421 |
assertEquals("ExtendedFormData.NameEx", type.getSuperclassName()); |
| 422 |
assertValidationRules(type, |
| 423 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 15);"); |
| 424 |
} |
| 425 |
|
| 426 |
@Test |
| 427 |
@Generated("Replace Field Test Generator") |
| 428 |
public void testExtendedExtendedFormDataSdkCommandNoneNoneNone() throws Exception { |
| 429 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneNoneNone"); |
| 430 |
assertTrue(TypeUtility.exists(type)); |
| 431 |
assertEquals("ExtendedFormData.SdkCommandNoneNone", type.getSuperclassName()); |
| 432 |
assertValidationRules(type); |
| 433 |
} |
| 434 |
|
| 435 |
@Test |
| 436 |
@Generated("Replace Field Test Generator") |
| 437 |
public void testExtendedExtendedFormDataSdkCommandNoneNoneCreate() throws Exception { |
| 438 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneNoneCreate"); |
| 439 |
assertTrue(TypeUtility.exists(type)); |
| 440 |
assertEquals("ExtendedFormData.SdkCommandNoneNone", type.getSuperclassName()); |
| 441 |
assertValidationRules(type); |
| 442 |
} |
| 443 |
|
| 444 |
@Test |
| 445 |
@Generated("Replace Field Test Generator") |
| 446 |
public void testExtendedExtendedFormDataSdkCommandNoneNoneUse() throws Exception { |
| 447 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneNoneUse"); |
| 448 |
assertTrue(TypeUtility.exists(type)); |
| 449 |
assertEquals("ExtendedFormData.SdkCommandNoneNone", type.getSuperclassName()); |
| 450 |
assertValidationRules(type); |
| 451 |
} |
| 452 |
|
| 453 |
@Test |
| 454 |
@Generated("Replace Field Test Generator") |
| 455 |
public void testExtendedExtendedFormDataSdkCommandNoneNoneIgnore() throws Exception { |
| 456 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneNoneIgnore"); |
| 457 |
assertTrue(TypeUtility.exists(type)); |
| 458 |
assertEquals("ExtendedFormData.SdkCommandNoneNone", type.getSuperclassName()); |
| 459 |
assertValidationRules(type); |
| 460 |
} |
| 461 |
|
| 462 |
@Test |
| 463 |
@Generated("Replace Field Test Generator") |
| 464 |
public void testExtendedExtendedFormDataSdkCommandNoneCreateNone() throws Exception { |
| 465 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneCreateNone"); |
| 466 |
assertTrue(TypeUtility.exists(type)); |
| 467 |
assertEquals("ExtendedFormData.SdkCommandNoneCreate", type.getSuperclassName()); |
| 468 |
assertValidationRules(type); |
| 469 |
} |
| 470 |
|
| 471 |
@Test |
| 472 |
@Generated("Replace Field Test Generator") |
| 473 |
public void testExtendedExtendedFormDataSdkCommandNoneCreateCreate() throws Exception { |
| 474 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneCreateCreate"); |
| 475 |
assertTrue(TypeUtility.exists(type)); |
| 476 |
assertEquals("ExtendedFormData.SdkCommandNoneCreate", type.getSuperclassName()); |
| 477 |
assertValidationRules(type); |
| 478 |
} |
| 479 |
|
| 480 |
@Test |
| 481 |
@Generated("Replace Field Test Generator") |
| 482 |
public void testExtendedExtendedFormDataSdkCommandNoneCreateUse() throws Exception { |
| 483 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneCreateUse"); |
| 484 |
assertTrue(TypeUtility.exists(type)); |
| 485 |
assertEquals("ExtendedFormData.SdkCommandNoneCreate", type.getSuperclassName()); |
| 486 |
assertValidationRules(type); |
| 487 |
} |
| 488 |
|
| 489 |
@Test |
| 490 |
@Generated("Replace Field Test Generator") |
| 491 |
public void testExtendedExtendedFormDataSdkCommandNoneCreateIgnore() throws Exception { |
| 492 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneCreateIgnore"); |
| 493 |
assertTrue(TypeUtility.exists(type)); |
| 494 |
assertEquals("ExtendedFormData.SdkCommandNoneCreate", type.getSuperclassName()); |
| 495 |
assertValidationRules(type); |
| 496 |
} |
| 497 |
|
| 498 |
@Test |
| 499 |
@Generated("Replace Field Test Generator") |
| 500 |
public void testExtendedExtendedFormDataSdkCommandNoneUseNone() throws Exception { |
| 501 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneUseNone"); |
| 502 |
assertTrue(TypeUtility.exists(type)); |
| 503 |
assertEquals("ExtendedFormData.SdkCommandNoneUse", type.getSuperclassName()); |
| 504 |
assertValidationRules(type); |
| 505 |
} |
| 506 |
|
| 507 |
@Test |
| 508 |
@Generated("Replace Field Test Generator") |
| 509 |
public void testExtendedExtendedFormDataSdkCommandNoneUseCreate() throws Exception { |
| 510 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneUseCreate"); |
| 511 |
assertTrue(TypeUtility.exists(type)); |
| 512 |
assertEquals("ExtendedFormData.SdkCommandNoneUse", type.getSuperclassName()); |
| 513 |
assertValidationRules(type); |
| 514 |
} |
| 515 |
|
| 516 |
@Test |
| 517 |
@Generated("Replace Field Test Generator") |
| 518 |
public void testExtendedExtendedFormDataSdkCommandNoneUseUse() throws Exception { |
| 519 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneUseUse"); |
| 520 |
assertTrue(TypeUtility.exists(type)); |
| 521 |
assertEquals("ExtendedFormData.SdkCommandNoneUse", type.getSuperclassName()); |
| 522 |
assertValidationRules(type); |
| 523 |
} |
| 524 |
|
| 525 |
@Test |
| 526 |
@Generated("Replace Field Test Generator") |
| 527 |
public void testExtendedExtendedFormDataSdkCommandNoneUseIgnore() throws Exception { |
| 528 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneUseIgnore"); |
| 529 |
assertTrue(TypeUtility.exists(type)); |
| 530 |
assertEquals("ExtendedFormData.SdkCommandNoneUse", type.getSuperclassName()); |
| 531 |
assertValidationRules(type); |
| 532 |
} |
| 533 |
|
| 534 |
@Test |
| 535 |
@Generated("Replace Field Test Generator") |
| 536 |
public void testExtendedExtendedFormDataSdkCommandNoneIgnoreNone() throws Exception { |
| 537 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneIgnoreNone"); |
| 538 |
assertTrue(TypeUtility.exists(type)); |
| 539 |
assertEquals("ExtendedFormData.SdkCommandNoneIgnore", type.getSuperclassName()); |
| 540 |
assertValidationRules(type); |
| 541 |
} |
| 542 |
|
| 543 |
@Test |
| 544 |
@Generated("Replace Field Test Generator") |
| 545 |
public void testExtendedExtendedFormDataSdkCommandNoneIgnoreCreate() throws Exception { |
| 546 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneIgnoreCreate"); |
| 547 |
assertTrue(TypeUtility.exists(type)); |
| 548 |
assertEquals("ExtendedFormData.SdkCommandNoneIgnore", type.getSuperclassName()); |
| 549 |
assertValidationRules(type); |
| 550 |
} |
| 551 |
|
| 552 |
@Test |
| 553 |
@Generated("Replace Field Test Generator") |
| 554 |
public void testExtendedExtendedFormDataSdkCommandNoneIgnoreUse() throws Exception { |
| 555 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneIgnoreUse"); |
| 556 |
assertTrue(TypeUtility.exists(type)); |
| 557 |
assertEquals("ExtendedFormData.SdkCommandNoneIgnore", type.getSuperclassName()); |
| 558 |
assertValidationRules(type); |
| 559 |
} |
| 560 |
|
| 561 |
@Test |
| 562 |
@Generated("Replace Field Test Generator") |
| 563 |
public void testExtendedExtendedFormDataSdkCommandNoneIgnoreIgnore() throws Exception { |
| 564 |
IType type = s_extendedExtendedFormData.getType("SdkCommandNoneIgnoreIgnore"); |
| 565 |
assertTrue(TypeUtility.exists(type)); |
| 566 |
assertEquals("ExtendedFormData.SdkCommandNoneIgnore", type.getSuperclassName()); |
| 567 |
assertValidationRules(type); |
| 568 |
} |
| 569 |
|
| 570 |
@Test |
| 571 |
@Generated("Replace Field Test Generator") |
| 572 |
public void testExtendedExtendedFormDataSdkCommandCreateNoneNone() throws Exception { |
| 573 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateNoneNone"); |
| 574 |
assertTrue(TypeUtility.exists(type)); |
| 575 |
assertEquals("ExtendedFormData.SdkCommandCreateNone", type.getSuperclassName()); |
| 576 |
assertValidationRules(type); |
| 577 |
} |
| 578 |
|
| 579 |
@Test |
| 580 |
@Generated("Replace Field Test Generator") |
| 581 |
public void testExtendedExtendedFormDataSdkCommandCreateNoneCreate() throws Exception { |
| 582 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateNoneCreate"); |
| 583 |
assertTrue(TypeUtility.exists(type)); |
| 584 |
assertEquals("ExtendedFormData.SdkCommandCreateNone", type.getSuperclassName()); |
| 585 |
assertValidationRules(type); |
| 586 |
} |
| 587 |
|
| 588 |
@Test |
| 589 |
@Generated("Replace Field Test Generator") |
| 590 |
public void testExtendedExtendedFormDataSdkCommandCreateNoneUse() throws Exception { |
| 591 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateNoneUse"); |
| 592 |
assertTrue(TypeUtility.exists(type)); |
| 593 |
assertEquals("ExtendedFormData.SdkCommandCreateNone", type.getSuperclassName()); |
| 594 |
assertValidationRules(type); |
| 595 |
} |
| 596 |
|
| 597 |
@Test |
| 598 |
@Generated("Replace Field Test Generator") |
| 599 |
public void testExtendedExtendedFormDataSdkCommandCreateNoneIgnore() throws Exception { |
| 600 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateNoneIgnore"); |
| 601 |
assertTrue(TypeUtility.exists(type)); |
| 602 |
assertEquals("ExtendedFormData.SdkCommandCreateNone", type.getSuperclassName()); |
| 603 |
assertValidationRules(type); |
| 604 |
} |
| 605 |
|
| 606 |
@Test |
| 607 |
@Generated("Replace Field Test Generator") |
| 608 |
public void testExtendedExtendedFormDataSdkCommandCreateCreateNone() throws Exception { |
| 609 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateCreateNone"); |
| 610 |
assertTrue(TypeUtility.exists(type)); |
| 611 |
assertEquals("ExtendedFormData.SdkCommandCreateCreate", type.getSuperclassName()); |
| 612 |
assertValidationRules(type); |
| 613 |
} |
| 614 |
|
| 615 |
@Test |
| 616 |
@Generated("Replace Field Test Generator") |
| 617 |
public void testExtendedExtendedFormDataSdkCommandCreateCreateCreate() throws Exception { |
| 618 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateCreateCreate"); |
| 619 |
assertTrue(TypeUtility.exists(type)); |
| 620 |
assertEquals("ExtendedFormData.SdkCommandCreateCreate", type.getSuperclassName()); |
| 621 |
assertValidationRules(type); |
| 622 |
} |
| 623 |
|
| 624 |
@Test |
| 625 |
@Generated("Replace Field Test Generator") |
| 626 |
public void testExtendedExtendedFormDataSdkCommandCreateCreateUse() throws Exception { |
| 627 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateCreateUse"); |
| 628 |
assertTrue(TypeUtility.exists(type)); |
| 629 |
assertEquals("ExtendedFormData.SdkCommandCreateCreate", type.getSuperclassName()); |
| 630 |
assertValidationRules(type); |
| 631 |
} |
| 632 |
|
| 633 |
@Test |
| 634 |
@Generated("Replace Field Test Generator") |
| 635 |
public void testExtendedExtendedFormDataSdkCommandCreateCreateIgnore() throws Exception { |
| 636 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateCreateIgnore"); |
| 637 |
assertTrue(TypeUtility.exists(type)); |
| 638 |
assertEquals("ExtendedFormData.SdkCommandCreateCreate", type.getSuperclassName()); |
| 639 |
assertValidationRules(type); |
| 640 |
} |
| 641 |
|
| 642 |
@Test |
| 643 |
@Generated("Replace Field Test Generator") |
| 644 |
public void testExtendedExtendedFormDataSdkCommandCreateUseNone() throws Exception { |
| 645 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateUseNone"); |
| 646 |
assertTrue(TypeUtility.exists(type)); |
| 647 |
assertEquals("ExtendedFormData.SdkCommandCreateUse", type.getSuperclassName()); |
| 648 |
assertValidationRules(type); |
| 649 |
} |
| 650 |
|
| 651 |
@Test |
| 652 |
@Generated("Replace Field Test Generator") |
| 653 |
public void testExtendedExtendedFormDataSdkCommandCreateUseCreate() throws Exception { |
| 654 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateUseCreate"); |
| 655 |
assertTrue(TypeUtility.exists(type)); |
| 656 |
assertEquals("ExtendedFormData.SdkCommandCreateUse", type.getSuperclassName()); |
| 657 |
assertValidationRules(type); |
| 658 |
} |
| 659 |
|
| 660 |
@Test |
| 661 |
@Generated("Replace Field Test Generator") |
| 662 |
public void testExtendedExtendedFormDataSdkCommandCreateUseUse() throws Exception { |
| 663 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateUseUse"); |
| 664 |
assertTrue(TypeUtility.exists(type)); |
| 665 |
assertEquals("ExtendedFormData.SdkCommandCreateUse", type.getSuperclassName()); |
| 666 |
assertValidationRules(type); |
| 667 |
} |
| 668 |
|
| 669 |
@Test |
| 670 |
@Generated("Replace Field Test Generator") |
| 671 |
public void testExtendedExtendedFormDataSdkCommandCreateUseIgnore() throws Exception { |
| 672 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateUseIgnore"); |
| 673 |
assertTrue(TypeUtility.exists(type)); |
| 674 |
assertEquals("ExtendedFormData.SdkCommandCreateUse", type.getSuperclassName()); |
| 675 |
assertValidationRules(type); |
| 676 |
} |
| 677 |
|
| 678 |
@Test |
| 679 |
@Generated("Replace Field Test Generator") |
| 680 |
public void testExtendedExtendedFormDataSdkCommandCreateIgnoreNone() throws Exception { |
| 681 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateIgnoreNone"); |
| 682 |
assertTrue(TypeUtility.exists(type)); |
| 683 |
assertEquals("ExtendedFormData.SdkCommandCreateIgnore", type.getSuperclassName()); |
| 684 |
assertValidationRules(type); |
| 685 |
} |
| 686 |
|
| 687 |
@Test |
| 688 |
@Generated("Replace Field Test Generator") |
| 689 |
public void testExtendedExtendedFormDataSdkCommandCreateIgnoreCreate() throws Exception { |
| 690 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateIgnoreCreate"); |
| 691 |
assertTrue(TypeUtility.exists(type)); |
| 692 |
assertEquals("ExtendedFormData.SdkCommandCreateIgnore", type.getSuperclassName()); |
| 693 |
assertValidationRules(type); |
| 694 |
} |
| 695 |
|
| 696 |
@Test |
| 697 |
@Generated("Replace Field Test Generator") |
| 698 |
public void testExtendedExtendedFormDataSdkCommandCreateIgnoreUse() throws Exception { |
| 699 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateIgnoreUse"); |
| 700 |
assertTrue(TypeUtility.exists(type)); |
| 701 |
assertEquals("ExtendedFormData.SdkCommandCreateIgnore", type.getSuperclassName()); |
| 702 |
assertValidationRules(type); |
| 703 |
} |
| 704 |
|
| 705 |
@Test |
| 706 |
@Generated("Replace Field Test Generator") |
| 707 |
public void testExtendedExtendedFormDataSdkCommandCreateIgnoreIgnore() throws Exception { |
| 708 |
IType type = s_extendedExtendedFormData.getType("SdkCommandCreateIgnoreIgnore"); |
| 709 |
assertTrue(TypeUtility.exists(type)); |
| 710 |
assertEquals("ExtendedFormData.SdkCommandCreateIgnore", type.getSuperclassName()); |
| 711 |
assertValidationRules(type); |
| 712 |
} |
| 713 |
|
| 714 |
@Test |
| 715 |
@Generated("Replace Field Test Generator") |
| 716 |
public void testExtendedExtendedFormDataSdkCommandUseNoneNone() throws Exception { |
| 717 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseNoneNone"); |
| 718 |
assertTrue(TypeUtility.exists(type)); |
| 719 |
assertEquals("ExtendedFormData.SdkCommandUseNone", type.getSuperclassName()); |
| 720 |
assertValidationRules(type); |
| 721 |
} |
| 722 |
|
| 723 |
@Test |
| 724 |
@Generated("Replace Field Test Generator") |
| 725 |
public void testExtendedExtendedFormDataSdkCommandUseNoneCreate() throws Exception { |
| 726 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseNoneCreate"); |
| 727 |
assertTrue(TypeUtility.exists(type)); |
| 728 |
assertEquals("ExtendedFormData.SdkCommandUseNone", type.getSuperclassName()); |
| 729 |
assertValidationRules(type); |
| 730 |
} |
| 731 |
|
| 732 |
@Test |
| 733 |
@Generated("Replace Field Test Generator") |
| 734 |
public void testExtendedExtendedFormDataSdkCommandUseNoneUse() throws Exception { |
| 735 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseNoneUse"); |
| 736 |
assertTrue(TypeUtility.exists(type)); |
| 737 |
assertEquals("ExtendedFormData.SdkCommandUseNone", type.getSuperclassName()); |
| 738 |
assertValidationRules(type); |
| 739 |
} |
| 740 |
|
| 741 |
@Test |
| 742 |
@Generated("Replace Field Test Generator") |
| 743 |
public void testExtendedExtendedFormDataSdkCommandUseNoneIgnore() throws Exception { |
| 744 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseNoneIgnore"); |
| 745 |
assertTrue(TypeUtility.exists(type)); |
| 746 |
assertEquals("ExtendedFormData.SdkCommandUseNone", type.getSuperclassName()); |
| 747 |
assertValidationRules(type); |
| 748 |
} |
| 749 |
|
| 750 |
@Test |
| 751 |
@Generated("Replace Field Test Generator") |
| 752 |
public void testExtendedExtendedFormDataSdkCommandUseCreateNone() throws Exception { |
| 753 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseCreateNone"); |
| 754 |
assertTrue(TypeUtility.exists(type)); |
| 755 |
assertEquals("ExtendedFormData.SdkCommandUseCreate", type.getSuperclassName()); |
| 756 |
assertValidationRules(type); |
| 757 |
} |
| 758 |
|
| 759 |
@Test |
| 760 |
@Generated("Replace Field Test Generator") |
| 761 |
public void testExtendedExtendedFormDataSdkCommandUseCreateCreate() throws Exception { |
| 762 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseCreateCreate"); |
| 763 |
assertTrue(TypeUtility.exists(type)); |
| 764 |
assertEquals("ExtendedFormData.SdkCommandUseCreate", type.getSuperclassName()); |
| 765 |
assertValidationRules(type); |
| 766 |
} |
| 767 |
|
| 768 |
@Test |
| 769 |
@Generated("Replace Field Test Generator") |
| 770 |
public void testExtendedExtendedFormDataSdkCommandUseCreateUse() throws Exception { |
| 771 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseCreateUse"); |
| 772 |
assertTrue(TypeUtility.exists(type)); |
| 773 |
assertEquals("ExtendedFormData.SdkCommandUseCreate", type.getSuperclassName()); |
| 774 |
assertValidationRules(type); |
| 775 |
} |
| 776 |
|
| 777 |
@Test |
| 778 |
@Generated("Replace Field Test Generator") |
| 779 |
public void testExtendedExtendedFormDataSdkCommandUseCreateIgnore() throws Exception { |
| 780 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseCreateIgnore"); |
| 781 |
assertTrue(TypeUtility.exists(type)); |
| 782 |
assertEquals("ExtendedFormData.SdkCommandUseCreate", type.getSuperclassName()); |
| 783 |
assertValidationRules(type); |
| 784 |
} |
| 785 |
|
| 786 |
@Test |
| 787 |
@Generated("Replace Field Test Generator") |
| 788 |
public void testExtendedExtendedFormDataSdkCommandUseUseNone() throws Exception { |
| 789 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseUseNone"); |
| 790 |
assertTrue(TypeUtility.exists(type)); |
| 791 |
assertEquals("ExtendedFormData.SdkCommandUseUse", type.getSuperclassName()); |
| 792 |
assertValidationRules(type); |
| 793 |
} |
| 794 |
|
| 795 |
@Test |
| 796 |
@Generated("Replace Field Test Generator") |
| 797 |
public void testExtendedExtendedFormDataSdkCommandUseUseCreate() throws Exception { |
| 798 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseUseCreate"); |
| 799 |
assertTrue(TypeUtility.exists(type)); |
| 800 |
assertEquals("ExtendedFormData.SdkCommandUseUse", type.getSuperclassName()); |
| 801 |
assertValidationRules(type); |
| 802 |
} |
| 803 |
|
| 804 |
@Test |
| 805 |
@Generated("Replace Field Test Generator") |
| 806 |
public void testExtendedExtendedFormDataSdkCommandUseUseUse() throws Exception { |
| 807 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseUseUse"); |
| 808 |
assertTrue(TypeUtility.exists(type)); |
| 809 |
assertEquals("ExtendedFormData.SdkCommandUseUse", type.getSuperclassName()); |
| 810 |
assertValidationRules(type); |
| 811 |
} |
| 812 |
|
| 813 |
@Test |
| 814 |
@Generated("Replace Field Test Generator") |
| 815 |
public void testExtendedExtendedFormDataSdkCommandUseUseIgnore() throws Exception { |
| 816 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseUseIgnore"); |
| 817 |
assertTrue(TypeUtility.exists(type)); |
| 818 |
assertEquals("ExtendedFormData.SdkCommandUseUse", type.getSuperclassName()); |
| 819 |
assertValidationRules(type); |
| 820 |
} |
| 821 |
|
| 822 |
@Test |
| 823 |
@Generated("Replace Field Test Generator") |
| 824 |
public void testExtendedExtendedFormDataSdkCommandUseIgnoreNone() throws Exception { |
| 825 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseIgnoreNone"); |
| 826 |
assertTrue(TypeUtility.exists(type)); |
| 827 |
assertEquals("ExtendedFormData.SdkCommandUseIgnore", type.getSuperclassName()); |
| 828 |
assertValidationRules(type); |
| 829 |
} |
| 830 |
|
| 831 |
@Test |
| 832 |
@Generated("Replace Field Test Generator") |
| 833 |
public void testExtendedExtendedFormDataSdkCommandUseIgnoreCreate() throws Exception { |
| 834 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseIgnoreCreate"); |
| 835 |
assertTrue(TypeUtility.exists(type)); |
| 836 |
assertEquals("ExtendedFormData.SdkCommandUseIgnore", type.getSuperclassName()); |
| 837 |
assertValidationRules(type); |
| 838 |
} |
| 839 |
|
| 840 |
@Test |
| 841 |
@Generated("Replace Field Test Generator") |
| 842 |
public void testExtendedExtendedFormDataSdkCommandUseIgnoreUse() throws Exception { |
| 843 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseIgnoreUse"); |
| 844 |
assertTrue(TypeUtility.exists(type)); |
| 845 |
assertEquals("ExtendedFormData.SdkCommandUseIgnore", type.getSuperclassName()); |
| 846 |
assertValidationRules(type); |
| 847 |
} |
| 848 |
|
| 849 |
@Test |
| 850 |
@Generated("Replace Field Test Generator") |
| 851 |
public void testExtendedExtendedFormDataSdkCommandUseIgnoreIgnore() throws Exception { |
| 852 |
IType type = s_extendedExtendedFormData.getType("SdkCommandUseIgnoreIgnore"); |
| 853 |
assertTrue(TypeUtility.exists(type)); |
| 854 |
assertEquals("ExtendedFormData.SdkCommandUseIgnore", type.getSuperclassName()); |
| 855 |
assertValidationRules(type); |
| 856 |
} |
| 857 |
|
| 858 |
@Test |
| 859 |
@Generated("Replace Field Test Generator") |
| 860 |
public void testExtendedExtendedFormDataSdkCommandIgnoreNoneNone() throws Exception { |
| 861 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreNoneNone"); |
| 862 |
assertFalse(TypeUtility.exists(type)); |
| 863 |
} |
| 864 |
|
| 865 |
@Test |
| 866 |
@Generated("Replace Field Test Generator") |
| 867 |
public void testExtendedExtendedFormDataSdkCommandIgnoreNoneCreate() throws Exception { |
| 868 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreNoneCreate"); |
| 869 |
assertTrue(TypeUtility.exists(type)); |
| 870 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 871 |
assertValidationRules(type, |
| 872 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 873 |
} |
| 874 |
|
| 875 |
@Test |
| 876 |
@Generated("Replace Field Test Generator") |
| 877 |
public void testExtendedExtendedFormDataSdkCommandIgnoreNoneUse() throws Exception { |
| 878 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreNoneUse"); |
| 879 |
assertTrue(TypeUtility.exists(type)); |
| 880 |
assertEquals("UsingFormFieldData", type.getSuperclassName()); |
| 881 |
assertValidationRules(type, |
| 882 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 883 |
} |
| 884 |
|
| 885 |
@Test |
| 886 |
@Generated("Replace Field Test Generator") |
| 887 |
public void testExtendedExtendedFormDataSdkCommandIgnoreNoneIgnore() throws Exception { |
| 888 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreNoneIgnore"); |
| 889 |
assertFalse(TypeUtility.exists(type)); |
| 890 |
} |
| 891 |
|
| 892 |
@Test |
| 893 |
@Generated("Replace Field Test Generator") |
| 894 |
public void testExtendedExtendedFormDataSdkCommandIgnoreCreateNone() throws Exception { |
| 895 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreCreateNone"); |
| 896 |
assertTrue(TypeUtility.exists(type)); |
| 897 |
assertEquals("ExtendedFormData.SdkCommandIgnoreCreate", type.getSuperclassName()); |
| 898 |
assertValidationRules(type); |
| 899 |
} |
| 900 |
|
| 901 |
@Test |
| 902 |
@Generated("Replace Field Test Generator") |
| 903 |
public void testExtendedExtendedFormDataSdkCommandIgnoreCreateCreate() throws Exception { |
| 904 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreCreateCreate"); |
| 905 |
assertTrue(TypeUtility.exists(type)); |
| 906 |
assertEquals("ExtendedFormData.SdkCommandIgnoreCreate", type.getSuperclassName()); |
| 907 |
assertValidationRules(type); |
| 908 |
} |
| 909 |
|
| 910 |
@Test |
| 911 |
@Generated("Replace Field Test Generator") |
| 912 |
public void testExtendedExtendedFormDataSdkCommandIgnoreCreateUse() throws Exception { |
| 913 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreCreateUse"); |
| 914 |
assertTrue(TypeUtility.exists(type)); |
| 915 |
assertEquals("ExtendedFormData.SdkCommandIgnoreCreate", type.getSuperclassName()); |
| 916 |
assertValidationRules(type); |
| 917 |
} |
| 918 |
|
| 919 |
@Test |
| 920 |
@Generated("Replace Field Test Generator") |
| 921 |
public void testExtendedExtendedFormDataSdkCommandIgnoreCreateIgnore() throws Exception { |
| 922 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreCreateIgnore"); |
| 923 |
assertTrue(TypeUtility.exists(type)); |
| 924 |
assertEquals("ExtendedFormData.SdkCommandIgnoreCreate", type.getSuperclassName()); |
| 925 |
assertValidationRules(type); |
| 926 |
} |
| 927 |
|
| 928 |
@Test |
| 929 |
@Generated("Replace Field Test Generator") |
| 930 |
public void testExtendedExtendedFormDataSdkCommandIgnoreUseNone() throws Exception { |
| 931 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreUseNone"); |
| 932 |
assertTrue(TypeUtility.exists(type)); |
| 933 |
assertEquals("ExtendedFormData.SdkCommandIgnoreUse", type.getSuperclassName()); |
| 934 |
assertValidationRules(type); |
| 935 |
} |
| 936 |
|
| 937 |
@Test |
| 938 |
@Generated("Replace Field Test Generator") |
| 939 |
public void testExtendedExtendedFormDataSdkCommandIgnoreUseCreate() throws Exception { |
| 940 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreUseCreate"); |
| 941 |
assertTrue(TypeUtility.exists(type)); |
| 942 |
assertEquals("ExtendedFormData.SdkCommandIgnoreUse", type.getSuperclassName()); |
| 943 |
assertValidationRules(type); |
| 944 |
} |
| 945 |
|
| 946 |
@Test |
| 947 |
@Generated("Replace Field Test Generator") |
| 948 |
public void testExtendedExtendedFormDataSdkCommandIgnoreUseUse() throws Exception { |
| 949 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreUseUse"); |
| 950 |
assertTrue(TypeUtility.exists(type)); |
| 951 |
assertEquals("ExtendedFormData.SdkCommandIgnoreUse", type.getSuperclassName()); |
| 952 |
assertValidationRules(type); |
| 953 |
} |
| 954 |
|
| 955 |
@Test |
| 956 |
@Generated("Replace Field Test Generator") |
| 957 |
public void testExtendedExtendedFormDataSdkCommandIgnoreUseIgnore() throws Exception { |
| 958 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreUseIgnore"); |
| 959 |
assertTrue(TypeUtility.exists(type)); |
| 960 |
assertEquals("ExtendedFormData.SdkCommandIgnoreUse", type.getSuperclassName()); |
| 961 |
assertValidationRules(type); |
| 962 |
} |
| 963 |
|
| 964 |
@Test |
| 965 |
@Generated("Replace Field Test Generator") |
| 966 |
public void testExtendedExtendedFormDataSdkCommandIgnoreIgnoreNone() throws Exception { |
| 967 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreIgnoreNone"); |
| 968 |
assertFalse(TypeUtility.exists(type)); |
| 969 |
} |
| 970 |
|
| 971 |
@Test |
| 972 |
@Generated("Replace Field Test Generator") |
| 973 |
public void testExtendedExtendedFormDataSdkCommandIgnoreIgnoreCreate() throws Exception { |
| 974 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreIgnoreCreate"); |
| 975 |
assertTrue(TypeUtility.exists(type)); |
| 976 |
assertEquals("AbstractValueFieldData<String>", type.getSuperclassName()); |
| 977 |
assertValidationRules(type, |
| 978 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 979 |
} |
| 980 |
|
| 981 |
@Test |
| 982 |
@Generated("Replace Field Test Generator") |
| 983 |
public void testExtendedExtendedFormDataSdkCommandIgnoreIgnoreUse() throws Exception { |
| 984 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreIgnoreUse"); |
| 985 |
assertTrue(TypeUtility.exists(type)); |
| 986 |
assertEquals("UsingFormFieldData", type.getSuperclassName()); |
| 987 |
assertValidationRules(type, |
| 988 |
"ruleMap.put(ValidationRule.MAX_LENGTH, 4000);"); |
| 989 |
} |
| 990 |
|
| 991 |
@Test |
| 992 |
@Generated("Replace Field Test Generator") |
| 993 |
public void testExtendedExtendedFormDataSdkCommandIgnoreIgnoreIgnore() throws Exception { |
| 994 |
IType type = s_extendedExtendedFormData.getType("SdkCommandIgnoreIgnoreIgnore"); |
| 995 |
assertFalse(TypeUtility.exists(type)); |
| 996 |
} |
| 997 |
|
| 998 |
} |