Examples of Tcx2Format


Examples of slash.navigation.tcx.Tcx2Format

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

Examples of slash.navigation.tcx.Tcx2Format

    @Test
    public void testReadExistingFormatBug() throws IOException {
        NavigationFormat first = new Gpx11Format();
        NavigationFormat second = new Kml22Format();
        NavigationFormat third = new Tcx2Format();
        recentFormatsModel.addFormat(first);
        recentFormatsModel.addFormat(second);
        recentFormatsModel.addFormat(first);
        recentFormatsModel.addFormat(third);
        assertEquals(asList(third, first, second), recentFormatsModel.getFormats());
View Full Code Here

Examples of slash.navigation.tcx.Tcx2Format

        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

Examples of slash.navigation.tcx.Tcx2Format

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

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

Examples of slash.navigation.tcx.Tcx2Format

        convertRoundtrip(TEST_PATH + "from11trk.gpx", new Gpx11Format(), new Tcx1Format());
    }

    @Test
    public void testConvertGpx11ToTrainingCenter2Route() throws IOException {
        convertRoundtrip(TEST_PATH + "from11.gpx", new Gpx11Format(), new Tcx2Format());
        convertRoundtrip(TEST_PATH + "from11trk.gpx", new Gpx11Format(), new Tcx2Format());
    }
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.