mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/advanced/configuration/TestConfigPageDisplayHelperImpl.java
@SuppressWarnings({"unchecked"})
    private void addConfigToMap() throws SecurityException, NoSuchFieldException, IllegalArgumentException, 
        IllegalAccessException
    {
        Field map = m_SUT.getClass().getDeclaredField("m_ConfigPanelCollapsedStatus");
        map.setAccessible(true);
        Map<Integer, Map<String, PanelCollapsedStatus>> statusMap = 
                (Map<Integer, Map<String, PanelCollapsedStatus>>)map.get(m_SUT);
        
        PanelCollapsedStatus status = m_SUT.new PanelCollapsedStatus();
        status.setCollapsed(false);
        Map<String, PanelCollapsedStatus> pidMap = new HashMap<String, PanelCollapsedStatus>();
        pidMap.put("config PID", status);
        pidMap.put("factory PID", m_SUT.new PanelCollapsedStatus());
        pidMap.put("factory config PID", m_SUT.new PanelCollapsedStatus());
        statusMap.put(CONTROLLERID, pidMap);
    }
/**
     * Method that adds values to the map that stores panel statuses.
     */
Method that adds values to the map that stores panel statuses.
Method that adds values to the map that stores panel statuses .
@SuppressWarnings({"unchecked"})
    private void addConfigToMap() throws SecurityException, NoSuchFieldException, IllegalArgumentException, 
        IllegalAccessException
    {
        Field map = m_SUT.getClass().getDeclaredField("m_ConfigPanelCollapsedStatus");
        map.setAccessible(true);
        Map<Integer, Map<String, PanelCollapsedStatus>> statusMap = 
                (Map<Integer, Map<String, PanelCollapsedStatus>>)map.get(m_SUT);
        PanelCollapsedStatus status = m_SUT.new PanelCollapsedStatus();
        status.setCollapsed(false);
        Map<String, PanelCollapsedStatus> pidMap = new HashMap<String, PanelCollapsedStatus>();
        pidMap.put("config PID", status);
        pidMap.put("factory PID", m_SUT.new PanelCollapsedStatus());
        pidMap.put("factory config PID", m_SUT.new PanelCollapsedStatus());
        statusMap.put(CONTROLLERID, pidMap);
    }
@ SuppressWarnings ( { "unchecked" } ) private void addConfigToMap ( ) throws SecurityException , NoSuchFieldException , IllegalArgumentException , IllegalAccessException { Field map = m_SUT . getClass ( ) . getDeclaredField ( "m_ConfigPanelCollapsedStatus" ) ; map . setAccessible ( true ) ; Map < Integer , Map < String , PanelCollapsedStatus > > statusMap = ( Map < Integer , Map < String , PanelCollapsedStatus > > ) map . get ( m_SUT ) ; PanelCollapsedStatus status = m_SUT . new PanelCollapsedStatus ( ) ; status . setCollapsed ( false ) ; Map < String , PanelCollapsedStatus > pidMap = new HashMap < String , PanelCollapsedStatus > ( ) ; pidMap . put ( "config PID" , status ) ; pidMap . put ( "factory PID" , m_SUT . new PanelCollapsedStatus ( ) ) ; pidMap . put ( "factory config PID" , m_SUT . new PanelCollapsedStatus ( ) ) ; statusMap . put ( CONTROLLERID , pidMap ) ; }
Method that adds values to the map that stores panel statuses.
Method that adds values to the map that stores panel statuses .