コード例 #1
0
  @Test(
      groups = {"alfresco-one", "TestBug"},
      priority = 11)
  public void test111ContentEditInfoForFile() throws Exception {
    // Get File
    FileDirectoryInfo thisRow = getFile();

    // Get ContentEditInfo
    Assert.assertNotNull(thisRow.getContentEditInfo());
    Assert.assertTrue(thisRow.getContentEditInfo().contains("Created"));
  }
コード例 #2
0
  @Test(
      groups = {"alfresco-one"},
      priority = 4)
  public void test104ContentEditInfoForFolder() throws Exception {
    // Get folder
    FileDirectoryInfo thisRow = documentLibPage.getFileDirectoryInfo(folderName);

    // Get ContentEditInfo
    Assert.assertNotNull(thisRow.getContentEditInfo());
    Assert.assertTrue(thisRow.getContentEditInfo().contains("Created"));
  }