- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,456 for created (0.07 sec)
-
MultimapsCollectionTest.java
abstract static class TestEntriesListGenerator extends TestEntriesGenerator L217: implements TestListGenerator<Entry<String, Integer>> { L218: @Override L219: public List<Entry<String, Integer>> create(Object... elements) { L220: return (List<Entry<String, Integer>>) super.create(elements); L221: } L222: } L223: L224: public static Test suite() { L225: TestSuite suite = new TestSuite(); L226: L227: suite.addTest(transformSuite()); L228: suite.addTest(filterSuite()); L229:...github.com/google/guava/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 28.9K bytes -
CompactLinkedHashMapTest.java
suite.addTest( L42: MapTestSuiteBuilder.using( L43: new TestStringMapGenerator() { L44: @Override L45: protected Map<String, String> create(Entry<String, String>[] entries) { L46: Map<String, String> map = CompactLinkedHashMap.create(); L47: for (Entry<String, String> entry : entries) { L48: map.put(entry.getKey(), entry.getValue()); L49: } L50: ...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 6.6K bytes -
ExecutionSequencerTest.java
ble Void> firstFuture; L49: private TestCallable firstCallable; L50: L51: @Override L52: public void setUp() throws Exception { L53: executor = Executors.newCachedThreadPool(); L54: serializer = ExecutionSequencer.create(); L55: firstFuture = SettableFuture.create(); L56: firstCallable = new TestCallable(firstFuture); L57: } L58: L59: @Override L60: public void tearDown() throws Exception { L61: executor.shutdown(); L62: } L63: L64: public void testCallableStartsAfterFirstFutureCompletes()...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 22:10:29 UTC 2024 16.7K bytes -
CompactLinkedHashSetTest.java
shSetTest.class); L58: suite.addTest( L59: SetTestSuiteBuilder.using( L60: new TestStringSetGenerator() { L61: @Override L62: protected Set<String> create(String[] elements) { L63: return CompactLinkedHashSet.create(asList(elements)); L64: } L65: }) L66: .named("CompactLinkedHashSet") L67: .withFeatures(allFeatures) L68: .createTestSuite()); L69: return...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 3.3K bytes -
TreeBasedTableRowMapInterfaceTest.java
String> makeEmptyMap() { L31: TreeBasedTable<String, String, String> table = TreeBasedTable.create(); L32: table.put("a", "b", "c"); L33: table.put("c", "b", "a"); L34: table.put("a", "a", "d"); L35: return table.row("b"); L36: } L37: L38: @Override L39: protected SortedMap<String, String> makePopulatedMap() { L40: TreeBasedTable<String, String, String> table = TreeBasedTable.create(); L41: table.put("a", "b", "c"); L42: table.put("c", "b", "a"); L43: table.put("b", "b",...github.com/google/guava/guava-tests/test/com/go...Tue Mar 29 15:15:31 UTC 2022 2.3K bytes -
RemovalNotificationTest.java
public void testEquals() { L30: new EqualsTester() L31: .addEqualityGroup( L32: RemovalNotification.create("one", 1, RemovalCause.EXPLICIT), L33: RemovalNotification.create("one", 1, RemovalCause.REPLACED)) L34: .addEqualityGroup(RemovalNotification.create("1", 1, RemovalCause.EXPLICIT)) L35: .addEqualityGroup(RemovalNotification.create("one", 2, RemovalCause.EXPLICIT)) L36: .testEquals(); L37: } L38:}...github.com/google/guava/guava-tests/test/com/go...Mon Dec 04 17:37:03 UTC 2017 1.2K bytes -
FutureCallbackTest.java
public void testSameThreadSuccess() { L39: SettableFuture<String> f = SettableFuture.create(); L40: MockCallback callback = new MockCallback("foo"); L41: addCallback(f, callback, directExecutor()); L42: f.set("foo"); L43: } L44: L45: public void testExecutorSuccess() { L46: CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); L47: SettableFuture<String> f = SettableFuture.create(); L48: MockCallback callback = new MockCallback("foo"); L49: Futures.addCallback(f,...github.com/google/guava/guava-tests/test/com/go...Mon Oct 21 15:41:36 UTC 2024 6.6K bytes -
AdminUserAction.java
L206: // Actually Crud L207: // ------------- L208: @Execute L209: @Secured({ ROLE }) L210: public HtmlResponse create(final CreateForm form) { L211: verifyCrudMode(form.crudMode, CrudMode.CREATE); L212: validate(form, messages -> {}, this::asEditHtml); L213: validateAttributes(form.attributes, v -> throwValidationError(v, this::asEditHtml)); L214: verifyPassword(form, this::asEditHtml);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.9K bytes -
AbstractTableTest.java
assertThrows(NullPointerException.class, () -> table.put("bar", 1, nullableCellValue(null))); L100: } L101: } L102: L103: public void testPutAllTable() { L104: table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); L105: Table<String, Integer, @NonNull C> other = HashBasedTable.create(); L106: other.put("foo", 1, cellValue('d')); L107: other.put("bar", 2, cellValue('e')); L108: other.put("cat", 2, cellValue('f')); L109: table.putAll(other); L110: assertEquals((Character)...github.com/google/guava/android/guava-tests/tes...Tue Oct 15 17:36:06 UTC 2024 5.8K bytes -
AbstractCache.java
{ L203: private final LongAddable hitCount = LongAddables.create(); L204: private final LongAddable missCount = LongAddables.create(); L205: private final LongAddable loadSuccessCount = LongAddables.create(); L206: private final LongAddable loadExceptionCount = LongAddables.create(); L207: private final LongAddable totalLoadTime = LongAddables.create(); L208: private final LongAddable evictionCount = LongAddables.create(); L209: L210: /** Constructs an instance with all counts...github.com/google/guava/guava/src/com/google/co...Tue Jun 15 18:00:07 UTC 2021 9.1K bytes