Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,318 for absent (0.17 seconds)

  1. docs/uk/docs/tutorial/testing.md

    Створюйте функції з іменами, що починаються з `test_` (це стандартна угода для `pytest`).
    
    Використовуйте об'єкт `TestClient` так само як і `httpx`.
    
    Записуйте прості `assert`-вирази зі стандартними виразами Python, які потрібно перевірити (це також стандарт для `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

    package com.google.common.collect;
    
    import static com.google.common.collect.BoundType.OPEN;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

            Path userExtensions = userConf.resolve("settings.xml");
            Files.writeString(userExtensions, settingsXml);
    
            // we just execute a Mojo for downloading it only and to assert from which URL it came
            Map<String, String> logs = invoke(
                    cwd,
                    userHome,
                    List.of("eu.maveniverse.maven.plugins:toolbox:" + Environment.TOOLBOX_VERSION + ":dump"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static java.lang.Byte.toUnsignedInt;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import java.io.ByteArrayOutputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    import static java.math.RoundingMode.UNNECESSARY;
    import static java.math.RoundingMode.UP;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.math.BigDecimal;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

         */
        public void setCookieSpec(final String cookieSpec) {
            this.cookieSpec = cookieSpec;
        }
    
        /**
         * Sets the user agent string.
         *
         * @param userAgent The user agent string
         */
        public void setUserAgent(final String userAgent) {
            this.userAgent = userAgent;
        }
    
        /**
         * Sets the proxy host name.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            assertProvideThrowsException("тестклассификация");
            assertProvideThrowsException("🔥TestClassification");
            assertProvideThrowsException("Test😀Classification");
        }
    
        // Helper method to assert that provide() throws ProvidedClassificationNotFoundException
        private void assertProvideThrowsException(String classificationName) {
            try {
                provider.provide(classificationName);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.entity;
    
    import static org.junit.Assert.*;
    
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.junit.Test;
    
    /**
     * Unit tests for SuggestItemMerger.
     */
    public class SuggestItemMergerTest {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top