- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for testInit (0.05 sec)
-
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
@AfterEach fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @Test fun testInit() { Platform.resetForTests() applyStrictMode() // Not currently safe // See https://github.com/square/okhttp/pull/8248 OkHttpClient() assertThat(violations).hasSize(1)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 21 12:33:41 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
// Test constructor initialization AnalyzerConverter testConverter = new AnalyzerConverter(client, settings); assertNotNull(testConverter); } @Test public void testInit() throws IOException { // Test init method (should do nothing) converter.init(); // No exception should be thrown } @TestRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
/** * Test the init method of the servlet. * Verifies that servlet is correctly initialized with parameters from ServletConfig. * @throws ServletException */ @Test void testInit() throws ServletException { assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); // Further assertions can be added here to check the internal state of the servlet if fields were protected/public }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
* limitations under the License. */ package gradlebuild.binarycompatibility import org.gradle.kotlin.dsl.* import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.UnexpectedBuildFailure import org.hamcrest.Matcher import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers import org.intellij.lang.annotations.Language
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
* limitations under the License. */ package gradlebuild.testcleanup import org.apache.commons.lang3.StringUtils import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jun 18 10:36:40 UTC 2025 - 10.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import com.google.gson.Gson import org.gradle.testkit.runner.TaskOutcome import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Mar 14 02:17:00 UTC 2025 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Sink sink = new Sink(4); sink.putShort((short) 0x0201); HashCode unused = sink.hash(); sink.assertInvariants(2); sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros } public void testInt() { Sink sink = new Sink(4); sink.putInt(0x04030201); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs import org.gradle.testkit.runner.GradleRunner import spock.lang.Specification import spock.lang.TempDir class FindBrokenInternalLinksTest extends Specification { @TempDir private File projectDir private File docsRootRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 21 16:24:54 UTC 2025 - 11.6K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
assertFalse( containsSrcFileWithString( File(it, "src/integTest"), "CrossVersion", listOf("package org.gradle.testkit", "CrossVersionPerformanceTest"), ), ) } } @Test fun long_ids_are_shortened() {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 16 01:27:05 UTC 2025 - 14.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigInteger halfEven = BigIntegerMath.sqrt(x, HALF_EVEN); // Now figure out what rounding mode we should behave like (it depends if FLOOR was // odd/even). boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0); assertEquals(BigIntegerMath.sqrt(x, floorWasOdd ? HALF_UP : HALF_DOWN), halfEven); } } @GwtIncompatible // TODO @AndroidIncompatible // slow public void testDivNonZero() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0)