Package org.test.shape.threed

Examples of org.test.shape.threed.ThreeDSquare


    shapeType = port.draw(shape);
    assertTrue(shapeType instanceof Square);
        TestLogger.logger.debug("Square was drawn");

        TestLogger.logger.debug("Sending Request to draw 3D Square");
    ThreeDSquare threeDshape = new ThreeDSquare();
    threeDshape.setXAxis(1);
    threeDshape.setYAxis(1);
    threeDshape.setLength(10);
    threeDshape.setWidth(10);
    threeDshape.setBredth(10);
    shapeType = port.draw3D(threeDshape);
    assertTrue(shapeType instanceof ThreeDSquare);
        TestLogger.logger.debug("3D Square was drawn");
        TestLogger.logger.debug("-------------------------------");
  }
View Full Code Here


    return null;
  }

  public Shape draw3D(Shape request) {
    if(request instanceof ThreeDSquare){
      ThreeDSquare threeDsquare =(ThreeDSquare) request;
            TestLogger.logger.debug("Drawing 3DSquare on x =" + request.getXAxis() + " y=" +
                    request.getYAxis() + " With Bredth =" + threeDsquare.getBredth());
      return request;
    }
    return null;
  }
View Full Code Here

    shapeType = port.draw(shape);
    assertTrue(shapeType instanceof Square);
        TestLogger.logger.debug("Square was drawn");

        TestLogger.logger.debug("Sending Request to draw 3D Square");
    ThreeDSquare threeDshape = new ThreeDSquare();
    threeDshape.setXAxis(1);
    threeDshape.setYAxis(1);
    threeDshape.setLength(10);
    threeDshape.setWidth(10);
    threeDshape.setBredth(10);
    shapeType = port.draw3D(threeDshape);
    assertTrue(shapeType instanceof ThreeDSquare);
        TestLogger.logger.debug("3D Square was drawn");
        TestLogger.logger.debug("-------------------------------");
  }
View Full Code Here

    return null;
  }

  public Shape draw3D(Shape request) {
    if(request instanceof ThreeDSquare){
      ThreeDSquare threeDsquare =(ThreeDSquare) request;
            TestLogger.logger.debug("Drawing 3DSquare on x =" + request.getXAxis() + " y=" +
                    request.getYAxis() + " With Bredth =" + threeDsquare.getBredth());
      return request;
    }
    return null;
  }
View Full Code Here

    return null;
  }

  public Shape draw3D(Shape request) {
    if(request instanceof ThreeDSquare){
      ThreeDSquare threeDsquare =(ThreeDSquare) request;
            TestLogger.logger.debug("Drawing 3DSquare on x =" + request.getXAxis() + " y=" +
                    request.getYAxis() + " With Bredth =" + threeDsquare.getBredth());
      return request;
    }
    return null;
  }
View Full Code Here

    shapeType = port.draw(shape);
    assertTrue(shapeType instanceof Square);
        TestLogger.logger.debug("Square was drawn");

        TestLogger.logger.debug("Sending Request to draw 3D Square");
    ThreeDSquare threeDshape = new ThreeDSquare();
    threeDshape.setXAxis(1);
    threeDshape.setYAxis(1);
    threeDshape.setLength(10);
    threeDshape.setWidth(10);
    threeDshape.setBredth(10);
    shapeType = port.draw3D(threeDshape);
    assertTrue(shapeType instanceof ThreeDSquare);
        TestLogger.logger.debug("3D Square was drawn");
        TestLogger.logger.debug("-------------------------------");
  }
View Full Code Here

TOP

Related Classes of org.test.shape.threed.ThreeDSquare

Copyright © 2018 www.massapicom. 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.