Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for testkit (0.05 seconds)

  1. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. .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() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. internal/config/identity/openid/jwt_test.go

    		DiscoveryDoc: DiscoveryDoc{
    			TokenEndpoint: "http://keycloak.test/token/endpoint",
    		},
    	}
    	testKvs := config.KVS{}
    	testKvs.Set(Vendor, "keycloak")
    	testKvs.Set(KeyCloakRealm, "TestRealm")
    	testKvs.Set(KeyCloakAdminURL, "http://keycloak.test/auth/admin")
    	cfgGet := func(param string) string {
    		return testKvs.Get(param)
    	}
    
    	if testConfig.provider != nil {
    		t.Errorf("Empty config cannot have any provider!")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. guava-testlib/README.md

    # Guava Testlib: Google Testing Libraries for Java
    
    Guava testlib is a set of Java classes for more convenient
    unit testing.
    
    ## Adding Guava Testlib to your build
    
    Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`.
    
    To add a dependency on Guava testlib using Maven, use the following:
    
    ```xml
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        }
    
        Map getInitializationParams() {
            return [
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path,
            ]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. android/guava-testlib/pom.xml

      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>999.0.0-HEAD-android-SNAPSHOT</version>
      </parent>
      <artifactId>guava-testlib</artifactId>
      <name>Guava Testing Library</name>
      <description>
        Guava testlib is a set of java classes used for more convenient
        unit testing - particularly to assist the tests for Guava itself.
      </description>
      <dependencies>
        <dependency>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 17:59:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

     */
    public class SecureKeyManagerTest {
    
        private SecureKeyManager keyManager;
        private byte[] testKey;
    
        @BeforeEach
        public void setUp() {
            keyManager = new SecureKeyManager();
            testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
        }
    
        @AfterEach
        public void tearDown() {
            if (keyManager != null) {
                keyManager.close();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/valid1/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid2/", "TestBot"));
            assertTrue(robotsTxt.allows("/valid3/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid4/", "TestBot"));
        }
    
        public void testParse_emptyValues() {
            String robotsTxtContent = "User-agent: TestBot\n" + "Disallow:\n" + "Allow:\n" + "Crawl-delay:\n";
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testImmutableTable() {
        assertFreshInstance(new TypeToken<ImmutableTable<String, Integer, ImmutableList<String>>>() {});
      }
    
      public void testList() {
        assertFreshInstance(new TypeToken<List<String>>() {});
        assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {});
      }
    
      public void testArrayList() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  10. 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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top