mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/CapabilitiesFakeObjects.java
public ControllerCapabilities genControllerCapabilities()
    {
        ControllerCapabilities cc = new ControllerCapabilities();
        genBaseCaps(cc);
        cc.withBatteryAmpHourReported(false).
            withCpuSpeed(1.20F).
            withLowPowerModeSupported(true).
            withMaxVoltage(new VoltageVolts().withValue(0.10F)).
            withMinVoltage(new VoltageVolts().withValue(.01F)).
            withNominalVoltage(new VoltageVolts().withValue(.08F)).
            withOperatingSystemsSupported(OperatingSystemTypeEnum.WIN_7).
            withBatteryAmpHourReported(false).
            withPhysicalLink(new HashSet<PhysicalLink>()).
            withPhysicalStorageSize(2).
            withSystemMemory(4).
            withVoltageReported(false);
        
        return cc;
    }
/**
     * Generate a fake ControllerCapabilities object.
     * @return the capabilities object
     */
Generate a fake ControllerCapabilities object.
@return the capabilities object
Generate a fake ControllerCapabilities object . @return the capabilities object
public ControllerCapabilities genControllerCapabilities()
    {
        ControllerCapabilities cc = new ControllerCapabilities();
        genBaseCaps(cc);
        cc.withBatteryAmpHourReported(false).
            withCpuSpeed(1.20F).
            withLowPowerModeSupported(true).
            withMaxVoltage(new VoltageVolts().withValue(0.10F)).
            withMinVoltage(new VoltageVolts().withValue(.01F)).
            withNominalVoltage(new VoltageVolts().withValue(.08F)).
            withOperatingSystemsSupported(OperatingSystemTypeEnum.WIN_7).
            withBatteryAmpHourReported(false).
            withPhysicalLink(new HashSet<PhysicalLink>()).
            withPhysicalStorageSize(2).
            withSystemMemory(4).
            withVoltageReported(false);
        return cc;
    }
public ControllerCapabilities genControllerCapabilities ( ) { ControllerCapabilities cc = new ControllerCapabilities ( ) ; genBaseCaps ( cc ) ; cc . withBatteryAmpHourReported ( false ) . withCpuSpeed ( 1.20F ) . withLowPowerModeSupported ( true ) . withMaxVoltage ( new VoltageVolts ( ) . withValue ( 0.10F ) ) . withMinVoltage ( new VoltageVolts ( ) . withValue ( .01F ) ) . withNominalVoltage ( new VoltageVolts ( ) . withValue ( .08F ) ) . withOperatingSystemsSupported ( OperatingSystemTypeEnum . WIN_7 ) . withBatteryAmpHourReported ( false ) . withPhysicalLink ( new HashSet < PhysicalLink > ( ) ) . withPhysicalStorageSize ( 2 ) . withSystemMemory ( 4 ) . withVoltageReported ( false ) ; return cc ; }
Generate a fake ControllerCapabilities object.
Generate a fake ControllerCapabilities object .