Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 391 for assertConf (0.12 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

    import org.apache.maven.toolchain.model.TrackableBase;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenToolchainMergerTest {
        private MavenToolchainMerger merger = new MavenToolchainMerger();
    
        private DefaultToolchainsReader reader = new DefaultToolchainsReader();
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.PerformanceTestCoverage
    import model.PerformanceTestType
    import model.Stage
    import model.StageName
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class PerformanceTestBuildTypeTest {
        init {
            DslContext.initForTest()
        }
    
        private
        val buildModel = CIBuildModel(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.resolution.ArtifactResult;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.*;
    
    class RepositorySystemTest extends AbstractRepositoryTestCase {
        @Test
        void testResolveVersionRange() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    public class BuildModelSourceTransformerTest {
    
        Path pomFile;
        TransformerContext context = org.mockito.Mockito.mock(TransformerContext.class);
    
        @Test
        void testModelVersion() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.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.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.util.Arrays
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.math.pow
    import kotlin.test.assertFailsWith
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractMavenProjectTestCase {
        protected ProjectBuilder projectBuilder;
    
        @Inject
        protected RepositorySystem repositorySystem;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        assumeFalse(windows, "This test fails on Windows.")
      }
    
      @JvmStatic
      val windows: Boolean
        get() = System.getProperty("os.name", "?").startsWith("Windows")
    
      /**
       * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls
       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
       * https://github.com/oracle/graal/issues/3008
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.cache2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.File
    import java.io.RandomAccessFile
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top