Test suite: Operations on XML Layer
Purpose:
Setup: Create new module. Modify its layer.xml by adding e.g.new window component (use new file wizard). All actions are invoked subnodes of layer.xml node. This node is found under
project node | important files | XML layer | <this layer> As a subnode you can use e.g.
Menu node.
- Open Layer Files Action
- Invoke Open layer file(s).
- EXPECTED RESULT: layer.xml file is opened in editor. You should see registration of e.g. menu action etc.
- Pick Icon Action
- invoke Pick Icon..
- browse for some icon
- close the dialog
- EXPECTED RESULT: Icon is registered in layer.xml file. Expand and collapse node (you invoked action on) and you should see the icon.
- Localize Name Action
- Invoke Localize name..
- Type some name
- EXPECTED RESULT: Check if layer.xml contains reference to Bundle and Bundle contains localized name. Name of node where you invoked the action should change.