Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,038 for assertions (0.07 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.UnsupportedEncodingException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
       *   inherit an implementation that forwards to the delegate collection, which performs no
       *   holdsLock assertions.
       *
       * - For stream() and spliterator(), we have to forward to the delegate ourselves because
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
       *   inherit an implementation that forwards to the delegate collection, which performs no
       *   holdsLock assertions.
       *
       * - For stream() and spliterator(), we have to forward to the delegate ourselves because
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Verify.java

    /**
     * Static convenience methods that serve the same purpose as Java language <a
     * href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>,
     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          }
        }
    
      /**
       * These assertions ensure the [PublicSuffixDatabase] remains correct. The specification is
       * very flexible regarding wildcard rules, but this flexibility is not something currently used
       * in practice. To simplify the implementation, we've avoided implementing the flexible rules in
       * favor of supporting what's actually used in practice. That means if these assertions ever fail,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Aug 06 05:33:11 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. clause/set_test.go

    package clause_test
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    // Compile-time assertions that types implement clause.Assigner
    var (
    	_ clause.Assigner = clause.Assignment{}
    	_ clause.Assigner = clause.Set{}
    )
    
    func TestSet(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 11:18:54 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/StatsTesting.java

      }
    
      /**
       * Asserts that {@code transformation} is vertical with the given value of {@code x}. Includes
       * assertions about all the public instance methods of {@link LinearTransformation}, including
       * assertions that {@link LinearTransformation#slope} and {@link LinearTransformation#transform}
       * throw as expected.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
Back to Top