Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for testPut (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(UnsupportedOperationException.class, () -> testInstance.clear());
        }
      }
    
      public final void testPut() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(UnsupportedOperationException.class, () -> testInstance.put('a', 1, "blah"));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        assertThrows(UnsupportedOperationException.class, () -> table.put("foo", 1, 'a'));
        assertSize(0);
      }
    
      @Override
      public void testPutAllTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        boolean unused = create().containsKey(null);
      }
    
      public void testContainsValue() {
        boolean unused = create().containsValue(null);
      }
    
      public void testGet() {
        create().get(null);
      }
    
      public void testPut() {
        create().put(null, null);
      }
    
      public void testPutAll() {
        create().putAll(new HashMap<String, Integer>());
      }
    
      public void testKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        boolean unused = create().containsKey(null);
      }
    
      public void testContainsValue() {
        boolean unused = create().containsValue(null);
      }
    
      public void testGet() {
        create().get(null);
      }
    
      public void testPut() {
        create().put(null, null);
      }
    
      public void testPutAll() {
        create().putAll(new HashMap<String, Integer>());
      }
    
      public void testKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/kms-handlers_test.go

    				"Resource": ["arn:minio:kms:::non-matching-key-name"] }`,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    	}
    	for testNum, test := range tests {
    		t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) {
    			execKMSTest(t, test, adminTestBed)
    		})
    	}
    }
    
    func TestKMSHandlersKeyStatus(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.kotlin.dsl.*
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.internal.TextUtil
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. .idea/scopes/Gradle_public_API.xml

    </component>...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 15:08:47 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top