com.buglabs.nmea.tests
Class TestNMEAFactory
java.lang.Object
TestCase
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TestNMEAFactory
public TestNMEAFactory()
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