@Test
@Parameters({
"label",
"description",
"baseOutputFilename",
"source",
"repositoryDestination",
"outputFormats",
"trigger",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = JobFormEntity.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
java类com.google.gson.annotations.Expose的实例源码
JobUnitFormTest.java 文件源码
项目:js-android-sdk
阅读 20
收藏 0
点赞 0
评论 0
ErrorDescriptorTest.java 文件源码
项目:js-android-sdk
阅读 21
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"errorCode",
"message",
"parameters",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ErrorDescriptor.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
OutputResourceDescriptorTest.java 文件源码
项目:js-android-sdk
阅读 20
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"contentType",
"fileName",
"outputFinal",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = OutputResourceDescriptor.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
ReportExecutionDescriptorTest.java 文件源码
项目:js-android-sdk
阅读 23
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"reportURI",
"executionId",
"status",
"currentPage",
"totalPages",
"exports",
"errorDescriptor",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ReportExecutionDescriptor.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
AttachmentDescriptorTest.java 文件源码
项目:js-android-sdk
阅读 24
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"contentType",
"fileName",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = AttachmentDescriptor.class.getDeclaredField(fieldName);
MatcherAssert.assertThat(field, hasAnnotation(Expose.class));
}
ExportDescriptorTest.java 文件源码
项目:js-android-sdk
阅读 21
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"id",
"status",
"outputResource",
"attachments",
"errorDescriptor",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ExportDescriptor.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
ExecutionStatusTest.java 文件源码
项目:js-android-sdk
阅读 23
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"value",
"errorDescriptor",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ExecutionStatus.class.getDeclaredField(fieldName);
MatcherAssert.assertThat(field, hasAnnotation(Expose.class));
}
ReportExecutionSearchResponseTest.java 文件源码
项目:js-android-sdk
阅读 21
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"items",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ReportExecutionSearchResponse.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
EncryptionKeyTest.java 文件源码
项目:js-android-sdk
阅读 20
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"error",
"exponent",
"maxdigits",
"modulus",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = EncryptionKey.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}
ServerInfoDataTest.java 文件源码
项目:js-android-sdk
阅读 23
收藏 0
点赞 0
评论 0
@Test
@Parameters({
"dateFormatPattern",
"datetimeFormatPattern",
"version",
"edition",
"licenseType",
"build",
"editionName",
"features",
})
public void shouldHaveExposeAnnotationForField(String fieldName) throws NoSuchFieldException {
Field field = ServerInfoData.class.getDeclaredField(fieldName);
assertThat(field, hasAnnotation(Expose.class));
}