aurum.proto: Changes case style to camel 23/281723/2
authorWoochanLee <wc0917.lee@samsung.com>
Wed, 21 Sep 2022 05:14:55 +0000 (14:14 +0900)
committerwoochan lee <wc0917.lee@samsung.com>
Thu, 22 Sep 2022 01:36:03 +0000 (01:36 +0000)
Change-Id: If5755aced7b1df65f072c9db628f201489dd73dc

org.tizen.aurum-bootstrap/src/Commands/DumpObjectTreeCommand.cc
org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc
org.tizen.aurum-bootstrap/src/Commands/FindElementsCommand.cc
protocol/aurum.proto

index 4865ada..a0fb9df 100644 (file)
@@ -48,15 +48,15 @@ void DumpObjectTreeCommand::traverse(::aurum::Element *root, std::shared_ptr<Nod
     rect->set_width(size.width());
     rect->set_height(size.height());
 
-    ::aurum::Rect *windowRect = root->mutable_window_relative_geometry();
+    ::aurum::Rect *windowRect = root->mutable_windowrelativegeometry();
     const Rect<int> &windowSize = obj->getWindowBoundingBox();
     windowRect->set_x(windowSize.mTopLeft.x);
     windowRect->set_y(windowSize.mTopLeft.y);
     windowRect->set_width(windowSize.width());
     windowRect->set_height(windowSize.height());
 
-    root->set_widget_type(obj->getType());
-    root->set_widget_style(obj->getElementStyle());
+    root->set_widgettype(obj->getType());
+    root->set_widgetstyle(obj->getElementStyle());
 
     root->set_text(obj->getText());
     root->set_xpath(obj->getXPath());
index ce89249..c2664ad 100644 (file)
@@ -101,7 +101,7 @@ std::shared_ptr<UiSelector> FindElementCommand::getSelector(void)
              rect->set_width(size.width());
              rect->set_height(size.height());
 
-             elm->set_widget_type(obj->getType());
+             elm->set_widgettype(obj->getType());
 
              elm->set_text(obj->getOcrText());
 
@@ -147,15 +147,15 @@ std::shared_ptr<UiSelector> FindElementCommand::getSelector(void)
             rect->set_width(size.width());
             rect->set_height(size.height());
 
-            ::aurum::Rect *windowRect = elm->mutable_window_relative_geometry();
+            ::aurum::Rect *windowRect = elm->mutable_windowrelativegeometry();
             const Rect<int> &windowRelativeSize = obj->getWindowBoundingBox();
             windowRect->set_x(windowRelativeSize.mTopLeft.x);
             windowRect->set_y(windowRelativeSize.mTopLeft.y);
             windowRect->set_width(windowRelativeSize.width());
             windowRect->set_height(windowRelativeSize.height());
 
-            elm->set_widget_type(obj->getType());
-            elm->set_widget_style(obj->getElementStyle());
+            elm->set_widgettype(obj->getType());
+            elm->set_widgetstyle(obj->getElementStyle());
 
             elm->set_text(obj->getText());
             elm->set_xpath(obj->getXPath());
index 937e31f..3a0e6b7 100644 (file)
@@ -105,7 +105,7 @@ std::vector<std::shared_ptr<UiSelector>> FindElementsCommand::getSelectors(void)
                 rect->set_width(size.width());
                 rect->set_height(size.height());
 
-                elm->set_widget_type(obj->getType());
+                elm->set_widgettype(obj->getType());
 
                 elm->set_text(obj->getOcrText());
                 elm->set_toolkit("External");
@@ -159,15 +159,15 @@ std::vector<std::shared_ptr<UiSelector>> FindElementsCommand::getSelectors(void)
                 rect->set_width(size.width());
                 rect->set_height(size.height());
 
-                ::aurum::Rect *windowRect = elm->mutable_window_relative_geometry();
+                ::aurum::Rect *windowRect = elm->mutable_windowrelativegeometry();
                 const Rect<int> &windowRelativeSize = obj->getWindowBoundingBox();
                 windowRect->set_x(windowRelativeSize.mTopLeft.x);
                 windowRect->set_y(windowRelativeSize.mTopLeft.y);
                 windowRect->set_width(windowRelativeSize.width());
                 windowRect->set_height(windowRelativeSize.height());
 
-                elm->set_widget_type(obj->getType());
-                elm->set_widget_style(obj->getElementStyle());
+                elm->set_widgettype(obj->getType());
+                elm->set_widgetstyle(obj->getElementStyle());
 
                 elm->set_text(obj->getText());
                 elm->set_xpath(obj->getXPath());
index e5e3085..9b00b62 100644 (file)
@@ -58,10 +58,10 @@ message Element {
    repeated Element child = 2;
 
    Rect geometry = 3;
-   Rect window_relative_geometry = 4;
+   Rect windowRelativeGeometry = 4;
 
-   string widget_type = 5;
-   string widget_style = 6;
+   string widgetType = 5;
+   string widgetStyle = 6;
 
    string text = 7;
    string xpath = 8;