Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for Proto Differ to ignore same comments #19

Closed
wants to merge 4 commits into from

Conversation

klingbolt
Copy link
Owner

No description provided.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._old	2025-02-05 01:39:54.069336166 +0000
+++ xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._new	2025-02-05 01:39:54.076336111 +0000
@@ -23,6 +23,14 @@
       z: 215.83
     }
   }
+  icon {
+    map_id: 50
+    position {
+      x: 100.81
+      y: 200.65
+      z: 300.830017
+    }
+  }
   id: "(\350\314\006\302\223^\226"
 }
 category {

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing a file to generate a diff. Called File1

@klingbolt klingbolt force-pushed the test_proto_differ_checker branch from e4ada0e to e25070f Compare February 5, 2025 02:18
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_category_name/output_proto/markers.guildpoint.textproto._old	2025-02-05 02:19:19.103009556 +0000
+++ xml_converter/integration_tests/test_cases/xml_category_name/output_proto/markers.guildpoint.textproto._new	2025-02-05 02:19:19.111009642 +0000
@@ -24,5 +24,13 @@
       z: 215.83
     }
   }
+  icon {
+    map_id: 50
+    position {
+      x: 100.81
+      y: 200.65
+      z: 300.830017
+    }
+  }
   id: "(\350\314\006\302\223^\226"
 }

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing a 2nd file. This commit did not generate a diff for File1

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._old	2025-02-05 02:28:19.965347476 +0000
+++ xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._new	2025-02-05 02:28:19.972347558 +0000
@@ -23,6 +23,14 @@
       z: 215.83
     }
   }
+  icon {
+    map_id: 50
+    position {
+      x: 200.81
+      y: 400.65
+      z: 600.83
+    }
+  }
   id: "(\350\314\006\302\223^\226"
 }
 category {

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another change to File1 generates a new comment. No comment of File2

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._old	2025-02-05 02:30:09.035981693 +0000
+++ xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.guildpoint.textproto._new	2025-02-05 02:30:09.043981757 +0000
@@ -23,6 +23,14 @@
       z: 215.83
     }
   }
+  icon {
+    map_id: 50
+    position {
+      x: 100.81
+      y: 200.65
+      z: 300.830017
+    }
+  }
   id: "(\350\314\006\302\223^\226"
 }
 category {

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing File1 back to first commit generates a new comment. This keeps a record of changes to the file within the same PR.

@klingbolt klingbolt closed this Feb 13, 2025
@klingbolt klingbolt deleted the test_proto_differ_checker branch February 13, 2025 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant