com.atlassian.confluence.selenium
Class MacroBrowserTest

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.MacroBrowserTest
All Implemented Interfaces:
junit.framework.Test

public class MacroBrowserTest
extends AbstractSeleniumTest

Macro Browser tests for both the RichText and Markup editors.

See Also:
MarkupMacroBrowserTest, TinyMceMacroBrowserTest

Field Summary
 
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
MacroBrowserTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAliasedMacro()
           
 void testBrowsing()
           
 void testEditAliasedMacro()
           
 void testEditMacro()
           
 void testEditMacroWithMultipleMacros()
           
 void testEditMacroWithUnknownParameter()
           
 void testEditMacroWithUnnamedParameter()
           
 void testEnterSavesDialog()
           
 void testEscapeClosesDialog()
           
 void testFreeformMacro()
           
 void testInsertMacroWithParams()
           
 void testInsertMacroWithSelectedBody()
           
 void testMacroParameterDefaultIsBlank()
           
 void testMacroParameterDescription()
           
 void testParameterValueWithEquals()
           
 void testPreview()
           
 void testPreviewWithRequiredParams()
           
 void testShortcutKey()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest
 
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
 

Constructor Detail

MacroBrowserTest

public MacroBrowserTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractSeleniumTest
Throws:
java.lang.Exception

testBrowsing

public void testBrowsing()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testShortcutKey

public void testShortcutKey()

testEscapeClosesDialog

public void testEscapeClosesDialog()

testEnterSavesDialog

public void testEnterSavesDialog()

testEditMacro

public void testEditMacro()

testEditMacroWithMultipleMacros

public void testEditMacroWithMultipleMacros()

testEditMacroWithUnnamedParameter

public void testEditMacroWithUnnamedParameter()

testParameterValueWithEquals

public void testParameterValueWithEquals()

testEditMacroWithUnknownParameter

public void testEditMacroWithUnknownParameter()

testFreeformMacro

public void testFreeformMacro()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testInsertMacroWithParams

public void testInsertMacroWithParams()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testInsertMacroWithSelectedBody

public void testInsertMacroWithSelectedBody()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testPreview

public void testPreview()

testPreviewWithRequiredParams

public void testPreviewWithRequiredParams()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testAliasedMacro

public void testAliasedMacro()

testMacroParameterDescription

public void testMacroParameterDescription()

testEditAliasedMacro

public void testEditAliasedMacro()

testMacroParameterDefaultIsBlank

public void testMacroParameterDefaultIsBlank()


Copyright © 2003-2010 Atlassian. All Rights Reserved.