Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for TestUtil (0.1 sec)

  1. guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    
    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
          "Should not be allowed to pass a node that is not an element of the graph.";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/TestUtil.java

     */
    package org.codelibs.core;
    
    import static org.hamcrest.CoreMatchers.is;
    
    import org.hamcrest.CoreMatchers;
    import org.hamcrest.Matcher;
    
    /**
     * @author koichik
     */
    public abstract class TestUtil {
    
        /**
         * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。
         *
         * <pre>assertThat(clazz, is(Xxx.class));</pre>
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.EdgeType.DIRECTED;
    import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.EdgeType.DIRECTED;
    import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          expectFailure(platformMatches(OPENJSSE_PROPERTY))
        }
    
        fun expectFailureFromJdkVersion(majorVersion: Int) {
          if (!TestUtil.isGraalVmImage) {
            expectFailure(fromMajor(majorVersion))
          }
        }
    
        fun expectFailureOnJdkVersion(majorVersion: Int) {
          if (!TestUtil.isGraalVmImage) {
            expectFailure(onMajor(majorVersion))
          }
        }
    
        fun expectFailureOnLoomPlatform() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

    import static com.google.common.graph.TestUtil.assertEdgeNotInGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertEdgeRemovedFromGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertNodeNotInGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertNodeRemovedFromGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertStronglyEquivalent;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.EdgeType.DIRECTED;
    import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.EdgeType.DIRECTED;
    import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

      }
    
      @RetryingTest(5)
      @Flaky
      fun reachesIpv4AfterUnreachableIpv6Address() {
        dnsResults =
          listOf(
            TestUtil.UNREACHABLE_ADDRESS_IPV6.address,
            localhostIpv4,
          )
        serverIpv6.shutdown()
        serverIpv4.enqueue(
          MockResponse(body = "hello from IPv4"),
        )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top