org.placelab.test
Class AffineTransformTest
java.lang.Object
org.placelab.test.AffineTransformTest
- All Implemented Interfaces:
- Testable, TestableBase
- public class AffineTransformTest
- extends java.lang.Object
- implements Testable
|
Field Summary |
protected static org.eclipse.swt.graphics.Rectangle |
unit
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unit
protected static org.eclipse.swt.graphics.Rectangle unit
AffineTransformTest
public AffineTransformTest()
getName
public java.lang.String getName()
- Specified by:
getName in interface TestableBase
runTests
public void runTests(TestResult result)
throws java.lang.Throwable
- Specified by:
runTests in interface Testable
- Throws:
java.lang.Throwable
rotateAndScale
public void rotateAndScale(TestResult result)
rotate
public void rotate(TestResult result)
translate
public void translate(TestResult result)
inverse
public void inverse(TestResult result)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
scale
public void scale(TestResult result)
flip
public void flip(TestResult result)
verifyBounds
public void verifyBounds(TestResult result,
AffineTransform transform,
org.eclipse.swt.graphics.Rectangle original,
org.eclipse.swt.graphics.Rectangle expected,
java.lang.String msg)