com.buglabs.nmea.tests
Class TestNMEAFactory

java.lang.Object
  extended by TestCase
      extended by com.buglabs.nmea.tests.TestNMEAFactory

public class TestNMEAFactory
extends TestCase

Tests NMEASentenceFactory Requires external file with NMEA sentences to be copied to /tmp/sample.txt


Field Summary
static java.lang.String GPGLL
           
static java.lang.String GPGSA
           
static java.lang.String GPVTG
           
static java.lang.String GPZDA
           
 
Constructor Summary
TestNMEAFactory()
           
 
Method Summary
 void testParseGGASentence()
           
 void testParseGSV_1()
           
 void testParseGSV_3()
           
 void testParseRMC()
           
 void testParseRMCWithMagVar()
           
 void testSampleMessages()
           
 void testTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GPVTG

public static final java.lang.String GPVTG
See Also:
Constant Field Values

GPZDA

public static final java.lang.String GPZDA
See Also:
Constant Field Values

GPGLL

public static final java.lang.String GPGLL
See Also:
Constant Field Values

GPGSA

public static final java.lang.String GPGSA
See Also:
Constant Field Values
Constructor Detail

TestNMEAFactory

public TestNMEAFactory()
Method Detail

testParseRMC

public void testParseRMC()

testParseRMCWithMagVar

public void testParseRMCWithMagVar()

testParseGSV_3

public void testParseGSV_3()

testParseGSV_1

public void testParseGSV_1()

testTime

public void testTime()

testParseGGASentence

public void testParseGGASentence()

testSampleMessages

public void testSampleMessages()
                        throws java.io.IOException
Throws:
java.io.IOException