Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CollectionToArrayTester (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionToArrayTester<E> extends AbstractCollectionTester<E> {
      public void testToArray_noArgs() {
        Object[] array = collection.toArray();
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListToArrayTester<E> extends AbstractListTester<E> {
      // CollectionToArrayTester tests everything except ordering.
    
      public void testToArray_noArg() {
        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListToArrayTester<E> extends AbstractListTester<E> {
      // CollectionToArrayTester tests everything except ordering.
    
      public void testToArray_noArg() {
        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.CollectionToArrayTester.getToArrayIsPlainObjectArrayMethod;
    import static com.google.common.collect.testing.testers.ListAddTester.getAddSupportedNullPresentMethod;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top