Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for testInit (0.06 seconds)

  1. android-test/src/androidDeviceTest/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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. 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
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/TestingConventionsTasksIT.java

                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention1",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention2",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention3",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$NamingConventionIT",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
            FileUtils.deleteDirectory(testDir);
        }
    
        @Test
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
            assertEquals(0, dictionaryManager.creatorList.size());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. .idea/scopes/Gradle_public_API.xml

    </component>...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 18 15:08:47 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/ReaperPluginIT.java

     * Side Public License, v 1.
     */
    package org.elasticsearch.gradle;
    
    import org.elasticsearch.gradle.internal.test.GradleIntegrationTestCase;
    import org.gradle.testkit.runner.BuildResult;
    
    public class ReaperPluginIT extends GradleIntegrationTestCase {
        @Override
        public String projectName() {
            return "reaper";
        }
    
        public void testCanLaunchReaper() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 935 bytes
    - Click Count (0)
Back to Top