Package com.google.common.truth
Class Platform
- java.lang.Object
-
- com.google.common.truth.Platform
-
public final class Platform extends Object
Extracted routines that need to be swapped in for GWT, to allow for minimal deltas between the GWT and non-GWT version.- Author:
- Christian Gruber (cgruber@google.com)
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
TYPE_PATTERN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AssertionError
comparisonFailure(String message, String expected, String actual)
static String
compressType(String type)
Inspired by JavaWriter.static boolean
isInstanceOfType(Object instance, Class<?> clazz)
Returns true if the instance is assignable to the type Clazz.
-
-
-
Field Detail
-
TYPE_PATTERN
public static final Pattern TYPE_PATTERN
-
-