Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for getHost (0.23 sec)

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

        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        try {
          getList().addAll(0, MinimalCollection.of(e0()));
          fail("addAll(n, allPresent) should throw");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        try {
          getList().add(e0());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       */
      public void testAddAtIndex_unsupportedPresent() {
        try {
          getList().add(0, e0());
          fail("add(n, present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_supportedNotPresent() {
        getList().add(0, e3());
        expectAdded(0, e3());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                task.getDocumentationFiles().from(extension.getUserManual().getRoot());
                task.getDocumentationRoot().convention(extension.getUserManual().getRoot());
                task.getDestinationDirectory().convention(layout.getBuildDirectory().dir("tmp/" + task.getName()));
            });
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. cmd/warm-backend-azure.go

    	"github.com/minio/madmin-go/v3"
    )
    
    type warmBackendAzure struct {
    	serviceURL   azblob.ServiceURL
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (az *warmBackendAzure) getDest(object string) string {
    	destObj := object
    	if az.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", az.Prefix, object)
    	}
    	return destObj
    }
    
    func (az *warmBackendAzure) tier() azblob.AccessTierType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

        assertTrue(
            "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0())));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedAllPresent() {
        try {
          getList().addAll(MinimalCollection.of(e0()));
          fail("addAll(allPresent) should throw");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            List<Map<String, Object>> docs1 = JsonPath.from(wcResponse1).getList("data");
            for (Map<String, Object> doc : docs1) {
                assertTrue(doc.get(field).toString().toLowerCase().contains(query), doc.toString());
            }
            List<Map<String, Object>> docs2 = JsonPath.from(wcResponse2).getList("data");
            for (Map<String, Object> doc : docs2) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

         * @throws Exception
         */
        @Test
        public void testGetLast() throws Exception {
            try {
                list.getLast();
                fail();
            } catch (final NoSuchElementException ex) {
                System.out.println(ex);
            }
            list.addLast("1");
            assertThat(list.getLast(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top