- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 2,881 for unit (0.03 sec)
-
.github/pull_request_template.md
- [ ] Each commit in the pull request should have a meaningful subject line and body. Note that commits might be squashed by a maintainer on merge. - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best-practice. - [ ] Run `mvn verify` to make sure basic checks pass.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:30:05 UTC 2025 - 1.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt
import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity /** * Verifies the correct behavior of a feature, as opposed to just a small unit of code. * Usually referred to as 'functional tests' in literature, but our code base has historically * been using the term 'integration test'. */ @CacheableTask abstract class IntegrationTest : DistributionTest() {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for NetworkInterfaceInfo */ @ExtendWith(MockitoExtension.class) class NetworkInterfaceInfoTest { private InetAddress testAddress; private InetAddress loopbackAddress; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
import model.CIBuildModel import model.JsonBasedGradleSubprojectProvider import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.CsvSource import java.io.File /*
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Nov 20 07:29:52 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
package jcifs.internal.witness; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.net.InetAddress; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
val responseString = same.body.string() assertThat(responseString).isEmpty() } private fun response( url: String, bodyHex: ByteString, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .body(bodyHex.toResponseBody("text/plain".toMediaType())) .code(200) .message("OK") .request(Request.Builder().url(url).build())Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 22 08:12:58 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* The precision of this field is seconds; further precision will be truncated. */ fun duration( duration: Long, unit: TimeUnit, ) = apply { val now = System.currentTimeMillis() validityInterval(now, now + unit.toMillis(duration)) } /** * Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
import com.google.common.util.concurrent.TestExceptions.SomeCheckedException; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link Callables}. * * @author Isaac Shum */ @GwtCompatible @NullUnmarked public class CallablesTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
import com.google.common.testing.SerializableTester; import java.io.Serializable; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link HashMultiset}. * * @author Kevin Bourrillion * @author Jared Levy */ @GwtCompatible @NullMarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)