Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 260 for testslice (0.45 sec)

  1. test/fixedbugs/issue29013b.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type TestSuite struct {
    	Tests []Test
    }
    type Test struct {
    	Want interface{}
    }
    type Int struct {
    	i int
    }
    
    func NewInt(v int) Int {
    	return Int{i: v}
    }
    
    var Suites = []TestSuite{
    	Dicts,
    }
    var Dicts = TestSuite{
    	Tests: []Test{
    		{
    			Want: map[Int]bool{NewInt(1): true},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 03 16:48:21 UTC 2018
    - 616 bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/internal/NativeTestSuites.java

        }
        public static Collection<NativeBinarySpec> testedBinariesOf(NativeTestSuiteSpec testSuite) {
            return testedBinariesWithType(NativeBinarySpec.class, testSuite);
        }
    
        public static <S> Collection<S> testedBinariesWithType(Class<S> type, NativeTestSuiteSpec testSuite) {
            VariantComponentSpec spec = (VariantComponentSpec) testSuite.getTestedComponent();
            if (spec == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestSuiteTest.groovy

        def testSuite = project.objects.newInstance(DefaultSwiftXCTestSuite, "test")
    
        def "has display name"() {
    
            expect:
            testSuite.displayName.displayName == "XCTest suite 'test'"
            testSuite.toString() == "XCTest suite 'test'"
        }
    
        def "has implementation dependencies"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/JUnitPlatformTestFixture.groovy

        List<TestClass> testClasses = []
        List<TestSuite> testSuites = []
    
        abstract TestFile getProjectDir()
    
        TestClass testClass(String name) {
            def testClass = new TestClass(name, projectDir)
            testClasses.add(testClass)
            return testClass
        }
    
        TestSuite testSuite(String name) {
            def testSuite = new TestSuite(name, this)
            testSuites.add(testSuite)
            return testSuite
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

            "test suite appear before test case" | [testTaskName, "--tests", "${testSuite('SomeTest')}.*", "--tests", "${testSuite('SomeTest')}.$passingTestCaseName"]
            "test suite appear after test case"  | [testTaskName, "--tests", "${testSuite('SomeTest')}.$passingTestCaseName", "--tests", "${testSuite('SomeTest')}.*"]
        }
    
        protected DefaultTestExecutionResult getTestResult() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy

            xml == """<?xml version="1.0" encoding="UTF-8"?>
    <testsuite name="com.foo.FooTest" tests="1" skipped="0" failures="0" errors="0" timestamp="2012-11-19T17:09:28" hostname="localhost" time="0.3">
      <properties/>
      <testcase name="some test" classname="com.foo.FooTest" time="0.2"/>
      <system-out><![CDATA[]]></system-out>
      <system-err><![CDATA[]]></system-err>
    </testsuite>
    """
        }
    
        def "encodes xml"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/PerformanceTestPluginTest.kt

                writeText(
                    """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <testsuite name="TestSuite" tests="$tests" skipped="$skipped" failures="0" errors="0">
                    </testsuite>
                    """.replaceIndent()
                )
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1002 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class);
    
      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top