@DisplayName(value="Content batch import") @ExtendWith(value=org.springframework.test.context.junit.jupiter.SpringExtension.class) @ContextConfiguration(classes=ApplicationConfig.class) class ContentBatchImportTest extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private CmsContentAttributeService |
contentAttributeService |
private CmsContentFileService |
contentFileService |
private CmsContentService |
contentService |
protected static org.apache.commons.logging.Log |
log |
构造器和说明 |
---|
ContentBatchImportTest() |
限定符和类型 | 方法和说明 |
---|---|
private static java.lang.String |
getCellValue(org.apache.poi.ss.usermodel.Cell cell)
获取表格单元格Cell内容
|
static java.lang.String |
getUrl(java.lang.String url) |
static void |
init() |
(专用程序包) void |
insertTest() |
static void |
main(java.lang.String[] args) |
protected static final org.apache.commons.logging.Log log
private CmsContentService contentService
private CmsContentAttributeService contentAttributeService
private CmsContentFileService contentFileService
@BeforeAll public static void init()
@Test @DisplayName(value="insert test case") void insertTest()
public static java.lang.String getUrl(java.lang.String url)
public static void main(java.lang.String[] args)
private static java.lang.String getCellValue(org.apache.poi.ss.usermodel.Cell cell)