- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 2,062 for test4 (0.02 sec)
-
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
CustomTestObject testValue = new CustomTestObject("test", 123); OptionalEntity<CustomTestObject> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertTrue(result.isPresent()); assertEquals(testValue, result.get()); assertEquals("test", result.get().getName()); assertEquals(123, result.get().getValue()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; // It would be cool if there was a hook that I could use to set up a test environment. // I want to set up a local/remote repositories for testing but I don't want to have
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
class ConstructorInvalidInputs { @Test @DisplayName("Null handle triggers NullPointerException") void ctor_nullHandle_throwsNPE() { // Act + Assert assertThrows(NullPointerException.class, () -> new SmbPipeOutputStream(null, tree)); } @Test @DisplayName("Null tree handle triggers NullPointerException")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.dcerpc.rpc.sid_t; import jcifs.smb.SID; class LsarSidArrayXTest { @Test void testConstructorWithJcifsSIDArrayAndUnwrap() { // Create mock SID objects SID mockSid1 = mock(SID.class); SID mockSid2 = mock(SID.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler-opensearch/pom.xml
<scope>test</scope> </dependency> <dependency> <groupId>org.dbflute.utflute</groupId> <artifactId>utflute-lasta-di</artifactId> <version>${utflute.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <version>6.1.23</version> <scope>test</scope> </dependency> <dependency>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/poland.js
Validator({name:"plpesel",validatorFunction:function(a){var b=[1,3,7,9,1,3,7,9,1,3],c=0,d=0;if(/\d{11}/.test(a)&&11===a.length){for(var e=0;e<10;e++)c+=a[e]*b[e];if(c%10!==0&&(d=10-c%10),parseInt(a.charAt(10))===d)return!0}return!1},errorMessage:"",errorMessageKey:"badPlPesel"}),a.formUtils.addValidator({name:"plnip",validatorFunction:function(a){var b=[6,5,7,2,3,4,5,6,7],c=0;if(/\d{10}/.test(a)&&10===a.length){for(var d=0;d<9;d++)c+=a[d]*b[d];if(parseInt(a.charAt(9))===c%11)return!0}return!1},e...Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.sql.Timestamp; import org.junit.Test; /** * @author higa */ public class NumberConverterTest { /** * @throws Exception */ @Test public void testGetAsObject() throws Exception { final NumberConverter converter = new NumberConverter("##0");Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
assertThat(source.exhausted()).isTrue() } } socketHandler.awaitSuccess() } } @Test fun upgradeHttps() { enableTls(Protocol.HTTP_1_1) upgrade() } @Test fun upgradeRefusedByServer() { server.enqueue(MockResponse(body = "normal request")) val requestWithUpgrade = Request .Builder()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
* @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
public class BooleanFunctionTest extends UnitFessTestCase { public void test_apply_string() { BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty(); assertTrue(isNotEmpty.apply("test")); assertTrue(isNotEmpty.apply("a")); assertFalse(isNotEmpty.apply("")); assertFalse(isNotEmpty.apply(null)); } public void test_apply_integer() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0)