- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 3,585 for unit (0.02 seconds)
-
src/test/java/jcifs/internal/witness/WitnessNotificationTest.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.assertTrue; import java.net.InetAddress; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Unit tests for WitnessNotification class. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.interval; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; /** * Test class for FessIntervalController. * Tests the error handling improvements and delay functionality. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
} } class NoOpTestClassProvider : BuildBucketProvider { override fun configureTest(testTask: Test, sourceSetName: String) = Unit }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (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())Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 22 08:12:58 GMT 2025 - 4.4K bytes - Click Count (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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
} } } } private fun projectS(num: Int) = if (num == 1) "project" else "projects" private inline fun printResult(block: NullawayStatusService.() -> Unit) { val delimiter = "=".repeat(72) println(delimiter) block() println(delimiter) } companion object { val SERVICE_NAME = NullawayStatusService::class.qualifiedName!!Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
import java.io.Serializable; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link ImmutableClassToInstanceMap}. * * @author Kevin Bourrillion */ @NullUnmarked final class ClassToInstanceMapTesting { abstract static class TestClassToInstanceMapGeneratorCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Flushables}. * * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are notCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
import com.google.common.testing.NullPointerTester; import java.text.ParseException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} } } private fun prepareScenariosStep( testProject: String, scenarios: List<Scenario>, os: Os, ): BuildSteps.() -> Unit { if (scenarios.isEmpty()) { throw IllegalArgumentException("Scenarios list must not be empty for $testProject") } val csvLines = scenarios.map { "${it.className};${it.scenario}" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0)