com.atlassian.confluence.selenium
Class CreatePageFromTemplateTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
              extended by com.atlassian.confluence.selenium.CreatePageFromTemplateTest
All Implemented Interfaces:
junit.framework.Test

public class CreatePageFromTemplateTest
extends AbstractSeleniumTest


Field Summary
static String DUPLICATE_TEMPLATE_TEXT
           
static String PAGE_TITLE
           
static String TEMPLATE_DESCRIPTION
           
static String TEMPLATE_NAME
           
static String TEMPLATE_TEXT
           
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe
 
Constructor Summary
CreatePageFromTemplateTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testPageCreationFromTemplate()
           
 void testTemplateNotAllowedWithDuplicatePageName()
           
 void testTemplateWithDuplicateFields()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEMPLATE_NAME

public static final String TEMPLATE_NAME
See Also:
Constant Field Values

TEMPLATE_DESCRIPTION

public static final String TEMPLATE_DESCRIPTION
See Also:
Constant Field Values

TEMPLATE_TEXT

public static final String TEMPLATE_TEXT
See Also:
Constant Field Values

DUPLICATE_TEMPLATE_TEXT

public static final String DUPLICATE_TEMPLATE_TEXT
See Also:
Constant Field Values

PAGE_TITLE

public static final String PAGE_TITLE
See Also:
Constant Field Values
Constructor Detail

CreatePageFromTemplateTest

public CreatePageFromTemplateTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class AbstractSeleniumTest
Throws:
Exception

testPageCreationFromTemplate

public void testPageCreationFromTemplate()
                                  throws Exception
Throws:
Exception

testTemplateNotAllowedWithDuplicatePageName

public void testTemplateNotAllowedWithDuplicatePageName()

testTemplateWithDuplicateFields

public void testTemplateWithDuplicateFields()
                                     throws Exception
Throws:
Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.