Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for checkError (0.22 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*CheckEqualError).Error", Method, 0},
    		{"(*CheckError).Error", Method, 0},
    		{"(SetupError).Error", Method, 0},
    		{"Check", Func, 0},
    		{"CheckEqual", Func, 0},
    		{"CheckEqualError", Type, 0},
    		{"CheckEqualError.CheckError", Field, 0},
    		{"CheckEqualError.Out1", Field, 0},
    		{"CheckEqualError.Out2", Field, 0},
    		{"CheckError", Type, 0},
    		{"CheckError.Count", Field, 0},
    		{"CheckError.In", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  2. src/go/parser/short_test.go

    }
    
    func TestValid(t *testing.T) {
    	for _, src := range valids {
    		checkErrors(t, src, src, DeclarationErrors|AllErrors, false)
    	}
    }
    
    // TestSingle is useful to track down a problem with a single short test program.
    func TestSingle(t *testing.T) {
    	const src = `package p; var _ = T{}`
    	checkErrors(t, src, src, DeclarationErrors|AllErrors, true)
    }
    
    var invalids = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. src/go/parser/error_test.go

    	if len(expected) > 0 {
    		t.Errorf("%d errors not reported:", len(expected))
    		for pos, msg := range expected {
    			t.Errorf("%s: %s\n", fset.Position(pos), msg)
    		}
    	}
    }
    
    func checkErrors(t *testing.T, filename string, input any, mode Mode, expectErrors bool) {
    	t.Helper()
    	src, err := readSource(filename, input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  4. src/compress/flate/deflate_test.go

    	err = zw.Close()
    	if err != nil {
    		t.Fatalf("Second call to close returned error: %s", err)
    	}
    
    	flushErr = zw.Flush()
    	_, writeErr = zw.Write([]byte("Test"))
    	checkErrors([]error{flushErr, writeErr}, errWriterClosed, t)
    }
    
    func checkErrors(got []error, want error, t *testing.T) {
    	t.Helper()
    	for _, err := range got {
    		if err != want {
    			t.Errorf("Error doesn't match\nWant: %s\nGot: %s", want, got)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                this.res = resource; // used for log and date only
                md = new DefaultModuleDescriptor(XmlModuleDescriptorParser.getInstance(), null);
            }
    
            protected void checkErrors() throws ParseException {
                if (!errors.isEmpty()) {
                    throw new ParseException(Joiner.on(TextUtil.getPlatformLineSeparator()).join(errors), 0);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg testing/quick, method (*CheckError) Error() string
    pkg testing/quick, method (SetupError) Error() string
    pkg testing/quick, type CheckEqualError struct
    pkg testing/quick, type CheckEqualError struct, Out1 []interface{}
    pkg testing/quick, type CheckEqualError struct, Out2 []interface{}
    pkg testing/quick, type CheckEqualError struct, embedded CheckError
    pkg testing/quick, type CheckError struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. test-site/activator-launch-1.3.2.jar

    org.apache.ivy.core.module.descriptor.DefaultModuleDescrip md; private ModuleDescriptorPars parser; protected void AbstractModuleDescri$AbstractParser(ModuleDescriptorPars); public ModuleDescriptorPars getModuleDescriptorP(); protected final void checkErrors(); public void setResource(org.apache.ivy.plugins.repository.Resource); protected final String getDefaultConfMappin(); protected final void setDefaultConfMappin(String); protected final void parseDepsConfs(String, org.apache.ivy.core.module.des...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
Back to top