Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 385 for test32 (0.17 sec)

  1. testing/performance/src/templates/project-with-source/Test.scala

    package ${packageName}
    
    import org.junit.Assert._
    
    class ${testClassName} {
        val production = new ${productionClassName}("value")
    
        @org.junit.Test
        def test() {
            assertEquals(production.property, "value")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 229 bytes
    - Viewed (0)
  2. testing/performance/src/templates/with-verbose-junit/Test.java

        @org.junit.Test
        public void testOne() {
            for (int i = 0; i < 1000; i++) {
                System.out.println("Some test output from ${testClassName}.testOne - " + i);
                System.err.println("Some test error  from ${testClassName}.testOne - " + i);
            }
            assertEquals(production.getProperty(), "value");
        }
    
        @org.junit.Test
        public void testTwo() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 991 bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/maven/MavenResolveTestFixture.groovy

     * from the integration test's local maven repository.
     *
     * <p>Intended to verify that POMs published by Gradle can be consumed by Maven. Tests should
     * publish artifacts to {@link AbstractIntegrationSpec#mavenRepo} and then use the resolve exposed
     * by this fixture to run tests against those published artifacts.</p>
     */
    @SelfType(AbstractIntegrationSpec.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/DefaultTestReportTest.groovy

            testClassFile.assertHasTest('test1 < test2')
            testClassFile.assertHasFailure('test1 < test2', '<a failure>')
            testClassFile.assertHasStandardOutput('</html> & ')
            testClassFile.assertHasStandardError('</div> & ')
        }
    
        def encodesUnicodeCharactersInReport() {
            given:
            report = reportWithMaxThreads(1)
            def testTestResults = buildResults {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultTestLauncherTest.groovy

                assert request.testClassNames == ["test"]
                assert request.testExecutionDescriptors == []
    
                assert request.getInternalJvmTestRequests().collect {[it.className, it.methodName]} == [["test", null]]
    
                launcher.withJvmTestClasses("test2")
                launcher.withTests(Stub(TestOperationDescriptor))
    
                assert request.testClassNames == ["test"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. pkg/api/v1/pod/util_test.go

    		},
    	}
    
    	for _, test := range tests {
    		resultStatus, exists := GetContainerStatus(test.status, test.name)
    		assert.Equal(t, test.expected.status, resultStatus, "GetContainerStatus: "+test.desc)
    		assert.Equal(t, test.expected.exists, exists, "GetContainerStatus: "+test.desc)
    
    		resultStatus = GetExistingContainerStatus(test.status, test.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    						Expression: "this.expression == unit.test",
    						Message:    "test2",
    					},
    				},
    			},
    			policyDecision: []PolicyDecision{
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test1",
    				},
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test2",
    				},
    			},
    			failPolicy: &fail,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            value = "ftp://123.123.123.123:21/test1/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value);
            assertEquals("ftp://123.123.123.123/test1/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/test1", ftpInfo.getParent());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertFalse(htmlTransformer.isValidPath(value));
        }
    
        public void test_encodeUrl_valid() {
            String url = "http://TEST.com/hoge/;jsessionid?p=id&test=ใƒ†ใ‚นใƒˆ&u=18718&v=123%3d#test";
            String result = "http://TEST.com/hoge/;jsessionid?p=id&test=%E3%83%86%E3%82%B9%E3%83%88&u=18718&v=123%3d#test";
            assertEquals(result, htmlTransformer.encodeUrl(url, "UTF-8"));
    
            url = ".-*_:/+%=&?#[]@~!$'(),;";
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/plugins/MavenPublishPluginTest.groovy

            project.tasks["generatePomFileForTestPublication"].destination == new File(newBuildDir, "publications/test/pom-default.xml")
        }
    
        def "creates publish tasks for all publications in a repository"() {
            when:
            publishing.publications.create("test", MavenPublication)
            publishing.publications.create("test2", MavenPublication)
            publishing.repositories { maven { url = "http://foo.com" } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top