- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,718 for testPass (0.16 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerIntegrationTest.groovy
assert containsLine(result.getOutput(), "FINISH [Test class SomeTest] [SomeTest]") assert containsLine(result.getOutput(), "START [Test testPass(SomeTest)] [testPass]") assert containsLine(result.getOutput(), "FINISH [Test testPass(SomeTest)] [testPass] [null]") assert containsLine(result.getOutput(), "START [Test testFail(SomeTest)] [testFail]")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy
import junit.framework.*; public class FooTest extends TestCase { public void testPass() {} public void testOk() {} } """.stripIndent() when: succeeds("test", "--tests", "FooTest.testPass") then: def result = new DefaultTestExecutionResult(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
return server; } public void test_doGet_root_dir() throws FtpException { FtpServer server = null; try { String username = "testuser"; String password = "testpass"; server = startFtpServer(FTP_PORT, username, password); Map<String, Object> params = new HashMap<String, Object>(); FtpAuthentication auth = new FtpAuthentication();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_json_panic_exit.txt
stdout '"Action":"fail".*\n\z' ! stdout '"Test":.*\n\z' -- go.mod -- module example.com/test go 1.14 -- pass/pass_test.go -- package pass_test import "testing" func TestPass(t *testing.T) {} -- exit0main/exit0main_test.go -- package exit0_test import ( "os" "testing" ) func TestMain(m *testing.M) { os.Exit(0) } -- exit1main/exit1main_test.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 19:50:36 UTC 2022 - 1.2K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy
List<XCTestCaseElement> testCases = [ testCase(failingTestCaseName, FAILING_TEST, true), passingTestCase(passingTestCaseName) ] }.withImport(libcModuleName), new XCTestSourceFileElement("SomeOtherTest") { List<XCTestCaseElement> testCases = [ passingTestCase(passingTestCaseName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
FtpAuthentication auth = new FtpAuthentication(); auth.setServer("hostname"); auth.setPort(21); auth.setUsername("testuser"); auth.setPassword("testpass"); assertTrue(auth.matches("ftp://hostname:21/test/aaa.html")); assertTrue(auth.matches("ftp://hostname/test/aaa.html")); assertTrue(auth.matches("ftp://hostname:21/test"));
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitClassDetectionIntegrationTest.groovy
public class SomeTest extends BasePlatformTestCase { public void testPass() { } } """ when: succeeds("test", "--tests", "SomeTest") then: new DefaultTestExecutionResult(testDirectory).testClass('com.example.SomeTest').assertTestCount(1, 0, 0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.5K bytes - Viewed (0) -
src/runtime/race/output_test.go
package main_test import "testing" func TestFail(t *testing.T) { done := make(chan bool) x := 0 _ = x go func() { x = 42 done <- true }() x = 43 <-done } func TestPass(t *testing.T) { } `, []string{` ================== --- FAIL: TestFail \([0-9.]+s\) .*testing.go:.*: race detected during execution of test FAIL`}}, {"mutex", "run", "", "atexit_sleep_ms=0", `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy
} } boolean testClassExists(String testClass) { return new File(htmlReportDirectory, "classes/${FileUtils.toSafeFileName(testClass)}.html").exists() } boolean testClassDoesNotExist(String testClass) { return !testClassExists(testClass) } TestClassExecutionResult testClass(String testClass) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseAstTransformThatReferencesGroovyTestCase/src/main/groovy/TestCase.java
* limitations under the License. */ import org.codehaus.groovy.transform.GroovyASTTransformationClass; @GroovyASTTransformationClass({"TestCaseTransform"})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 768 bytes - Viewed (0)