mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsMgrImpl.java
private Event mockDeleteEventBadBaseType(final int systemId)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_NAME, "name");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_UUID, uuid1.toString());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_TYPE, TransportLayer.class.getName());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_PID, pid1);
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, "fooType");
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, systemId);
        return new Event(FactoryDescriptor.TOPIC_FACTORY_OBJ_DELETED + RemoteConstants.REMOTE_TOPIC_SUFFIX, props);
    }
/**
     * Event used to test that the program will not crash as a result of a bad basetype
     */
Event used to test that the program will not crash as a result of a bad basetype
Event used to test that the program will not crash as a result of a bad basetype
private Event mockDeleteEventBadBaseType(final int systemId)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_NAME, "name");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_UUID, uuid1.toString());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_TYPE, TransportLayer.class.getName());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_PID, pid1);
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, "fooType");
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, systemId);
        return new Event(FactoryDescriptor.TOPIC_FACTORY_OBJ_DELETED + RemoteConstants.REMOTE_TOPIC_SUFFIX, props);
    }
private Event mockDeleteEventBadBaseType ( final int systemId ) { final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_NAME , "name" ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_UUID , uuid1 . toString ( ) ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_TYPE , TransportLayer . class . getName ( ) ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_PID , pid1 ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , "fooType" ) ; props . put ( RemoteConstants . REMOTE_EVENT_PROP_CONTROLLER_ID , systemId ) ; return new Event ( FactoryDescriptor . TOPIC_FACTORY_OBJ_DELETED + RemoteConstants . REMOTE_TOPIC_SUFFIX , props ) ; }
Event used to test that the program will not crash as a result of a bad basetype
Event used to test that the program will not crash as a result of a bad basetype