- Sort Score
- Num 10 results
- Language All
Results 3061 - 3070 of 6,187 for New (0.05 seconds)
-
src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java
*/ public class ConverterRuntimeExceptionTest { /** * @throws Exception */ @Test public void test() throws Exception { final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause")); System.out.println(e.getMessage()); assertThat(e.getPropertyName(), is("hoge")); assertThat(e.getValue(), is((Object) "xxx"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
} return valuesCollectionFeatures; } public static Set<Feature<?>> computeCommonDerivedCollectionFeatures( Set<Feature<?>> mapFeatures) { mapFeatures = new HashSet<>(mapFeatures); Set<Feature<?>> derivedFeatures = new HashSet<>(); mapFeatures.remove(CollectionFeature.SERIALIZABLE); if (mapFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 12.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
File heapdumpDir = new File(project.getBuildDir(), "heapdump"); project.getTasks().withType(Test.class).configureEach(test -> { File testOutputDir = new File(test.getReports().getJunitXml().getOutputLocation().getAsFile().get(), "output"); ErrorReportingTestListener listener = new ErrorReportingTestListener(test.getTestLogging(), test.getLogger(), testOutputDir);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 22:14:49 GMT 2021 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
final String scriptType) { Object target = value; if (template != null) { final Map<String, Object> contextMap = new HashMap<>(); contextMap.put("doc", dataMap); final Map<String, Object> paramMap = new HashMap<>(dataMap.size() + 2); paramMap.putAll(dataMap); paramMap.put("value", target); paramMap.put("context", contextMap);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlTest.java
assertNotNull(tmpDir); assertTrue(tmpDir.exists()); assertTrue(tmpDir.isDirectory()); assertTrue(tmpDir.canRead()); assertTrue(tmpDir.canWrite()); assertEquals(new File(System.getProperty("java.io.tmpdir")).getAbsolutePath(), tmpDir.getAbsolutePath()); } @Test public void test_AllHttpMethodFactories() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
/** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED); assertLessThan(STARTING, RUNNING); assertLessThan(STARTING, STOPPING); assertLessThan(STARTING, FAILED); assertLessThan(RUNNING, STOPPING);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/pager/ReqHeaderPagerTest.java
assertEquals(999, reqHeaderPager.getCurrentPageNumber()); List<Integer> pageNumberList = new ArrayList<Integer>(1); reqHeaderPager.setPageNumberList(pageNumberList); assertEquals(pageNumberList, reqHeaderPager.getPageNumberList()); } public void test_clear() { ReqHeaderPager reqHeaderPager = new ReqHeaderPager(); reqHeaderPager.id = "testId"; reqHeaderPager.name = "testName";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/pager/WebConfigPagerTest.java
assertEquals(999, webConfigPager.getCurrentPageNumber()); List<Integer> pageNumberList = new ArrayList<Integer>(1); webConfigPager.setPageNumberList(pageNumberList); assertEquals(pageNumberList, webConfigPager.getPageNumberList()); } public void test_clear() { WebConfigPager webConfigPager = new WebConfigPager(); webConfigPager.id = "testId"; webConfigPager.name = "testName";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 3.2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
import okhttp3.Response; public class CancelCall { private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); final long startNanos = System.nanoTime();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
private static final Moshi MOSHI = new Moshi.Builder().build(); private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter( Types.newParameterizedType(List.class, Contributor.class)); static class Contributor { String login; int contributions; } public static void main(String... args) throws Exception { OkHttpClient client = new OkHttpClient();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Click Count (0)