diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2011-09-19 16:57:53 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2011-09-19 16:57:53 +0200 |
| commit | 035e145e4cfea3434481d9182843efec6ce258d5 (patch) | |
| tree | 355386e4ecb57b93cc6c9f7d7b778533954660bb /main/src/cgeo/geocaching/files/GPX10Parser.java | |
| parent | 418a3902ef9c3b6a51a78fe9c024d4ad2ab07f4f (diff) | |
| download | cgeo-035e145e4cfea3434481d9182843efec6ce258d5.zip cgeo-035e145e4cfea3434481d9182843efec6ce258d5.tar.gz cgeo-035e145e4cfea3434481d9182843efec6ce258d5.tar.bz2 | |
* have static dictionaries in cgBase initialized in static section
(necessary for some unit tests)
* have singleton of application instance, allows removing all the "app"
fields everywhere afterwards
* refactor GPX parser to be independent of c:geo application classes, so
it can be tested much easier
* new unit tests for different GPX versions and sources
* new unit tests for LOC file parsing
Diffstat (limited to 'main/src/cgeo/geocaching/files/GPX10Parser.java')
| -rw-r--r-- | main/src/cgeo/geocaching/files/GPX10Parser.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/main/src/cgeo/geocaching/files/GPX10Parser.java b/main/src/cgeo/geocaching/files/GPX10Parser.java index c3b95b2..85884de 100644 --- a/main/src/cgeo/geocaching/files/GPX10Parser.java +++ b/main/src/cgeo/geocaching/files/GPX10Parser.java @@ -1,15 +1,11 @@ package cgeo.geocaching.files; -import cgeo.geocaching.cgSearch; -import cgeo.geocaching.cgeoapplication; - import android.sax.Element; public final class GPX10Parser extends GPXParser { - public GPX10Parser(cgeoapplication appIn, int listIdIn, - cgSearch searchIn) { - super(appIn, listIdIn, searchIn, "http://www.topografix.com/GPX/1/0", "1.0"); + public GPX10Parser(int listIdIn) { + super(listIdIn, "http://www.topografix.com/GPX/1/0", "1.0"); } @Override |
