- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,790 for news (0.03 sec)
-
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * <pre>{@code * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * }</pre> * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
mockwebserver/README.md
// Create a MockWebServer. These are lean enough that you can create a new // instance for every unit test. MockWebServer server = new MockWebServer(); // Schedule some responses. server.enqueue(new MockResponse().setBody("hello, world!")); server.enqueue(new MockResponse().setBody("sup, bra?")); server.enqueue(new MockResponse().setBody("yo dog")); // Start the server. server.start();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
CIFSContext ctx = getContext().withCredentials(new NtlmNtHashAuthenticator(getTestUserDomain(), getTestUser(), hash)); try ( SmbResource f = new SmbFile(getTestShareURL(), ctx); ) { checkConnection(f); f.resolve("test").exists(); } } @Test public void logonAnonymous () throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
int result = cli.doMain(new CliRequest(args, classWorld)); MessageUtils.systemUninstall(); return result; } // TODO need to externalize CliRequest public static int doMain(String[] args, ClassWorld classWorld) { MavenCli cli = new MavenCli(); return cli.doMain(new CliRequest(args, classWorld)); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
class OrganizationTest { @Test void testHashCodeNullSafe() { new Organization().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
if (logger.isDebugEnabled()) { logger.debug("Failed to replace with new index.", e); } throw new SuggesterException("Failed to replace with new index.", e); } } public void switchIndex() { try { final List<String> updateIndices = new ArrayList<>(); final String updateAlias = getUpdateAlias(index);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
final ExtractorFactory extractorFactory = new ExtractorFactory(); final Extractor extractor = new Extractor() { public ExtractData getText(final InputStream in, final Map<String, String> params) { return null; } }; assertNull(extractorFactory.getExtractor("test")); final List<String> list = new ArrayList<String>(); list.add("test");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
this.delegate = new ArtifactDescriptorReaderDelegate(); } @Override public ArtifactDescriptorResult readArtifactDescriptor( RepositorySystemSession session, ArtifactDescriptorRequest request) throws ArtifactDescriptorException { ArtifactDescriptorResult result = new ArtifactDescriptorResult(request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
* */ class ScmTest { @Test void testHashCodeNullSafe() { new Scm().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Scm().equals(null)); new Scm().equals(new Scm()); } @Test void testEqualsIdentity() { Scm thing = new Scm(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
if (baseDir == null) { if (path == null) { // current directory baseDir = new File("."); } else { baseDir = new File(path); if (!baseDir.isDirectory() && !baseDir.mkdirs()) { throw new CrawlerSystemException("Could not create " + baseDir.getAbsolutePath()); } } } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0)