- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,332 for Assert (0.1 seconds)
-
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
*/ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa * */ public class SRuntimeExceptionTest { /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
* be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname. */ tcax.setPath("\\\\" + this.netbiosName + "\\IPC$"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rerun/InternalTestRerunPluginFuncTest.groovy
if(count <= ${timesFailing}) { try { Thread.sleep(2000); } catch(Exception e) {} Assert.fail(); } """ : '' } """ } private File createSystemExitTest(String clazzName, timesFailing = 1) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 8.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
import static com.google.common.io.SourceSinkFactory.CharSourceFactory; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertThrows; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.google.common.hash.HashCode; import java.io.ByteArrayInputStream;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
*/ package org.codelibs.fess.suggest.index.contents.document; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Random; import java.util.Set;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 8.7K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
package okhttp.regression.compare; import androidx.test.ext.junit.runners.AndroidJUnit4; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.Request; import static org.junit.Assert.assertEquals; import okhttp3.Response; import org.junit.Test; import org.junit.runner.RunWith; /** * OkHttp. * * https://square.github.io/okhttp/ */ @RunWith(AndroidJUnit4.class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 14 17:38:22 GMT 2020 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
*/ package org.codelibs.core.exception; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */ public class SIndexOutOfBoundsExceptionTest { /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
import org.apache.hc.client5.http.classic.methods.HttpGet import org.apache.hc.client5.http.impl.classic.HttpClients import org.apache.hc.core5.http.HttpVersion import org.junit.After import org.junit.Assert.assertEquals import org.junit.Ignore import org.junit.Test import org.junit.runner.RunWith /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.reflect; import static org.junit.Assert.assertThrows; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import java.lang.reflect.TypeVariable; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
TESTING.asciidoc
a way that: - it no longer depends on objects that are hard to instantiate such as `IndexShard` or `SearchContext`, - time-based eviction is applied on top of the cache rather than internally, which makes it easier to assert on what the cache is expected to contain at a given time. === Bad practices ==== Use randomized-testing for coverage In general, randomization should be used for parameters that are not expected
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0)