commit | 9d34f8ab0f1ffb18900feaeb23cb16c93f4e0139 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Sat Feb 24 22:24:46 2024 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Feb 24 22:27:53 2024 -0800 |
tree | e7575a773a15c1b149621b458bf22532148f5806 | |
parent | 9ca9a24c841f7b6c71152c688cd9f429578ac0d8 [diff] |
Automatic code cleanup. PiperOrigin-RevId: 610109665 Change-Id: Ib94133e87400f4c910e1c1ddc1a7c92a8d49b5dc
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestSuiteModel.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestSuiteModel.java index a9ca4cf..a952cc6 100644 --- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestSuiteModel.java +++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestSuiteModel.java
@@ -151,23 +151,6 @@ } /** - * Indicate that the test case with the given key has requested that a property be written in the - * XML. - * - * <p> - * - * @param description key for a test case - * @param name The property name. - * @param value The property value. - */ - public void testEmittedProperty(Description description, String name, String value) { - TestCaseNode testCase = getTestCase(description); - if (testCase != null) { - testCase.exportProperty(name, value); - } - } - - /** * Adds a failure to the test with the given key. If the specified test is suite, the failure will * be added to all its children. *
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java index e46db46..8c84170 100644 --- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java +++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java
@@ -209,13 +209,4 @@ } writer.write(XmlEscapers.xmlContentEscaper().escape(text)); } - - /** - * Gets the writer that this object uses for writing. - * - * VisibleForTesting - */ - Writer getUnderlyingWriter() { - return writer; - } }