Logo Search packages:      
Sourcecode: josm-plugins version File versions  Download package

org::openstreetmap::josm::plugins::validator::Test Class Reference

Inheritance diagram for org::openstreetmap::josm::plugins::validator::Test:

org::openstreetmap::josm::plugins::validator::tests::Coastlines org::openstreetmap::josm::plugins::validator::tests::CrossingWays org::openstreetmap::josm::plugins::validator::tests::DuplicateNode org::openstreetmap::josm::plugins::validator::tests::OverlappingWays org::openstreetmap::josm::plugins::validator::tests::SelfIntersectingWay org::openstreetmap::josm::plugins::validator::tests::SimilarNamedWays org::openstreetmap::josm::plugins::validator::tests::SpellCheck org::openstreetmap::josm::plugins::validator::tests::UntaggedNode org::openstreetmap::josm::plugins::validator::tests::UntaggedWay org::openstreetmap::josm::plugins::validator::tests::WronglyOrderedWays

List of all members.


Detailed Description

Parent class for all validation tests.

A test is a primitive visitor, so that it can access to all data to be validated. These primitives are always visited in the same order: nodes first, then ways.

Author:
frsantos

Definition at line 26 of file Test.java.


Public Member Functions

void addGui (@SuppressWarnings("unused") JPanel testPanel)
void endTest ()
Command fixError (@SuppressWarnings("unused") TestError testError)
List< TestErrorgetErrors ()
boolean isFixable (@SuppressWarnings("unused") TestError testError)
void ok ()
void setBeforeUpload (boolean isUpload)
void setPartialSelection (boolean partialSelection)
void startTest ()
 Test (String name)
 Test (String name, String description)
boolean testBeforeUpload ()
void visit (Relation r)
void visit (Way w)
void visit (Node n)
void visit (Collection< OsmPrimitive > selection)

Static Public Member Functions

static void initialize (@SuppressWarnings("unused") OSMValidatorPlugin plugin) throws Exception

Protected Attributes

JCheckBox checkBeforeUpload
JCheckBox checkEnabled
String description
boolean enabled = true
List< TestErrorerrors = new ArrayList<TestError>(30)
boolean isBeforeUpload
String name
boolean partialSelection
boolean testBeforeUpload = true

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index