Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for getTest (2.77 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

    1. assertThat(e.getPrevious(), is(nullValue()));
    2. assertThat(e.getNext().getElement(), is("2"));
    3. e = list.getLastEntry();
    4. assertThat(e.getNext(), is(nullValue()));
    5. assertThat(e.getPrevious().getElement(), is("2"));
    6. list.getEntry(1).remove();
    7. assertThat(list.getFirst(), is("1"));
    8. assertThat(list.getLast(), is("3"));
    9. list.getLastEntry().remove();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/nl/docs/features.md

    1. ### Getest
    2.  
    3. * 100% <abbr title="De hoeveelheid code die automatisch wordt getest">van de code is getest</abbr>.
    4. * 100% <abbr title="Python type annotaties, hiermee kunnen je editor en externe tools je beter ondersteunen">type geannoteerde</abbr> codebase.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

    1. final AuthScheme authScheme = authentication.getAuthScheme();
    2. if (authScope.getHost() != null && authScheme != null) {
    3. final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
    4. authCache.put(targetHost, authScheme);
    5. }
    6. }
    7.  
    8. httpClientContext.setAuthCache(authCache);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

    1. }
    2.  
    3. public void testGetNext_withDefault_two() {
    4. Iterator<String> iterator = asList("foo", "bar").iterator();
    5. assertEquals("foo", Iterators.getNext(iterator, "x"));
    6. }
    7.  
    8. public void testGetLast_basic() {
    9. List<String> list = newArrayList();
    10. list.add("a");
    11. list.add("b");
    12. assertEquals("b", getLast(list.iterator()));
    13. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    1. }
    2.  
    3. public void testGetNext_withDefault_two() {
    4. Iterator<String> iterator = asList("foo", "bar").iterator();
    5. assertEquals("foo", Iterators.getNext(iterator, "x"));
    6. }
    7.  
    8. public void testGetLast_basic() {
    9. List<String> list = newArrayList();
    10. list.add("a");
    11. list.add("b");
    12. assertEquals("b", getLast(list.iterator()));
    13. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

    1. Iterators.advance(iterator, position);
    2. return Iterators.getNext(iterator, defaultValue);
    3. }
    4. }
    5.  
    6. /**
    7. * Returns the first element in {@code iterable} or {@code defaultValue} if the iterable is empty.
    8. * The {@link Iterators} analog to this method is {@link Iterators#getNext}.
    9. *
    10. * <p>If no default value is desired (and the caller instead wants a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  7. cmd/warm-backend-azure.go

    1. azMeta[k] = to.Ptr(v)
    2. }
    3. resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{
    4. Concurrency: 4,
    5. AccessTier: az.tier(), // set tier if specified
    6. Metadata: azMeta,
    7. })
    8. if err != nil {
    9. return "", azureToObjectError(err, az.Bucket, az.getDest(object))
    10. }
    11. vid := ""
    12. if resp.VersionID != nil {
    13. vid = *resp.VersionID
    14. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. cmd/warm-backend-s3.go

    1. func (s3 *warmBackendS3) ToObjectError(err error, params ...string) error {
    2. object := ""
    3. if len(params) >= 1 {
    4. object = params[0]
    5. }
    6.  
    7. return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    8. }
    9.  
    10. func (s3 *warmBackendS3) getDest(object string) string {
    11. destObj := object
    12. if s3.Prefix != "" {
    13. destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    14. }
    15. return destObj
    16. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. cmd/warm-backend-gcs.go

    1. }
    2.  
    3. func (gcs *warmBackendGCS) getDest(object string) string {
    4. destObj := object
    5. if gcs.Prefix != "" {
    6. destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    7. }
    8. return destObj
    9. }
    10.  
    11. func (gcs *warmBackendGCS) PutWithMeta(ctx context.Context, key string, data io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    12. object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key))
    13. w := object.NewWriter(ctx)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    1. public void testSubList_startNegative() {
    2. assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(-1, 0));
    3. }
    4.  
    5. public void testSubList_endTooLarge() {
    6. assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
    7. }
    8.  
    9. public void testSubList_startGreaterThanEnd() {
    10. try {
    11. getList().subList(1, 0);
    12. fail("subList(1, 0) should throw");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top