Ejemplo n.º 1
0
  @Test
  @Ignore
  public void encodeCoordTransform() throws IOException {
    final ByteArrayOutputStream stream = new ByteArrayOutputStream();
    final SWFEncoder encoder = new SWFEncoder(stream);
    final Context context = new Context();

    // fixture = new DefineImage(identifier, layer, transform);
    assertEquals(encoded.length, fixture.prepareToEncode(context));
    fixture.encode(encoder, context);
  }
Ejemplo n.º 2
0
  @Test
  @Ignore
  public void checkCopy() {
    // fixture = new DefineImage(identifier, layer, transform,
    // colorTransform);
    final DefineImage copy = fixture.copy();

    assertNotSame(fixture, copy);
  }