Package slash.navigation.itn

Examples of slash.navigation.itn.TomTom8RouteFormat


    @SuppressWarnings("UnusedDeclaration")
    public TomTomRoute asTomTom8RouteFormat() {
        if (getFormat() instanceof TomTom8RouteFormat)
            return (TomTomRoute) this;
        return asTomTomRouteFormat(new TomTom8RouteFormat());
    }
View Full Code Here


        convertRoundtrip(TEST_PATH + "from-columbusv900-professional.csv", new ColumbusV900ProfessionalFormat(), new NmeaFormat());
    }

    @Test
    public void testConvertColumbusV900ToTomTomRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from-columbusv900-professional.csv", new ColumbusV900ProfessionalFormat(), new TomTom8RouteFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-gopal.trk", new GoPalTrackFormat(), new NmeaFormat());
    }

    @Test
    public void testConvertGoPalTrackToTomTomRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from-gopal.trk", new GoPalTrackFormat(), new TomTom8RouteFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-gpstuner.trk", new GpsTunerFormat(), new Gpx11Format());
    }

    @Test
    public void testConvertGpsTunerToTomTomRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from-gpstuner.trk", new GpsTunerFormat(), new TomTom8RouteFormat());
    }
View Full Code Here

    }

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

        convertRoundtrip(TEST_PATH + "from.nmea", new NmeaFormat(), new Gpx11Format());
    }

    @Test
    public void testConvertNmeaToTomTomRoute() throws IOException {
        convertRoundtrip(TEST_PATH + "from.nmea", new NmeaFormat(), new TomTom8RouteFormat());
    }
View Full Code Here

    @Test
    public void testReadWithFormatList() throws IOException {
        List<NavigationFormat> formats = new ArrayList<NavigationFormat>();
        ParserResult result1 = parser.read(new File(TEST_PATH + "from.itn"), formats);
        assertFalse(result1.isSuccessful());
        formats.add(new TomTom8RouteFormat());
        ParserResult result2 = parser.read(new File(TEST_PATH + "from.itn"), formats);
        assertFalse(result2.isSuccessful());
        formats.add(new TomTom5RouteFormat());
        ParserResult result3 = parser.read(new File(TEST_PATH + "from.itn"), formats);
        assertTrue(result3.isSuccessful());
View Full Code Here

        }
    }

    @Test
    public void testConvertLargeTomTomRouteToSeveralTomTomRoutes() throws IOException {
        convertSplitRoundtrip(TEST_PATH + "large.itn", new TomTom5RouteFormat(), new TomTom8RouteFormat());
    }
View Full Code Here

        convertSplitRoundtrip(TEST_PATH + "large.itn", new TomTom5RouteFormat(), new MTP0607Format());
    }

    @Test
    public void testConvertLargeMTP0607ToSeveralTomTomRoutes() throws IOException {
        convertSplitRoundtrip(TEST_PATH + "large.bcr", new MTP0607Format(), new TomTom8RouteFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-mtp0607.bcr", new MTP0607Format(), new TomTom5RouteFormat());
    }

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

TOP

Related Classes of slash.navigation.itn.TomTom8RouteFormat

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.