| 程序包 | 说明 |
|---|---|
| com.github.developframework.mock.random |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
BooleanRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Boolean value) |
String |
AddressRandomGenerator.forString(MockPlaceholder mockPlaceholder,
com.github.developframework.regiondata.County value) |
String |
TimeRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Date value) |
String |
DateTimeRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Date value) |
String |
DateRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Date value) |
String |
IdentityCardRandomGenerator.forString(MockPlaceholder mockPlaceholder,
IdentityCardRandomGenerator.IdentityCard value) |
String |
NumberRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Number value) |
String |
QuoteRandomGenerator.forString(MockPlaceholder mockPlaceholder,
Object value) |
String |
StringRandomGenerator.forString(MockPlaceholder mockPlaceholder,
String value) |
String |
PersonNameRandomGenerator.forString(MockPlaceholder mockPlaceholder,
String value) |
String |
MobileRandomGenerator.forString(MockPlaceholder mockPlaceholder,
String value) |
String |
IPRandomGenerator.forString(MockPlaceholder mockPlaceholder,
String value) |
String |
EnumRandomGenerator.forString(MockPlaceholder mockPlaceholder,
String value) |
String |
RandomGenerator.forString(MockPlaceholder mockPlaceholder,
T value)
描述随机值如何转换到字符串
|
Date |
TimeRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
String |
StringRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache cache) |
T |
RandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache)
描述如何生成随机值
|
Object |
QuoteRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
String |
PersonNameRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache cache) |
Number |
NumberRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache cache) |
String |
MobileRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
String |
IPRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
IdentityCardRandomGenerator.IdentityCard |
IdentityCardRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
String |
EnumRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
Date |
DateTimeRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache cache) |
Boolean |
BooleanRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache cache) |
com.github.developframework.regiondata.County |
AddressRandomGenerator.randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache) |
Copyright © 2018. All rights reserved.