Package test.glib.models

Source Code of test.glib.models.TestLDrawing

package test.glib.models;

import static org.junit.Assert.assertNotNull;
import net.sf.latexdraw.glib.models.ShapeFactory;
import net.sf.latexdraw.glib.models.interfaces.shape.IDrawing;

import org.junit.Before;
import org.junit.Test;

import test.glib.models.interfaces.TestIDrawing;

public class TestLDrawing extends TestIDrawing {
  @Before
  public void setUp() {
    drawing = ShapeFactory.createDrawing();
  }


  @Test
  public void testConstructor() {
    IDrawing d = ShapeFactory.createDrawing();

    assertNotNull(d.getSelection());
    assertNotNull(d.getShapes());
  }
}
TOP

Related Classes of test.glib.models.TestLDrawing

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.