Goktug Gokdogan has uploaded a new change for review.

  https://gwt-review.googlesource.com/2001


Change subject: Removes deprecated checkpoint functionality from GWTTestCase.
......................................................................

Removes deprecated checkpoint functionality from GWTTestCase.

This was no-op before and last remaining references cleaned up with removal of Profile code.

Change-Id: I776d1fbef690d2375b25a8a58ea47cce943b26ec
---
M user/src/com/google/gwt/junit/client/GWTTestCase.java
M user/super/com/google/gwt/junit/translatable/com/google/gwt/junit/client/GWTTestCase.java
M user/test/com/google/gwt/i18n/client/DateTimeParse_zh_CN_Test.java
3 files changed, 0 insertions(+), 47 deletions(-)



diff --git a/user/src/com/google/gwt/junit/client/GWTTestCase.java b/user/src/com/google/gwt/junit/client/GWTTestCase.java
index b3c0258..5e370f6 100644
--- a/user/src/com/google/gwt/junit/client/GWTTestCase.java
+++ b/user/src/com/google/gwt/junit/client/GWTTestCase.java
@@ -193,15 +193,6 @@
   }

   /**
-   * Does nothing.
-   *
-   * @deprecated implementation removed
-   */
-  @Deprecated
-  public final void addCheckpoint(String msg) {
-  }
-
-  /**
* Determines whether or not exceptions will be caught by the test fixture. * Override this method and return <code>false</code> to let exceptions escape * to the browser. This will break the normal JUnit reporting functionality,
@@ -213,25 +204,6 @@
    */
   public boolean catchExceptions() {
     return true;
-  }
-
-  /**
-   * Does nothing.
-   *
-   * @deprecated implementation removed
-   */
-  @Deprecated
-  public final void clearCheckpoints() {
-  }
-
-  /**
-   * Returns a zero-length array.
-   *
-   * @deprecated implementation removed
-   */
-  @Deprecated
-  public final String[] getCheckpoints() {
-    return new String[0];
   }

   /**
diff --git a/user/super/com/google/gwt/junit/translatable/com/google/gwt/junit/client/GWTTestCase.java b/user/super/com/google/gwt/junit/translatable/com/google/gwt/junit/client/GWTTestCase.java
index 86ec411..3cc1006 100644
--- a/user/super/com/google/gwt/junit/translatable/com/google/gwt/junit/client/GWTTestCase.java +++ b/user/super/com/google/gwt/junit/translatable/com/google/gwt/junit/client/GWTTestCase.java
@@ -159,21 +159,8 @@
   }
   // CHECKSTYLE_ON

-  @Deprecated
-  public void addCheckpoint(String msg) {
-  }
-
   public boolean catchExceptions() {
     return true;
-  }
-
-  @Deprecated
-  public void clearCheckpoints() {
-  }
-
-  @Deprecated
-  public String[] getCheckpoints() {
-    return new String[0];
   }

   public abstract String getModuleName();
diff --git a/user/test/com/google/gwt/i18n/client/DateTimeParse_zh_CN_Test.java b/user/test/com/google/gwt/i18n/client/DateTimeParse_zh_CN_Test.java
index 3db507e..e76aedf 100644
--- a/user/test/com/google/gwt/i18n/client/DateTimeParse_zh_CN_Test.java
+++ b/user/test/com/google/gwt/i18n/client/DateTimeParse_zh_CN_Test.java
@@ -64,11 +64,8 @@
       Date expectedDate = new Date(expectedTimeUTC);

       // Compare the actual and expected results.
-      addCheckpoint("2a");
       assertEquals(expectedDate.getYear(), date.getYear());
-      addCheckpoint("2b");
       assertEquals(expectedDate.getMonth(), date.getMonth());
-      addCheckpoint("2c");
       assertEquals(expectedDate.getDate(), date.getDate());
     }

@@ -84,11 +81,8 @@
       Date expectedDate = new Date(expectedTimeUTC);

       // Compare the actual and expected results.
-      addCheckpoint("3a");
       assertEquals(expectedDate.getYear(), date.getYear());
-      addCheckpoint("3b");
       assertEquals(expectedDate.getMonth(), date.getMonth());
-      addCheckpoint("3c");
       assertEquals(expectedDate.getDate(), date.getDate());
     }
   }

--
To view, visit https://gwt-review.googlesource.com/2001
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I776d1fbef690d2375b25a8a58ea47cce943b26ec
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Goktug Gokdogan <gok...@google.com>

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to