Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,226 for assertOp (0.08 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                    Attr attr = element.attributes.item(i)
                    target.append(" $attr.name=\"$attr.value\"")
                }
    
                element.childNodes.findAll { it instanceof Text }.each {
                    assert it.textContent != null : "Found null text element in <$element.tagName>"
                }
    
                List<Node> trimmedContent = element.childNodes.collect { it };
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableClassToInstanceMapTest.Impl;
    import com.google.common.collect.ImmutableClassToInstanceMapTest.TestClassToInstanceMapGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.util.Arrays
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.headerEntries
    import okio.Buffer
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. okhttp/build.gradle.kts

      // graal build support
      compileOnly(libs.nativeImageSvm)
    
      testCompileOnly(libs.bouncycastle.bctls)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.assertk)
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlinx.serialization.core)
      testImplementation(libs.kotlinx.serialization.json)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Joiner;
    import com.google.common.util.concurrent.CycleDetectingLockFactory.Policies;
    import com.google.common.util.concurrent.CycleDetectingLockFactory.Policy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Joiner;
    import com.google.common.util.concurrent.CycleDetectingLockFactory.Policies;
    import com.google.common.util.concurrent.CycleDetectingLockFactory.Policy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.TruthJUnit.assume;
    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

    import static com.google.common.io.SourceSinkFactory.ByteSinkFactory;
    import static com.google.common.io.SourceSinkFactory.CharSinkFactory;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    
    import com.google.common.collect.ImmutableList;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
          long result = 1;
          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top