Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testNewReferenceArray_withNegativeLength (1.55 seconds)

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

        for (int i = 0; i < length; ++i) {
          assertThat(refArray.get(i)).isNull();
        }
        assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(length));
      }
    
      public void testNewReferenceArray_withNegativeLength() throws Exception {
        assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1));
      }
    
      public void testNewReferenceArray_withStringArray() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        for (int i = 0; i < length; ++i) {
          assertThat(refArray.get(i)).isNull();
        }
        assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(length));
      }
    
      public void testNewReferenceArray_withNegativeLength() throws Exception {
        assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1));
      }
    
      public void testNewReferenceArray_withStringArray() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top