public class

TestUpdateLabelsInChangeIndexListener

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

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestUpdateLabelsInChangeIndexListener()
Public Methods
void testLabelledContentIsReindexed()
Since label information is duplicated across all versions of a piece of content in the change index (to allow even changes to be filtered by label), we hence need to update all versions when a update happens.
[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 TestUpdateLabelsInChangeIndexListener ()

Public Methods

public void testLabelledContentIsReindexed ()

Since label information is duplicated across all versions of a piece of content in the change index (to allow even changes to be filtered by label), we hence need to update all versions when a update happens.