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 a9ca4cf3b3070d..a952cc6c4b504e 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 @@ -150,23 +150,6 @@ public void testRunInterrupted() { rootNode.testInterrupted(now()); } - /** - * Indicate that the test case with the given key has requested that a property be written in the - * XML. - * - *
- * - * @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 e46db466d18d94..8c8417038342b8 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 @@ public void writeCharacters(String text) throws IOException { } writer.write(XmlEscapers.xmlContentEscaper().escape(text)); } - - /** - * Gets the writer that this object uses for writing. - * - * VisibleForTesting - */ - Writer getUnderlyingWriter() { - return writer; - } }