- Sort Score
- Num 10 results
- Language All
Results 2281 - 2290 of 5,742 for text (0.02 seconds)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.lang.reflect.Method; import org.junit.Test; /** * @author higa * */ public class StringUtilTest { /** * @throws Exception */ @Test public void testReplace() throws Exception { assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
} @Test @DisplayName("Test FileBasicInfo size method") void testFileBasicInfoSize() { // Given FileBasicInfo info = new FileBasicInfo(); // When & Then assertEquals(40, info.size()); } @Test @DisplayName("Test FileBasicInfo toString method") void testFileBasicInfoToString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
// Test with null properties assertTrue(Features.deployBuildPom(null)); } @Test void testDeployBuildPomWithStringTrue() { // Test with string "true" Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "true"); assertTrue(Features.deployBuildPom(properties)); } @Test void testDeployBuildPomWithStringFalse() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
import java.util.List; import org.junit.Before; import org.junit.Test; public class ElevateWordTest { private ElevateWord elevateWord; @Before public void setUp() { // Setup for each test } @Test public void testConstructorWithAllParameters() { // Test constructor with all parameters String word = "test word"; float boost = 2.5f;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* AbstractPackageSanityTests} doesn't know how to construct, the test will fail. * <li>If there is no visible constructor or visible static factory method declared by {@code * C}, {@code C} is skipped for serialization test, even if it implements {@link * Serializable}. * <li>Serialization test is not performed on method return values unless the method is a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
.github/workflows/build.yml
- name: Run Tests run: ./gradlew test allTests -Ptest.java.version=${{ matrix.java-version }} - name: Publish Test Report if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' && matrix.java-version == '11' uses: mikepenz/action-junit-report@v6 with: report_paths: '**/build/test-results/*/TEST-*.xml' check_name: OpenJDK 11 Test ReportCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 16:19:02 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
} } catch (NullPointerException e) { // Expected in test environment due to missing dependencies assertTrue("Test environment limitation", true); } } // Test rewrite method @Test public void test_rewrite_withNoRewriters() { SearchRequestParams params = createMockSearchRequestParams();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test getBatchLimit method") void testGetBatchLimit() { // Test default batch limit assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation")); // Test unspecified batch limit assertEquals(1, config.getBatchLimit("UnknownCommand")); // Test caching behaviorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ElementOrderTest.java
import java.util.Comparator; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for ordering the elements of graphs. */ @RunWith(JUnit4.class) @NullUnmarked public final class ElementOrderTest { // Node order tests @Test public void nodeOrder_none() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
// Then assertEquals(40, result); // Returns 40 bytes written } @Test void testReadSetupWireFormat() { // When int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @Test void testReadParametersWireFormat() { // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0)