- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for expectedTypes (0.07 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes); // Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // Verify
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
// Test throwing and catching the exception String expectedType = "OAuth"; String expectedMessage = "OAuth token is invalid"; try { throw new InvalidAccessTokenException(expectedType, expectedMessage); } catch (InvalidAccessTokenException e) { assertEquals(expectedType, e.getType()); assertEquals(expectedMessage, e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes); // Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // Verify
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type expectedType = new TypeToken<Map<String, List<Object>>>() {}.getType(); assertEquals( expectedType, new TypeToken<ListMap<String, Object>>() {}.getSupertype(Map.class).getType()); } private interface StringListMap<V> extends ListMap<String, V> {} public <V> void testGetSupertype_partiallySpecializedType() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type expectedType = new TypeToken<Map<String, List<Object>>>() {}.getType(); assertEquals( expectedType, new TypeToken<ListMap<String, Object>>() {}.getSupertype(Map.class).getType()); } private interface StringListMap<V> extends ListMap<String, V> {} public <V> void testGetSupertype_partiallySpecializedType() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)