Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mock (0.16 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html

    specific language governing permissions and limitations
    under the License.
    -->
    
    <html>
    <head>
        <title>About these stubs</title>
    </head>
    <body>
    <h2>Design</h2>
    These stubs can be thought of as hand-coded mock objects. They allow unit tests to test only specific
    aspects of a component while ignoring others.
    
    These stubs form an internally consistent data-set that is not expected to change. They are
    HTML
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Jul 02 16:47:10 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  2. doc/go_mem.html

    var a string
    
    func f() {
    	a = "hello, world"
    	l.Unlock()
    }
    
    func main() {
    	l.Lock()
    	go f()
    	l.Lock()
    	print(a)
    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.
    The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized
    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. doc/go1.22.html

    </p>
    
    <!-- CL 518776 -->
    <p>
      <code>go</code> <code>mod</code> <code>init</code> no longer attempts to import
      module requirements from configuration files for other vendoring tools
      (such as <code>Gopkg.lock</code>).
    </p>
    
    <!-- CL 495447 -->
    <p>
    <code>go</code> <code>test</code> <code>-cover</code> now prints coverage summaries for covered
    packages that do not have their own test files. Prior to Go 1.22 a
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top