From 3e290d1602d54ad10dc65a39dc1763a3907598b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89amonn=20McManus?= Date: Thu, 9 Apr 2026 07:03:05 -0700 Subject: [PATCH] In `JavadocFormattingTest`, document the main things that still need to be tested. In many cases there will also be corresponding implementation changes needed for the tests to pass. This is essentially a TODO list for the remaining implementation gaps. PiperOrigin-RevId: 897092280 --- .../java/JavadocFormattingTest.java | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java b/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java index 5cf8c2ffa..f9a399b53 100644 --- a/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java +++ b/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java @@ -1774,4 +1774,55 @@ class Test {} """; doFormatTest(input, expected); } + + // TODO: b/346668798 - Test the following Markdown constructs, and make the tests work as needed. + // We can assume that the CommonMark parser correctly handles Markdown, so the question is whether + // they are subsequently mishandled by our formatting logic. So for example the CommonMark parser + // already recognizes
...
and doesn't look for Markdown constructs within such a block, + // so we should not need to check that that is handled correctly, given that we already check + //
 handling elsewhere. On the other hand, if we don't handle Markdown code spans (`...`)
+  // correctly then we might incorrectly recognize HTML tags like `