Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/org/expeditee/gui/AttributeValuePairTest.java

    r310 r1102  
    11package org.expeditee.gui;
    2 
    3 import java.awt.Color;
    42
    53import junit.framework.TestCase;
    64
     5import org.expeditee.core.Colour;
    76import org.expeditee.items.Text;
    87
     
    3534                attributes.setText("c:red");
    3635                assertTrue(AttributeUtils.setAttribute(attributes, attributes));
    37                 assertEquals(Color.red, attributes.getColor());
     36                assertEquals(Colour.RED, attributes.getColor());
    3837                attributes.setText("color:green");
    3938                assertTrue(AttributeUtils.setAttribute(attributes, attributes));
    40                 assertEquals(Color.green, attributes.getColor());
     39                assertEquals(Colour.GREEN, attributes.getColor());
    4140        }
    4241
Note: See TracChangeset for help on using the changeset viewer.