evas_vg_shape_append_quadratic_to_squadratic_to: Add Test procedure guide description. 42/236442/9
authorApurv Khatri <apurv.khatri@samsung.com>
Wed, 17 Jun 2020 06:33:41 +0000 (12:03 +0530)
committerApurv Khatri <apurv.khatri@samsung.com>
Fri, 19 Jun 2020 07:53:36 +0000 (07:53 +0000)
Change-Id: Ib100b452e2590b7e3469638dc6b78fb7afebc0d8

TC/evas/canvas/evas_vg/utc_evas_vg_shape_append_quadratic_to_squadratic_to.c

index 8dc90962dadd9fa2dfd32195fbd1f1aad7765412..4159a2fe6c65b358cfd2452a61e2fa5961688813 100755 (executable)
@@ -50,9 +50,9 @@ teardown(void)
 }
 
 /**
- * @addtogroup utc_evas_vg_shape_append_cubic_to
+ * @addtogroup utc_evas_vg_shape_append_quadratic_to_squadratic_to
  * @{
- * @objective Positive test case checks if function adds a cubic Bezier curve between the current position and the end point
+ * @objective Positive test case checks if function adds a quadratic Bezier curve between the current position and the end point
  * and without segmentation fault.
  *
  * @n Input Data:
@@ -72,7 +72,6 @@ teardown(void)
  * @passcondition Function should add a quadratic Bezier curve between the current position and the end point,
  * and without segmentation fault.
  * @}
- * @}
  */
 START_TEST(utc_evas_vg_shape_append_quadratic_to_p)
 {
@@ -114,6 +113,33 @@ START_TEST(utc_evas_vg_shape_append_quadratic_to_p)
 }
 END_TEST
 
+/**
+ * @addtogroup utc_evas_vg_shape_append_quadratic_to_squadratic_to
+ * @{
+ * @objective Positive test case checks if function adds a quadratic Bezier curve between the current position and the end point
+ * and without segmentation fault.
+ *
+ * @n Input Data:
+ * @li the given canvas
+ *
+ * @procedure
+ * @step 1 Call evas_object_vg_add function to create a new vector object
+ * and check on not NULL
+ * @step 2 Show vector object
+ * @step 3 Call evas_vg_container_add function to create a new vector container object
+ * @step 4 Call evas_vg_shape_add function to create a new shape object
+ * and check on not NULL.
+ * @step 5 Move current point to {20, 20}
+ * @step 6 Add a quadratic Bezier curve between the current position and the {20, 100} point
+ * @step 7 Use the current control point to draw the quadratic bezier.
+ * @step 8 Get current control point and check on expected value.
+ *
+ * @passcondition Function should add a quadratic Bezier curve between the current position and the end point,
+ * and without segmentation fault.
+ * @}
+ * @}
+ */
+
 START_TEST(utc_evas_vg_shape_append_squadratic_to_p)
 {
    Efl_VG *vg, *container, *shape;