- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 2,749 for should (0.04 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
*/ @Throws(InterruptedException::class) public abstract fun dispatch(request: RecordedRequest): MockResponse /** * Returns an early guess of the next response, used for policy on how an incoming request should * be received. The default implementation returns an empty response. Mischievous implementations * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled * request bodies. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", getMap().isEmpty()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", collection.isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", collection.isEmpty()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* * <p>If the character does not need to be escaped, this method should return {@code null}, rather * than a one-character array containing the character itself. This enables the escaping algorithm * to perform more efficiently. * * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should * not throw any exceptions. * * @param c the character to escape if necessaryCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java
* Gets the profiles from the specified model that were active during model building. The model identifier should be * from the collection obtained by {@link #getModelIds()}. As a special case, an empty string can be used as the * identifier for the super POM. * * @param modelId The identifier of the model whose active profiles should be retrieved, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
* and that the expecption message contains the expected and actual <abbr>GAV</abbr>. * * @param expectedGAV the actual <abbr>GAV</abbr> that the exception message should contain * @param actualGAV the actual <abbr>GAV</abbr> that the exception message should contain */ private void assertExceptionMessageContains(String expectedGAV, String actualGAV) { String cause = assertThrows(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} protected void expectMissingKeys(K... elements) { for (K element : elements) { assertFalse("Should not contain key " + element, getMap().containsKey(element)); } } protected void expectMissingValues(V... elements) { for (V element : elements) { assertFalse("Should not contain value " + element, getMap().containsValue(element)); } } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
internal/grid/trace.go
// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package grid import ( "context" "fmt" "net/http" "strings"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jun 01 05:17:37 GMT 2024 - 4.1K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
dependsOn("publishPluginMavenPublicationToTestRepository") val repoDir = localRepository // Prevent capturing the Gradle script instance for configuration cache compatibility // This should be unified with publish-public-libraries if possible doLast { repoDir.get().asFileTree.matching { include("**/maven-metadata.xml") }.forEach {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 02 12:28:02 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw * IllegalArgumentException, since the call could succeed with a different argument. Those * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends * IllegalArgumentException here, in part to keep its recommendation simple: Static methods * should throw IllegalStateException only when they use static state.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0)