Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestBroken (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

          fail();
        } catch (NoSuchElementException expected) {
        }
        try {
          empty.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 17:19:08 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

            setName('another test')
        }
    }
    
    public class ABrokenJunit3TestClass extends TestCase {
        static def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException())
    
        public void testBroken() {
            throw failure.rawFailure
        }
    }
    
    public class ATestClassWithSuiteMethod {
        public static junit.framework.Test suite() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            testClass                             |testMethodName        |failure
            ABrokenTestClass                      |'broken'              |ABrokenTestClass.failure
            ABrokenJunit3TestClass                |'testBroken'          |ABrokenJunit3TestClass.failure
            ATestClassWithBrokenRunner            |'initializationError' |CustomRunnerWithBrokenRunMethod.failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	tg.tempFile("src/b/export_test.go", `package b
    		func (*T) Method() *T { return nil }
    	`)
    	tg.tempFile("src/b/b_test.go", `package b_test
    		import (
    			"testing"
    			"a"
    			. "b"
    		)
    		func TestBroken(t *testing.T) {
    			x := new(T)
    			x.Method()
    			_ = new(a.Type)
    		}
    	`)
    
    	tg.setenv("GOPATH", tg.path("."))
    	tg.run("test", "b")
    	tg.run("vet", "b")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top