- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testConstructor_anonymousClass (0.17 seconds)
-
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper(new TestClass()).toString(); assertTrue(toTest, toTest.matches(".*\\{\\}")); } @GwtIncompatible // Class names are obfuscated in GWT public void testConstructor_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertThat(toTest).isEqualTo("{}"); } public void testConstructorLenient_anonymousClass() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 22K bytes - Click Count (0)