Reviewers: jasvir,

Description:
To prevent accidental overriding.

Please review this at http://codereview.appspot.com/190080/show

Affected files:
M tests/com/google/caja/plugin/stages/LegacyNamespaceFixupStageTest.java


Index: tests/com/google/caja/plugin/stages/LegacyNamespaceFixupStageTest.java
===================================================================
--- tests/com/google/caja/plugin/stages/LegacyNamespaceFixupStageTest.java (revision 3946) +++ tests/com/google/caja/plugin/stages/LegacyNamespaceFixupStageTest.java (working copy)
@@ -38,26 +38,26 @@

 public class LegacyNamespaceFixupStageTest extends CajaTestCase {

-  public void testEmptyFragment() {
+  public final void testEmptyFragment() {
     assertFixed("", builder().job());
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testOneHtmlTag() {
+  public final void testOneHtmlTag() {
     assertFixed(
         "<b>Foo</b>",
         builder().open("b").text("Foo").close().job());
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testHtmlTagAndAttrib() {
+  public final void testHtmlTagAndAttrib() {
     assertFixed(
         "<a href=\"bar.html\">Foo</a>",
builder().open("a").attr("href", "bar.html").text("Foo").close().job());
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testPrefixedAttribWithWellKnownPrefix() {
+  public final void testPrefixedAttribWithWellKnownPrefix() {
     assertFixed(
         "<a href=\"bar.html\" xml:lang=\"en\">Foo</a>",
         builder().open("a").attr("href", "bar.html")
@@ -68,7 +68,7 @@
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testPrefixedAttribWithUnknownPrefix() {
+  public final void testPrefixedAttribWithUnknownPrefix() {
     assertFixed(
         ""
         + "<a href=\"bar.html\""
@@ -82,7 +82,7 @@
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testPrefixedElementWithKnownPrefix() {
+  public final void testPrefixedElementWithKnownPrefix() {
     // The unprefixed href attribute gets the namespace of the containing
     // element, not necessarily HTML.
     assertFixed(
@@ -95,7 +95,7 @@
     assertTrue(mq.getMessages().isEmpty());
   }

-  public void testPrefixedElementWithUnknownPrefix() {
+  public final void testPrefixedElementWithUnknownPrefix() {
     // The unprefixed href attribute gets the namespace of the containing
     // element, not necessarily HTML.
     assertFixed(


Reply via email to