- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 3,818 for Avoid (0.02 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
/** * Tests {@code License}. * */ class LicenseTest { @Test void testHashCodeNullSafe() { new License().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new License().equals(null)); new License().equals(new License()); } @Test void testEqualsIdentity() { License thing = new License();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
@J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUsAscii() { assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); } public void testUtf8() { assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 2.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java
} @Test void testNullSafe() { assertNull(normalize(null)); } @Test void testTrailingSlash() { assertEquals("", normalize("")); assertEquals("http://server.org/dir", normalize("http://server.org/dir")); assertEquals("http://server.org/dir/", normalize("http://server.org/dir/")); } @Test void testRemovalOfParentRefs() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
public class Murmur3Hash32Test extends TestCase { public void testKnownIntegerInputs() { assertHash(593689054, murmur3_32().hashInt(0)); assertHash(-189366624, murmur3_32().hashInt(-42)); assertHash(-1134849565, murmur3_32().hashInt(42)); assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE)); assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE)); } public void testKnownLongInputs() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:29:46 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
} public void testGetIfPresent_caseSensitive() { assertThat(Enums.getIfPresent(TestEnum.class, "cHEETO")).isAbsent(); assertThat(Enums.getIfPresent(TestEnum.class, "Honda")).isAbsent(); assertThat(Enums.getIfPresent(TestEnum.class, "poodlE")).isAbsent(); } public void testGetIfPresent_whenNoMatchingConstant() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
*/ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_supportedPresent() { assertTrue(getMap().remove(k0(), v0())); expectMissing(e0()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_supportedPresentKeyWrongValue() { assertFalse(getMap().remove(k0(), v3())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_supportedWrongKeyPresentValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
*/ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
scenario, expectedOutcome); } @Override protected void runTest() throws Throwable { final Runnable runChosenTest = new Runnable() { @Override public void run() { runChosenTest(); } }; final FutureTask<@Nullable Void> task = new FutureTask<>(runChosenTest, null); startThread( new Runnable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 27.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsRelatedContent.java
return convertEmptyToNull(content); } public void setContent(String value) { registerModifiedProperty("content"); this.content = value; } public String getCreatedBy() { checkSpecifiedProperty("createdBy"); return convertEmptyToNull(createdBy); } public void setCreatedBy(String value) { registerModifiedProperty("createdBy");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.1K bytes - Viewed (0)