Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for testkit (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. 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 docsRoot
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 16:24:54 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            assertEquals("testDir", sdd.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command);
        }
    
        /**
         * Test writeParameterWordsWireFormat.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            byte[] dst = new byte[10];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K 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-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Given
                int testMid = 42;
    
                // When
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(mockConfig, testMid);
    
                // Then
                assertNotNull(cancel);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. cmd/sftp-server_test.go

    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    		c.Fatalf("could not parse test key file: %s", err)
    	}
    
    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errAuthentication) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top