Changeset 52 in josm for test


Ignore:
Timestamp:
2006-02-14T00:52:11+01:00 (19 years ago)
Author:
imi
Message:
  • fixed data merge (sometime set modified unnecessary)
  • fixed rounding (now compare with epsilon instead of round everything)
  • Fix: upload does not clear all changes if only some thing got uploaded
Location:
test/org/openstreetmap/josm/test
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • test/org/openstreetmap/josm/test/framework/DataSetTestCaseHelper.java

    r49 r52  
    4343         * Create a line segment with out of the given nodes.
    4444         */
    45         private static LineSegment createLineSegment(DataSet ds, Node n1, Node n2) {
     45        public static LineSegment createLineSegment(DataSet ds, Node n1, Node n2) {
    4646                LineSegment ls = new LineSegment(n1, n2);
    4747                ds.lineSegments.add(ls);
     
    5252         * Add a random node.
    5353         */
    54         private static Node createNode(DataSet ds) {
     54        public static Node createNode(DataSet ds) {
    5555                Node node = new Node();
    5656                node.coor = new GeoPoint(Math.random(), Math.random());
Note: See TracChangeset for help on using the changeset viewer.