Package com.tagtraum.perf.gcviewer.exp.impl

Examples of com.tagtraum.perf.gcviewer.exp.impl.SimpleGcWriter


   
    @Test
    public void exportLocaleDe() throws Exception {
        Locale.setDefault(new Locale("de", "ch"));
        try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
                SimpleGcWriter writer = new SimpleGcWriter(outputStream)) {
           
            writer.write(gcModel);
           
            String[] lines = outputStream.toString().split(System.getProperty("line.separator"));
            assertEquals("line count", 2, lines.length);
           
            String[] firstLine = lines[0].split(" ");
View Full Code Here


    @Test
    public void exportLocaleSv() throws Exception {
        Locale.setDefault(new Locale("sv", "se"));
        try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
                SimpleGcWriter writer = new SimpleGcWriter(outputStream)) {
       
            writer.write(gcModel);
           
            String[] lines = outputStream.toString().split(System.getProperty("line.separator"));
            assertEquals("line count", 2, lines.length);
           
            String[] firstLine = lines[0].split(" ");
View Full Code Here

TOP

Related Classes of com.tagtraum.perf.gcviewer.exp.impl.SimpleGcWriter

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.