- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testFind_wrongType (0.13 seconds)
-
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) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
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) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0)