com.atlassian.confluence.selenium
Class AuthorFilteringOnSearchTest

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

public class AuthorFilteringOnSearchTest
extends AbstractSeleniumTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
AuthorFilteringOnSearchTest(String name)
           
 
Method Summary
protected  void createTestData(ConfluenceRpc adminRpc)
          Subclasses can override this method to make changes to the server state with admin privileges.
protected  void setUp()
           
 void testAuthorErrorWhenUserNotFound()
           
 void testAuthorFilterIsPreservedWhenSearchQueryIsChanged()
           
 void testAutocompleteDisappearsWhenTextFieldIsCleared()
           
 void testAutocompletePopupsAfterTwoLetters()
           
 void testForNoResults()
           
 void testRefiningAutocompleteSearchUsingAdditionalTokens()
           
 void testSearchIsFilteredToSpecifiedContributor()
           
 void testSearchQueryStringIsPreservedWhenSiteSearchIsFiltered()
           
 void testUserWithApostrophe()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, runTest, setAjsLogRendered, setAjsLogVisible, tearDown
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorFilteringOnSearchTest

public AuthorFilteringOnSearchTest(String name)
Method Detail

setUp

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

createTestData

protected void createTestData(ConfluenceRpc adminRpc)
Description copied from class: AbstractSeleniumTest
Subclasses can override this method to make changes to the server state with admin privileges.

Overrides:
createTestData in class AbstractSeleniumTest
Parameters:
adminRpc - rpc client with Admin user currently logged in

testSearchIsFilteredToSpecifiedContributor

public void testSearchIsFilteredToSpecifiedContributor()

testUserWithApostrophe

public void testUserWithApostrophe()

testAutocompletePopupsAfterTwoLetters

public void testAutocompletePopupsAfterTwoLetters()

testRefiningAutocompleteSearchUsingAdditionalTokens

public void testRefiningAutocompleteSearchUsingAdditionalTokens()

testAutocompleteDisappearsWhenTextFieldIsCleared

public void testAutocompleteDisappearsWhenTextFieldIsCleared()

testForNoResults

public void testForNoResults()

testSearchQueryStringIsPreservedWhenSiteSearchIsFiltered

public void testSearchQueryStringIsPreservedWhenSiteSearchIsFiltered()

testAuthorFilterIsPreservedWhenSearchQueryIsChanged

public void testAuthorFilterIsPreservedWhenSearchQueryIsChanged()

testAuthorErrorWhenUserNotFound

public void testAuthorErrorWhenUserNotFound()


Copyright © 2003-2013 Atlassian. All Rights Reserved.