Package org.apache.poi.util

Examples of org.apache.poi.util.DummyPOILogger.reset()


            {
                data[ j ] = ( byte ) j;
            }
            RawDataBlock block = null;
           
            logger.reset();
            assertEquals(0, logger.logged.size());
           
            // Have it created
            block = new RawDataBlock(new ByteArrayInputStream(data));
            assertNotNull(block);
View Full Code Here


            byte[] data = new byte[ 511 ];
            for (int j = 0; j < data.length; j++) {
                data[j] = (byte) j;
            }
           
            logger.reset();
            assertEquals(0, logger.logged.size());
           
            // Should complain, as there isn't enough data
            RawDataBlock block =
              new RawDataBlock(new SlowInputStream(data, k));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.