- Timestamp:
- 05/10/18 16:04:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/org/expeditee/gui/AttributeValuePairTest.java
r310 r1102 1 1 package org.expeditee.gui; 2 3 import java.awt.Color;4 2 5 3 import junit.framework.TestCase; 6 4 5 import org.expeditee.core.Colour; 7 6 import org.expeditee.items.Text; 8 7 … … 35 34 attributes.setText("c:red"); 36 35 assertTrue(AttributeUtils.setAttribute(attributes, attributes)); 37 assertEquals(Colo r.red, attributes.getColor());36 assertEquals(Colour.RED, attributes.getColor()); 38 37 attributes.setText("color:green"); 39 38 assertTrue(AttributeUtils.setAttribute(attributes, attributes)); 40 assertEquals(Colo r.green, attributes.getColor());39 assertEquals(Colour.GREEN, attributes.getColor()); 41 40 } 42 41
Note:
See TracChangeset
for help on using the changeset viewer.