Пример #1
0
 /** Tests the Apply Request Values Phase */
 public void testApplyRequestValues() {
   CorePanelRadio component = new CorePanelRadio();
   doTestApplyRequestValues(component);
   component = new CorePanelRadio();
   component.setRendered(false);
   doTestApplyRequestValues(component);
 }
Пример #2
0
 /** Tests the Initial values for the component attributes. */
 public void testInitialAttributeValues() {
   CorePanelRadio component = new CorePanelRadio();
   assertEquals(true, component.isRendered());
   assertNull(component.getLabel());
   assertEquals("start", component.getPosition());
   assertEquals("center", component.getAlignment());
 }
Пример #3
0
 /** Tests the values set for the component attributes. */
 public void testgetAttributeValues() {
   CorePanelRadio component = new CorePanelRadio();
   assertEquals("org.apache.myfaces.trinidad.ShowOne", component.getFamily());
 }