Package org.jnode.driver.block.floppy

Examples of org.jnode.driver.block.floppy.FloppyDriveParameters


            public void init(Mock mockFDC) {
                Integer nbStubFloppy = new Integer(1);
                mockFDC.expects(testCase.once()).method("getDriveCount").withNoArguments().
                    will(new ReturnStub(nbStubFloppy));

                FloppyDriveParameters drvParams = createFloppyDriveParameters();
                mockFDC.expects(testCase.atLeastOnce()).method("getDriveParams").withAnyArguments().
                    will(new ReturnStub(drvParams));

                Boolean diskChanged = Boolean.FALSE;
                mockFDC.expects(testCase.atLeastOnce()).method("diskChanged").withAnyArguments().
View Full Code Here


        FloppyParameters[] fp = {
            //new FloppyParameters(new Geometry(16, 16, 16),  0,  0, 0, "16x16x16")
            new FloppyParameters(new Geometry(2, 2, 2), 0, 0, 0, "2x2x2")
        };

        return new FloppyDriveParameters(cmosType, 0, 0, 0, 0, "StubFloppyParam", fp);
    }
View Full Code Here

TOP

Related Classes of org.jnode.driver.block.floppy.FloppyDriveParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.