Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 3,923 for objTest (0.13 sec)

  1. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Multiset<AnEnum> create(AnEnum[] elements);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/MoreObjectsTest.java

      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. cmd/erasure-metadata-utils_test.go

    func TestHashOrder(t *testing.T) {
    	testCases := []struct {
    		objectName  string
    		hashedOrder []int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", []int{14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}},
    		{"The Shining Script <v1>.pdf", []int{16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

    /**
     * Generator for collection of a particular size.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class OneSizeGenerator<T, E extends @Nullable Object>
        implements OneSizeTestContainerGenerator<T, E> {
      private final TestContainerGenerator<T, E> generator;
      private final CollectionSize collectionSize;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

            mapEntry(AnEnum.E, "May"));
      }
    
      @Override
      public final Map<AnEnum, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<AnEnum, String> e = (Entry<AnEnum, String>) o;
          array[i++] = e;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.util.logging.Handler
    import java.util.logging.LogRecord
    
    object JsseDebugLogging {
      data class JsseDebugMessage(val message: String, val param: String?) {
        enum class Type {
          Handshake,
          Plaintext,
          Encrypted,
          Setup,
          Unknown,
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/TestLogHandler.kt

    ) : TestRule, BeforeEachCallback, AfterEachCallback {
      constructor(loggerName: Class<*>) : this(Logger.getLogger(loggerName.getName()))
    
      private val logs = LinkedBlockingQueue<String>()
    
      private val handler =
        object : Handler() {
          override fun publish(logRecord: LogRecord) {
            logs += "${logRecord.level}: ${logRecord.message}"
          }
    
          override fun flush() {
          }
    
          override fun close() {
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

            this.valueSource = valueSource;
            this.bannedPrefix = bannedPrefix;
            this.newPrefix = newPrefix;
            this.problems = problems;
        }
    
        @Override
        public Object getValue(String expression) {
            Object value = valueSource.getValue(expression);
    
            if (value != null && expression.startsWith(bannedPrefix)) {
                String msg = "The expression ${" + expression + "} is deprecated.";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top