Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 2,060 for Results (0.15 seconds)

  1. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

            }
        }
    
        private void checkIndirectOutputContains(Expression objectExpr, MethodCallExpression call) {
            if (objectExpr instanceof VariableExpression && ((VariableExpression) objectExpr).getName().equals("result")) {
                String arg = AstUtil.getNodeText(call.getArguments(), getSourceCode());
                addViolation(call, "Should use outputContains(" + arg + ") or failure.assertHasCause(" + arg + ") instead");
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.time.Duration;
    
    import org.apache.maven.project.MavenProject;
    
    /**
     * Summarizes the result of a successful project build in the reactor.
     *
     */
    public class BuildSuccess extends BuildSummary {
    
        /**
         * Creates a new build summary for the specified project.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Tables.java

       * that the function is capable of accepting null input. The transformed table might contain null
       * values, if the function sometimes gives a null result.
       *
       * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  4. cmd/signature-v4-parser_test.go

    		}
    		if actualErrCode == ErrNone {
    			if testCase.expectedSignStr != actualSignStr {
    				t.Errorf("Test %d: Expected the result to be \"%s\", but got \"%s\". ", i+1, testCase.expectedSignStr, actualSignStr)
    			}
    		}
    	}
    }
    
    // TestParseSignedHeaders - validates the logic for extracting the signature string.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            SecureRandom expectedRandom = new SecureRandom();
            when(mockDelegate.getRandom()).thenReturn(expectedRandom);
    
            // When
            SecureRandom result = delegatingConfig.getRandom();
    
            // Then
            assertSame(expectedRandom, result, "Should return delegated random");
            verify(mockDelegate).getRandom();
        }
    
        @Test
        @DisplayName("Protocol version methods should delegate correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    upperVersion = new DefaultArtifactVersion(upperBound);
                }
    
                if (upperVersion != null && lowerVersion != null) {
                    int result = upperVersion.compareTo(lowerVersion);
                    if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) {
                        throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    		parser.start(lex.Tokenize(test.input))
    		addr := obj.Addr{}
    		parser.operand(&addr)
    		var result string
    		if parser.allowABI {
    			result = obj.DconvWithABIDetail(&emptyProg, &addr)
    		} else {
    			result = obj.Dconv(&emptyProg, &addr)
    		}
    		if result != test.output {
    			t.Errorf("fail at %s: got %s; expected %s\n", test.input, result, test.output)
    		}
    	}
    }
    
    func TestAMD64OperandParser(t *testing.T) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Predicate.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @FunctionalInterface
    @GwtCompatible
    public interface Predicate<T extends @Nullable Object> extends java.util.function.Predicate<T> {
      /**
       * Returns the result of applying this predicate to {@code input} (Java 8+ users, see notes in the
       * class documentation above). This method is <i>generally expected</i>, but not absolutely
       * required, to have the following properties:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. internal/handlers/proxy_test.go

    package handlers
    
    import (
    	"net/http"
    	"testing"
    )
    
    type headerTest struct {
    	key      string // header key
    	val      string // header val
    	expected string // expected result
    }
    
    func TestGetScheme(t *testing.T) {
    	headers := []headerTest{
    		{xForwardedProto, "https", "https"},
    		{xForwardedProto, "http", "http"},
    		{xForwardedProto, "HTTP", "http"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        List<CacheBuilder<Object, Object>> result = new ArrayList<>();
        Iterables.addAll(result, allKeyValueStrengthMakers());
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          result.add(builder.maximumSize(SMALL_MAX_SIZE));
        }
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          result.add(builder.expireAfterAccess(99999, SECONDS));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
Back to Top