Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for testInit (0.05 sec)

  1. 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)
  2. 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
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.internal.TextUtil
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Nov 29 14:03:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. .idea/scopes/Gradle_public_API.xml

    </component>...
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 18 15:08:47 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            "org/gradle/testfixtures/**",
            "org/gradle/testing/jacoco/**",
            "org/gradle/tooling/**",
            "org/gradle/swiftpm/**",
            "org/gradle/model/**",
            "org/gradle/testkit/**",
            "org/gradle/testing/**",
            "org/gradle/vcs/**",
            "org/gradle/work/**",
            "org/gradle/workers/**",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            // Remove scripts caches
            fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile)
    
            // Remove script caches from TestKit integTest temp dir
            // location defined in TempTestKitDirProvider, copied here
            val testKitTmpDir = File(File(System.getProperty("java.io.tmpdir")), ".gradle-test-kit-${System.getProperty("user.name")}")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (1)
Back to top