- Sort Score
- Num 10 results
- Language All
Results 3981 - 3990 of 5,478 for newA (0.04 seconds)
-
mockwebserver-junit4/README.md
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance will be shut down automatically after the test runs.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 706 bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java
/** * @author higa */ public class CaseInsensitiveSetTest { /** * @throws Exception */ @Test public void testContains() throws Exception { final Set<String> set = new CaseInsensitiveSet(); set.add("one"); assertThat(set.contains("ONE"), is(true)); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerLoginFailureException.java
* */ public class CrawlerLoginFailureException extends CrawlerSystemException { private static final long serialVersionUID = 1L; /** * Constructs a new CrawlerLoginFailureException with the specified detail message. * * @param message the detail message. */ public CrawlerLoginFailureException(final String message) { super(message); }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 1.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProvider.java
return true; } @Override public boolean isPrettyPrintSuppressed() { return false; } @Override public JsonMappingOption provideMappingOption() { return new JsonMappingOption().asFieldNaming(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java
import javax.inject.Named; /** * Wagon with per-lookup instantiation strategy. */ @Named("perlookup") public class PerLookupWagon extends WagonMock { public String[] getSupportedProtocols() { return new String[] {"perlookup"}; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test array bounds validation") void testArrayBounds() { byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100)); assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
*/ @Beta public abstract class AbstractNetwork<N, E> implements Network<N, E> { /** Constructor for use by subclasses. */ public AbstractNetwork() {} @Override public Graph<N> asGraph() { return new AbstractGraph<N>() { @Override public Set<N> nodes() { return AbstractNetwork.this.nodes(); } @Override public Set<EndpointPair<N>> edges() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 10K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
*/ Iterable<FieldDesc> getFieldDescs(); /** * Creates a new instance. * * @param <T> * The type of the Bean class * @param args * The arguments to pass to the constructor * @return A new instance */ <T> T newInstance(Object... args); /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ElevateWordDbm.java
// Singleton // ========= private static final ElevateWordDbm _instance = new ElevateWordDbm(); private ElevateWordDbm() { } public static ElevateWordDbm getInstance() { return _instance; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/ClickLogDbm.java
// Singleton // ========= private static final ClickLogDbm _instance = new ClickLogDbm(); private ClickLogDbm() { } public static ClickLogDbm getInstance() { return _instance; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.6K bytes - Click Count (0)