- Sort Score
- Num 10 results
- Language All
Results 3321 - 3330 of 5,742 for text (0.13 seconds)
-
android/guava-tests/test/com/google/common/base/OptionalTest.java
return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() { Optional<Integer> optionalInt = getSomeOptionalInt(); // Number value = optionalInt.or(0.5); // error
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
// Configure the mock to return the OEM encoding which is required for writeString when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); cmd = new SmbComQueryInformation(mockConfig, "testfile.txt"); } @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
README.md
# Clean and rebuild mvn clean compile # Install to local repository mvn install ``` ### Testing ```bash # Run all tests (JUnit 4 based) mvn test # Run specific test class mvn test -Dtest=SpecificTest # Alternative test runner mvn surefire:test ``` ### Code Quality ```bash # Generate code coverage reports mvn jacoco:report # License header validation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/depmgmt/root-distance-explicit.xml
<modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>0.1-SNAPSHOT</version> <dependencyManagement> <dependencies> <dependency> <groupId>test</groupId> <artifactId>other</artifactId> <version>0.1-SNAPSHOT</version>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
@BeforeEach void setUp() { // Initialize mocks and captors before each test MockitoAnnotations.openMocks(this); openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class); closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class); } @Test void constructor_shouldOpenDomainSuccessfully() throws IOException { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
public interface TearDown { /** * Performs a <b>single</b> tear-down operation. See test-libraries-for-java's {@code * com.google.common.testing.junit3.TearDownTestCase} and {@code * com.google.common.testing.junit4.TearDownTestCase} for example. * * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of * JUnit test case you are running under. To avoid failing in the face of an exception regardlessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
IntMath.biggestBinomials[k] == Integer.MAX_VALUE || !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k))); // In the first case, any int is valid; in the second, we want to test that the next-bigger // int overflows. } assertFalse( fitsInInt( BigIntegerMath.binomial( 2 * IntMath.biggestBinomials.length, IntMath.biggestBinomials.length))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
import org.eclipse.aether.repository.LocalRepository; import org.eclipse.aether.util.version.GenericVersionScheme; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java
*/ package org.apache.maven.cli; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** */ @Deprecated class CleanArgumentTest { @Test void cleanArgs() { String[] args = { "\"", }; CleanArgument.cleanArgs(args); } @Test void cleanArgsShouldRemoveWrongSurroundingQuotes() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 2.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import java.io.IOException import java.nio.charset.StandardCharsets import okio.Buffer import org.junit.jupiter.api.Test class FormBodyTest { @Test fun urlEncoding() { val body = FormBody .Builder() .add("a+=& b", "c+=& d") .add("space, the", "final frontier") .add("%25", "%25") .build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.9K bytes - Click Count (0)