Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for testMark (0.18 sec)

  1. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
        counter.read();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
        counter.read();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            override fun configureTest(testTask: Test, sourceSetName: String) {
                testTask.filter.isFailOnNoMatchingTests = false
                val classesForSourceSet = includeTestClasses[sourceSetName]
                if (classesForSourceSet == null) {
                    // No classes included, disable
                    testTask.enabled = false
                } else {
                    testTask.filter.includePatterns.addAll(classesForSourceSet)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Dec 08 06:28:57 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

            else emptyList()
    
        @Internal
        override fun getName() =
            "libsRepository"
    }
    
    
    class GradleInstallationForTestEnvironmentProvider(project: Project, private val testTask: DistributionTest) : CommandLineArgumentProvider, Named {
    
        @Internal
        val gradleHomeDir = project.objects.fileCollection()
    
        @Internal
        val gradleUserHomeDir = project.objects.directoryProperty()
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
                tasks.named("check").configure { dependsOn(testTask) }
            }
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

                        implementation(project(":internal-architecture-testing"))
                    }
                }
                targets {
                    all {
                        testTask.configure {
                            testClassesDirs += sharedArchTestClasses.filter { it.isDirectory }
                            classpath += sourceSets.main.get().output.classesDirs
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isStatic(), is(not(true)));
            foo.invokeStatic();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testBar() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc bar = beanDesc.getMethodDesc("bar", String.class);
            assertThat(bar, is(notNullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/pt/docs/project-generation.md

    * Testes _backend_ _REST_ baseados no **Pytest**, integrados com Docker, então você pode testar a interação completa da API, independente do banco de dados. Como roda no Docker, ele pode construir um novo repositório de dados do zero toda vez (assim você pode usar ElasticSearch, MongoDB, CouchDB, ou o que quiser, e apenas testar que a API esteja funcionando).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Oct 17 05:50:32 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top