- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,456 for created (0.05 sec)
-
UuidUtilTest.java
@author higa L22: * L23: */ L24:public class UuidUtilTest extends TestCase { L25: L26: /** L27: * Test method for {@link org.codelibs.core.net.UuidUtil#create()}. L28: */ L29: public void testCreate() { L30: final String uuid = UuidUtil.create(); L31: System.out.println(uuid); L32: final String uuid2 = UuidUtil.create(); L33: System.out.println(uuid2); L34: assertFalse(uuid.equals(uuid2)); L35: } L36:}...github.com/codelibs/corelib/src/test/java/org/c...Thu Mar 07 01:59:08 UTC 2024 1.1K bytes -
SortedMapGenerators.java
L44:@GwtCompatible L45:@ElementTypesAreNonnullByDefault L46:public class SortedMapGenerators { L47: public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator { L48: @Override L49: public SortedMap<String, String> create(Entry<String, String>[] entries) { L50: ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); L51: for (Entry<String, String> entry : entries) { L52: checkNotNull(entry); L53: builder.put(entry.getKey(),...github.com/google/guava/android/guava-testlib/s...Sat Oct 19 00:05:46 UTC 2024 4.6K bytes -
EmptyImmutableTableTest.java
assertEquals(0, INSTANCE.hashCode()); L40: } L41: L42: public void testEqualsObject() { L43: Table<Character, Integer, String> nonEmptyTable = HashBasedTable.create(); L44: nonEmptyTable.put('A', 1, "blah"); L45: L46: new EqualsTester() L47: .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) L48: .addEqualityGroup(nonEmptyTable) L49: .testEquals(); L50: } L51: L52: @GwtIncompatible // ArrayTable L53: public void testEqualsObjectNullValues()...github.com/google/guava/android/guava-tests/tes...Mon Feb 19 20:34:55 UTC 2024 3.2K bytes -
MultisetsCollectionTest.java
private static TestStringMultisetGenerator unionGenerator() { L156: return new TestStringMultisetGenerator() { L157: @Override L158: protected Multiset<String> create(String[] elements) { L159: Multiset<String> multiset1 = LinkedHashMultiset.create(); L160: Multiset<String> multiset2 = LinkedHashMultiset.create(); L161: for (int i = 0; i < elements.length; i++) { L162: String element = elements[i]; L163: if (multiset1.contains(element) || multiset2.contains(element))...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 9.6K bytes -
HttpDateTest.kt
JUNK".toHttpDateOrNull()!!.time).isEqualTo(0L) L75: // Missing timezones treated as bad. L76: assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull() L77: // Missing seconds treated as bad. L78: assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() L79: // Extra spaces treated as bad. L80: assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() L81: // Missing leading zero treated as bad. L82: assertThat("Thu, 1 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 3.9K bytes -
InitialContextUtil.java
初期コンテキスト}を扱うためのユーティリティ・クラスです。 L30: * L31: * @author higa L32: */ L33:public abstract class InitialContextUtil { L34: L35: /** L36: * 初期コンテキストを作成して返します。 L37: * L38: * @return 初期コンテキスト L39: */ L40: public static InitialContext create() { L41: try { L42: return new InitialContext(); L43: } catch (final NamingException ex) { L44: throw new NamingRuntimeException(ex); L45: } L46: } L47: L48: /** L49: * 指定した環境を使用して初期コンテキストを作成して返します。...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 3K bytes -
MinMaxPriorityQueueTest.java
est.class); L73: suite.addTest( L74: QueueTestSuiteBuilder.using( L75: new TestStringQueueGenerator() { L76: @Override L77: protected Queue<String> create(String[] elements) { L78: return MinMaxPriorityQueue.create(asList(elements)); L79: } L80: }) L81: .named("MinMaxPriorityQueue") L82: .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE) L83: ...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 35.9K bytes -
MinMaxPriorityQueueTest.java
est.class); L73: suite.addTest( L74: QueueTestSuiteBuilder.using( L75: new TestStringQueueGenerator() { L76: @Override L77: protected Queue<String> create(String[] elements) { L78: return MinMaxPriorityQueue.create(asList(elements)); L79: } L80: }) L81: .named("MinMaxPriorityQueue") L82: .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE) L83: ...github.com/google/guava/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 35.9K bytes -
AtomicLongMapTest.java
ongMap.class); L48: tester.testAllPublicStaticMethods(AtomicLongMap.class); L49: AtomicLongMap<Object> map = AtomicLongMap.create(); L50: tester.testAllPublicInstanceMethods(map); L51: } L52: L53: public void testCreate_map() { L54: Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L); L55: AtomicLongMap<String> map = AtomicLongMap.create(in); L56: assertFalse(map.isEmpty()); L57: assertEquals(3, map.size()); L58: assertTrue(map.containsKey("1")); L59: a...github.com/google/guava/android/guava-tests/tes...Tue Feb 13 14:28:25 UTC 2024 17.4K 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/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 14.5K bytes