- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testFind_wrongType (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
initCollectionWithNullElement(); assertEquals( getMethodName() + "(null) should return " + getNullLocation(), getNullLocation(), find(null)); } public void testFind_wrongType() { try { assertEquals( getMethodName() + "(wrongType) should return -1 or throw", -1, find(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
initCollectionWithNullElement(); assertEquals( getMethodName() + "(null) should return " + getNullLocation(), getNullLocation(), find(null)); } public void testFind_wrongType() { try { assertEquals( getMethodName() + "(wrongType) should return -1 or throw", -1, find(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.3K bytes - Viewed (0)