Package com.asakusafw.compiler.testing

Examples of com.asakusafw.compiler.testing.TemporaryOutputDescription


        source.write(value);
    }

    private List<Ex1> getList(Class<? extends TemporaryOutputDescription> exporter) {
        try {
            TemporaryOutputDescription instance = exporter.newInstance();
            return tester.getList(
                    Ex1.class,
                    Location.fromPath(instance.getPathPrefix(), '/'),
                    new Comparator<Ex1>() {
                        @Override
                        public int compare(Ex1 o1, Ex1 o2) {
                            return o1.getSidOption().compareTo(o2.getSidOption());
                        }
View Full Code Here


    }

    private Location seqfile(Export exporter) {
        ExporterDescription desc = exporter.getDescription().getExporterDescription();
        assertThat(desc, instanceOf(TemporaryOutputDescription.class));
        TemporaryOutputDescription d = (TemporaryOutputDescription) desc;
        return Location.fromPath(d.getPathPrefix(), '/');
    }
View Full Code Here

        source.write(value);
    }

    private List<Ex1> getList(Class<? extends TemporaryOutputDescription> exporter) {
        try {
            TemporaryOutputDescription instance = exporter.newInstance();
            return tester.getList(
                    Ex1.class,
                    Location.fromPath(instance.getPathPrefix(), '/'),
                    new Comparator<Ex1>() {
                        @Override
                        public int compare(Ex1 o1, Ex1 o2) {
                            return o1.getSidOption().compareTo(o2.getSidOption());
                        }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.testing.TemporaryOutputDescription

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.