- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for test_transform (0.23 sec)
-
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
import org.xml.sax.InputSource; public class FessXpathTransformerTest extends UnitFessTestCase { private static final Logger logger = LogManager.getLogger(FessXpathTransformerTest.class); public void test_transform() throws Exception { String data = "<html><head><title>Test</title></head><body><h1>Header1</h1><p>This is a pen.</p></body></html>"; final FessXpathTransformer fessXpathTransformer = new FessXpathTransformer();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 38.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
} catch (UnsupportedOperationException expected) { } } public void testTransform_absent() { assertEquals(Optional.absent(), Optional.absent().transform(Functions.identity())); assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); } public void testTransform_presentIdentity() { assertEquals(Optional.of("a"), Optional.of("a").transform(Functions.identity()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} catch (UnsupportedOperationException expected) { } } public void testTransform_absent() { assertEquals(Optional.absent(), Optional.absent().transform(Functions.identity())); assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); } public void testTransform_presentIdentity() { assertEquals(Optional.of("a"), Optional.of("a").transform(Functions.identity()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} }, directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testTransform() throws Exception { FluentFuture<Integer> f = FluentFuture.from(immediateFuture(1)) .transform( new Function<Integer, Integer>() { @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} }, directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testTransform() throws Exception { FluentFuture<Integer> f = FluentFuture.from(immediateFuture(1)) .transform( new Function<Integer, Integer>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testTransform_genericsNull() throws Exception { ListenableFuture<?> nullFuture = immediateFuture(null); ListenableFuture<?> transformedFuture = transform(nullFuture, constant(null), directExecutor()); assertNull(getDone(transformedFuture)); } @J2ktIncompatible // TODO(b/324550390): Enable public void testTransform_genericsHierarchy() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Step 4's closeable is now closed. assertClosed(closeable4); // Step 3 still never ran, so its closeable should still be open. assertStillOpen(closeable3); } public void testTransform() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value")) .transform( new ClosingFunction<String, TestCloseable>() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testTransform_genericsNull() throws Exception { ListenableFuture<?> nullFuture = immediateFuture(null); ListenableFuture<?> transformedFuture = transform(nullFuture, constant(null), directExecutor()); assertNull(getDone(transformedFuture)); } @J2ktIncompatible // TODO(b/324550390): Enable public void testTransform_genericsHierarchy() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Step 4's closeable is now closed. assertClosed(closeable4); // Step 3 still never ran, so its closeable should still be open. assertStillOpen(closeable3); } public void testTransform() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value")) .transform( new ClosingFunction<String, TestCloseable>() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
blist.forEach(b -> assertThat(b).isEqualTo(expectedIterator.next())); assertThat(expectedIterator.hasNext()).isFalse(); } public void testTransform_iterator() { List<String> input = asList("1", "2", "3"); Iterable<Integer> result = Iterables.transform( input, new Function<String, Integer>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0)