- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,434 for created (0.05 sec)
-
AdminSchedulerAction.java
L219: // Actually Crud L220: // ------------- L221: @Execute L222: @Secured({ ROLE }) L223: public HtmlResponse create(final CreateForm form) { L224: verifyCrudMode(form.crudMode, CrudMode.CREATE); L225: validate(form, messages -> {}, this::asEditHtml); L226: verifyToken(this::asEditHtml); L227: getScheduledJob(form).ifPresent(entity -> { L228: try { L229: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 18.1K bytes -
SetOperationsTest.java
suite() { L47: TestSuite suite = new TestSuite(); L48: L49: suite.addTest( L50: SetTestSuiteBuilder.using( L51: new TestStringSetGenerator() { L52: @Override L53: protected Set<String> create(String[] elements) { L54: return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet()); L55: } L56: }) L57: .named("empty U empty") L58: .withFeatures( L59: ...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 14.5K bytes -
ConcurrentHashMultisetTest.java
TestStringMultisetGenerator() { L79: @Override L80: protected Multiset<String> create(String[] elements) { L81: return ConcurrentHashMultiset.create(asList(elements)); L82: } L83: }; L84: } L85: L86: private static TestStringMultisetGenerator concurrentSkipListMultisetGenerator() { L87: return new TestStringMultisetGenerator() { L88: @Override L89: protected Multiset<String> create(String[] elements) { L90: Multiset<String> multiset = L91: new C...github.com/google/guava/android/guava-tests/tes...Wed Sep 06 17:04:31 UTC 2023 14.2K bytes -
TestsForSetsInJavaUtil.java
r() { L131: return emptySet(); L132: } L133: L134: public Test testsForEmptySet() { L135: return SetTestSuiteBuilder.using( L136: new TestStringSetGenerator() { L137: @Override L138: public Set<String> create(String[] elements) { L139: return emptySet(); L140: } L141: }) L142: .named("emptySet") L143: .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO) L144: .suppressing(suppressForEmptySet())...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 15K bytes -
TestStringMultisetGenerator.java
rings; L23:import java.util.List; L24: L25:/** L26: * Create multisets of strings for tests. L27: * L28: * @author Jared Levy L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:public abstract class TestStringMultisetGenerator implements TestMultisetGenerator<String> { L33: @Override L34: public SampleElements<String> samples() { L35: return new Strings(); L36: } L37: L38: @Override L39: public Multiset<String> create(Object... elements) { L40: String[] array = new St...github.com/google/guava/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.7K bytes -
TestStringSortedSetGenerator.java
java.util.List; L23:import java.util.SortedSet; L24: L25:/** L26: * Create string sets for testing collections that are sorted by natural ordering. L27: * L28: * @author Jared Levy L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator L33: implements TestSortedSetGenerator<String> { L34: L35: @Override L36: public SortedSet<String> create(Object... elements) { L37: return (SortedSet<String>) super.create(elements);...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 1.7K bytes -
MultimapEqualsTester.java
L46: .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) L47: .testEquals(); L48: } L49: L50: public void testEqualsFalse() { L51: List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); L52: targetEntries.add(mapEntry(k0(), v3())); L53: new EqualsTester() L54: .addEqualityGroup(multimap()) L55: .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) L56: .testEquals(); L57: } L58:...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 3.5K bytes -
AdminFileauthAction.java
L194: // Actually Crud L195: // ------------- L196: @Execute L197: @Secured({ ROLE }) L198: public HtmlResponse create(final CreateForm form) { L199: verifyCrudMode(form.crudMode, CrudMode.CREATE); L200: validate(form, messages -> {}, this::asEditHtml); L201: verifyToken(this::asEditHtml); L202: getFileAuthentication(form).ifPresent(entity -> { L203: try { L204: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes -
AdminReqheaderAction.java
L192: // Actually Crud L193: // ------------- L194: @Execute L195: @Secured({ ROLE }) L196: public HtmlResponse create(final CreateForm form) { L197: verifyCrudMode(form.crudMode, CrudMode.CREATE); L198: validate(form, messages -> {}, this::asEditHtml); L199: verifyToken(this::asEditHtml); L200: getRequestHeader(form).ifPresent(entity -> { L201: try { L202: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 14.6K bytes -
DerivedGoogleCollectionGenerators.java
this.generator = oneSizeTestContainerGenerator; L55: } L56: L57: @Override L58: public SampleElements<Entry<K, V>> samples() { L59: return generator.samples(); L60: } L61: L62: @Override L63: public Map<K, V> create(Object... elements) { L64: return generator.create(elements); L65: } L66: L67: @Override L68: public Entry<K, V>[] createArray(int length) { L69: return generator.createArray(length); L70: } L71: L72: @Override L73: public Iterable<Entry<K, V>> order(List<Entry<K,...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 6.8K bytes