org.eclipse.modisco.infra.browser.custom.tests
Class BrowserCustomTest

java.lang.Object
  extended by org.eclipse.modisco.infra.browser.custom.tests.BrowserCustomTest

public class BrowserCustomTest
extends java.lang.Object


Field Summary
static java.lang.String FILE_EXT
           
 
Constructor Summary
BrowserCustomTest()
           
 
Method Summary
 void bug306724()
          Bug 306724 - deleting a project containing a query set does not remove the query set from its catalog
 void bug307187()
          Bug 307187 - AbstractMoDiscoCatalog and name conflicts : If two customizations have the same name, only one will be registered in the catalog and the user will never be informed about this problem.
 void bug309657()
          Bug 309657 - Moving facet or query models generates wrong problem messages
 void bug336502()
          Bug 336502 - Browser customization: "is Visible" and "collapse link" attributes are not taken into account for a Facet
 void bug341222()
          Bug 341222 - customization on feature defined in another metamodel
 void checkDisplay()
          Check that the class Display can be used.
 void modiscoProtocol()
           
 void test001()
          Check that a query referenced by a customization is the same physical object as a query with the same name from the catalog.
 void testBug299277()
           
 void testBug304018()
          Bug 304018 - Customization of inherited properties displayed in the browser
 void testUICustom()
          Basic test for uiCustom
 void testUICustomWithCondition()
          Test uiCustom condition (with query)
 void testWorkspaceCustomizationHidesRegistryCustomization()
          Test that a customization in the workspace takes precedence over a customization with the same name from the registry.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_EXT

public static final java.lang.String FILE_EXT
Constructor Detail

BrowserCustomTest

public BrowserCustomTest()
Method Detail

testUICustom

public void testUICustom()
                  throws java.lang.Exception
Basic test for uiCustom

Throws:
java.lang.Exception

testUICustomWithCondition

public void testUICustomWithCondition()
                               throws java.lang.Exception
Test uiCustom condition (with query)

Throws:
java.lang.Exception

checkDisplay

public void checkDisplay()
Check that the class Display can be used.


testWorkspaceCustomizationHidesRegistryCustomization

public void testWorkspaceCustomizationHidesRegistryCustomization()
                                                          throws java.lang.Exception
Test that a customization in the workspace takes precedence over a customization with the same name from the registry.

Throws:
java.lang.Exception

testBug304018

public void testBug304018()
Bug 304018 - Customization of inherited properties displayed in the browser

Test that an attribute or reference can be customized on a subtype.

The customization defines that NamedElement#name is underlined, and EClass#name is not.


testBug299277

public void testBug299277()
                   throws CoreException,
                          java.io.IOException,
                          java.lang.InterruptedException,
                          ModelQueryException
Throws:
CoreException
java.io.IOException
java.lang.InterruptedException
ModelQueryException

test001

public void test001()
             throws CoreException,
                    java.io.IOException,
                    java.lang.InterruptedException
Check that a query referenced by a customization is the same physical object as a query with the same name from the catalog.

Throws:
CoreException
java.io.IOException
java.lang.InterruptedException

bug309657

public void bug309657()
               throws java.lang.Exception
Bug 309657 - Moving facet or query models generates wrong problem messages

Throws:
java.lang.Exception

modiscoProtocol

public void modiscoProtocol()

bug306724

public void bug306724()
               throws java.lang.Exception
Bug 306724 - deleting a project containing a query set does not remove the query set from its catalog

Throws:
java.lang.Exception

bug307187

public void bug307187()
               throws java.lang.Exception
Bug 307187 - AbstractMoDiscoCatalog and name conflicts : If two customizations have the same name, only one will be registered in the catalog and the user will never be informed about this problem.

Throws:
java.lang.Exception

bug336502

public void bug336502()
               throws java.lang.Exception
Bug 336502 - Browser customization: "is Visible" and "collapse link" attributes are not taken into account for a Facet

Throws:
java.lang.Exception

bug341222

public void bug341222()
               throws java.lang.Exception
Bug 341222 - customization on feature defined in another metamodel

Throws:
java.lang.Exception