Package org.apache.provisionr.core.logging

Examples of org.apache.provisionr.core.logging.StreamLogger.join()


                lines.add(line);
            }
        };
        logger.start();

        logger.join();
        assertThat(lines).contains("line1", "line2", "line3");
    }

}
View Full Code Here


                    }
                };
                logger.start();

                command.join();
                logger.join();

                assertThat(lines).hasSize(2).contains("line1", "line2");

            } finally {
                session.close();
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.