Package slash.navigation.tcx

Examples of slash.navigation.tcx.Tcx1Format


    @SuppressWarnings("UnusedDeclaration")
    public TcxRoute asTcx1Format() {
        if (getFormat() instanceof Tcx1Format)
            return (TcxRoute) this;
        return asTcxFormat(new Tcx1Format());
    }
View Full Code Here


        convertRoundtrip(TEST_PATH + "from.tef", new TourExchangeFormat(), new TourFormat());
    }

    @Test
    public void testConvertTrainingCenterRouteToTrainingCenterRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from1.crs", new Tcx1Format(), new Tcx2Format());
        convertRoundtrip(TEST_PATH + "from2.tcx", new Tcx2Format(), new Tcx1Format());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from2.tcx", new Tcx2Format(), new Tcx1Format());
    }

    @Test
    public void testConvertGpx10ToTrainingCenter1Route() throws IOException {
        convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new Tcx1Format());
        convertRoundtrip(TEST_PATH + "from10trk.gpx", new Gpx10Format(), new Tcx1Format());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from10trk.gpx", new Gpx10Format(), new Tcx2Format());
    }

    @Test
    public void testConvertGpx11ToTrainingCenter1Route() throws IOException {
        convertRoundtrip(TEST_PATH + "from11.gpx", new Gpx11Format(), new Tcx1Format());
        convertRoundtrip(TEST_PATH + "from11trk.gpx", new Gpx11Format(), new Tcx1Format());
    }
View Full Code Here

TOP

Related Classes of slash.navigation.tcx.Tcx1Format

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.