public class

TestUpdateSpacesInChangeIndexListener

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.search.listeners.TestUpdateSpacesInChangeIndexListener

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestUpdateSpacesInChangeIndexListener()
Public Methods
void testMovedPageIsReindexed()
When a page is moved, all versions of that page in the change index will have incorrect space key.
[Expand]
Inherited Methods
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestUpdateSpacesInChangeIndexListener ()

Public Methods

public void testMovedPageIsReindexed ()

When a page is moved, all versions of that page in the change index will have incorrect space key. We need to rebuild all versions of this page in the index to have the correct space information.