- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 224 for assertNull (0.14 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
accessResultDataImpl.setTransformerName("fileTransformer"); setBaseDir(); final Object obj = fileTransformer.getData(accessResultDataImpl); assertNull(obj); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(double.class, TypeToken.of(double[].class).getComponentType().getType()); assertNull(TypeToken.of(Object.class).getComponentType()); assertNull(TypeToken.of(void.class).getComponentType()); } public <T> void testGetComponentType_genericArrayClasses() { assertNull(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
expectedSpan = expectedSpan.span(itr.next()); } } try { Range<C> span = rangeSet.span(); assertEquals(expectedSpan, span); } catch (NoSuchElementException e) { assertNull(expectedSpan); } // test that asDescendingSetOfRanges is the reverse of asRanges assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePollTester<E> extends AbstractQueueTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testPoll_size1() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
assertEqualInOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualInOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePeekTester<E> extends AbstractQueueTester<E> { @CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testPeek_size1() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java
assertEquals("http://hoge.com/peke.html", urlConvertHelper.convert(url)); } public void test_convert_null() { String url; url = null; assertNull(urlConvertHelper.convert(url)); url = ""; assertEquals("", urlConvertHelper.convert(url)); url = " "; assertEquals(" ", urlConvertHelper.convert(url)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
public void testCreateParentDirs_root() throws IOException { File file = root(); assertNull(file.getParentFile()); assertNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertNull(file.getParentFile()); assertNotNull(file.getCanonicalFile().getParentFile());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req)); } public void test_getAccessTokenFromRequest_bad0() { MockletHttpServletRequest req = getMockRequest(); assertNull(accessTokenHelper.getAccessTokenFromRequest(req)); } public void test_getAccessTokenFromRequest_bad1() { final String token = "INVALID _TOKEN0"; MockletHttpServletRequest req = getMockRequest();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java
assertEquals("text/html", accessResult3.getMimeType()); dataService.delete("id1"); final AccessResult accessResult4 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNull(accessResult4); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0)