Uses of Class
org.fest.assertions.data.Offset

Packages that use Offset
org.fest.assertions.api   
org.fest.assertions.core   
org.fest.assertions.data   
org.fest.assertions.error   
org.fest.assertions.internal   
 

Uses of Offset in org.fest.assertions.api
 

Methods in org.fest.assertions.api that return Offset
static Offset<Double> Assertions.offset(Double value)
          Only delegate to offset(Double) so that Assertions offers a full feature entry point to all Fest Assert features (but you can use Offset if you prefer).
static Offset<Float> Assertions.offset(Float value)
          Only delegate to offset(Float) so that Assertions offers a full feature entry point to all Fest Assert features (but you can use Offset if you prefer).
 

Methods in org.fest.assertions.api with parameters of type Offset
 ImageAssert ImageAssert.isEqualTo(BufferedImage expected, Offset<Integer> offset)
          Verifies that the actual image is equal to the given one.
 DoubleAssert DoubleAssert.isEqualTo(double expected, Offset<Double> offset)
          Verifies that the actual value is equal to the given one, within a positive offset.
 DoubleAssert DoubleAssert.isEqualTo(Double expected, Offset<Double> offset)
          Verifies that the actual value is equal to the given one, within a positive offset.
 FloatAssert FloatAssert.isEqualTo(float expected, Offset<Float> offset)
          Verifies that the actual value is equal to the given one, within a positive offset.
 FloatAssert FloatAssert.isEqualTo(Float expected, Offset<Float> offset)
          Verifies that the actual value is equal to the given one, within a positive offset.
 

Uses of Offset in org.fest.assertions.core
 

Methods in org.fest.assertions.core with parameters of type Offset
 FloatingPointNumberAssert<T> FloatingPointNumberAssert.isEqualTo(T expected, Offset<T> offset)
          Verifies that the actual value is equal to the given one, within a positive offset.
 

Uses of Offset in org.fest.assertions.data
 

Methods in org.fest.assertions.data that return Offset
static Offset<Double> Offset.offset(Double value)
          Creates a new double Offset.
static Offset<Float> Offset.offset(Float value)
          Creates a new float Offset.
static Offset<Integer> Offset.offset(Integer value)
          Creates a new integer Offset.
 

Methods in org.fest.assertions.data with parameters of type Offset
 boolean RgbColor.isEqualTo(RgbColor color, Offset<Integer> offset)
          Indicates whether the given RgbColor is equal to this one.
 

Uses of Offset in org.fest.assertions.error
 

Methods in org.fest.assertions.error with parameters of type Offset
static
<T extends Number>
ErrorMessageFactory
ShouldBeEqualWithinOffset.shouldBeEqual(T actual, T expected, Offset<T> offset)
          Creates a new ShouldBeEqualWithinOffset.
static
<T extends Number>
ErrorMessageFactory
ShouldBeEqualWithinOffset.shouldBeEqual(T actual, T expected, Offset<T> offset, org.fest.util.ComparisonStrategy comparisonStrategy)
          Creates a new ShouldBeEqualWithinOffset.
static ErrorMessageFactory ShouldBeEqualColors.shouldBeEqualColors(RgbColor expected, RgbColor actual, Point point, Offset<?> offset)
          Creates a new ShouldBeEqualColors.
static ErrorMessageFactory ShouldBeEqualImages.shouldBeEqualImages(Offset<Integer> offset)
          Creates a new ShouldBeEqualImages.
 

Uses of Offset in org.fest.assertions.internal
 

Methods in org.fest.assertions.internal with parameters of type Offset
 void Images.assertEqual(AssertionInfo info, BufferedImage actual, BufferedImage expected, Offset<Integer> offset)
          Asserts that two images are equal.
 void Doubles.assertEqual(AssertionInfo info, Double actual, Double expected, Offset<Double> offset)
          Verifies that two floats are equal within a positive offset.
 void Floats.assertEqual(AssertionInfo info, Float actual, Float expected, Offset<Float> offset)
          Verifies that two floats are equal within a positive offset.
protected  boolean Doubles.isEqualTo(Double actual, Double expected, Offset<?> offset)
           
protected  boolean Floats.isEqualTo(Float actual, Float expected, Offset<?> offset)
           
protected abstract  boolean RealNumbers.isEqualTo(NUMBER actual, NUMBER expected, Offset<?> offset)
          Returns true if the two floats parameter are equal within a positive offset, false otherwise.
 



Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.