Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,084 for runners (0.24 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/ports/ReleasingPortAllocatorTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.util.ports
    
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    import spock.lang.Specification
    
    
    class ReleasingPortAllocatorTest extends Specification {
        def "releases ports after a test"() {
            PortAllocator delegate = Mock(PortAllocator)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 08 19:04:13 UTC 2015
    - 1.4K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/util/internal/RedirectStdOutAndErr.java

    import org.apache.commons.io.output.ProxyOutputStream;
    import org.apache.commons.io.output.TeeOutputStream;
    import org.junit.rules.MethodRule;
    import org.junit.runners.model.FrameworkMethod;
    import org.junit.runners.model.Statement;
    
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SidTest.java

    
    import static org.junit.Assert.assertEquals;
    
    import java.io.IOException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    import jcifs.smb.SID;
    
    
    /**
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

     */
    package okhttp.regression.compare
    
    import androidx.test.ext.junit.runners.AndroidJUnit4
    import org.apache.hc.client5.http.classic.methods.HttpGet
    import org.apache.hc.client5.http.impl.classic.HttpClients
    import org.apache.hc.core5.http.HttpVersion
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Apache HttpClient 5.x.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

    import org.junit.BeforeClass
    import org.junit.Ignore
    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runner.RunWith
    import org.junit.runner.Runner
    import org.junit.runner.notification.Failure
    import org.junit.runner.notification.RunNotifier
    import org.junit.runners.Parameterized
    import org.junit.runners.Suite
    import org.junit.runners.model.RunnerBuilder
    
    import static org.junit.Assume.assumeTrue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/SetSystemPropertiesTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.util
    
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    import spock.lang.Specification
    
    class SetSystemPropertiesTest extends Specification {
        public static final String TEST_PROPERTY = 'org.gradle.foo'
        def base = Mock(Statement)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/templates/java-android-application/app/src/androidTest/java/org/gradle/samples/ExampleInstrumentedTest.java

    package org.gradle.samples;
    
    import android.content.Context;
    
    import androidx.test.platform.app.InstrumentationRegistry;
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import static org.junit.Assert.*;
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 752 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/java-android-application/src/androidTest/java/org/gradle/samples/ExampleInstrumentedTest.java

    package org.gradle.samples;
    
    import android.content.Context;
    
    import androidx.test.platform.app.InstrumentationRegistry;
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import static org.junit.Assert.*;
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 752 bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerBuildOperationAdapterIntegrationTest.groovy

        @Override
        void writeTestSources() {
            file('src/test/java/org/gradle/ASuite.java') << """
                package org.gradle;
                import org.junit.runner.RunWith;
                import org.junit.runners.Suite;
                @RunWith(Suite.class)
                @Suite.SuiteClasses({OkTest.class, OtherTest.class })
                public class ASuite {
                    static {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

    import assertk.assertions.isTrue
    import java.net.ConnectException
    import java.util.concurrent.atomic.AtomicBoolean
    import org.junit.Assert.fail
    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    class MockWebServerRuleTest {
      @Test fun statementStartsAndStops() {
        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top