Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 1,632 for testLong (0.04 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.FormatMethod;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import static org.mockito.Mockito.when;
    
    import com.google.common.base.Suppliers;
    import com.google.common.base.Throwables;
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.ClassSanityTester;
    import com.google.common.util.concurrent.MoreExecutors.Application;
    import java.lang.Thread.State;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    public class CustomSizeTest extends UnitFessTestCase {
    
        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
        private String testField;
    
        // Test field with only minKey
        @CustomSize(minKey = "test.min.only")
        private String testFieldMinOnly;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Suppliers;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

    import static java.lang.Math.max;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Arrays;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit test for {@link AtomicDoubleArray}. */
    @NullUnmarked
    public class AtomicDoubleArrayTest extends JSR166TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

     *  New: Fold `MockWebServerRule` into `MockWebServer`. This makes it easier to
        write JUnit tests with `MockWebServer`. The `MockWebServer` library now
        depends on JUnit, though it continues to work with all testing frameworks.
     *  Fix: `FormEncodingBuilder` is now consistent with browsers in which
        characters it escapes. Previously we weren’t percent-encoding commas,
        parens, and other characters.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

        private SMB1SigningDigest mockDigest;
    
        @Mock
        private ServerMessageBlock mockResponse;
    
        private TestServerMessageBlock testBlock;
    
        /**
         * Test implementation of ServerMessageBlock for testing
         */
        private static class TestServerMessageBlock extends ServerMessageBlock {
    
            private int paramWordsWritten = 0;
            private int bytesWritten = 0;
            private int paramWordsRead = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NetworkExplorerTest.java

         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top