- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 1,200 for Ensure (0.32 seconds)
-
guava-tests/test/com/google/common/io/FlushablesTest.java
* * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. * * @author Michael Lancaster */ @NullUnmarked public class FlushablesTest extends TestCase { private Flushable mockFlushable; public void testFlush_clean() throws IOException { // make sure that no exception is thrown regardless of value of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
CONTRIBUTING.md
+ Check for unnecessary whitespace with `git diff --check` before committing. + Make sure you have added the necessary tests (JUnit/[Core IT tests][core-it]) for your changes. + Run all the tests with `mvn -Prun-its verify` to assure nothing else was accidentally broken. + Submit a pull request to the repository in the Apache organization.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 09:55:33 GMT 2025 - 4.2K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# # Usage: rename_and_verify_wheels.sh # This script is aware of TFCI_ variables, so it doesn't need any arguments. # Puts new wheel through auditwheel to rename and verify it, deletes the old # one, checks the filesize, and then ensures the new wheel is installable. set -exo pipefail cd "$TFCI_OUTPUT_DIR" # Move extra wheel files somewhere out of the way. This script # expects just one wheel file to exist.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
CONTRIBUTING.md
Guidelines for any code contributions: 1. Any significant changes should be accompanied by tests. The project already has good test coverage, so look at some existing tests if you're unsure how to go about it. 2. All contributions must be licensed Apache 2.0 and all files must have a copy of the boilerplate license comment (can be copied from an existing file).Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 17:53:05 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
* Preconditions}</a>. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible public final class Preconditions { private Preconditions() {} /** * Ensures the truth of an expression involving one or more parameters to the calling method. * * @param expression a boolean expression * @throws IllegalArgumentException if {@code expression} is false */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* failures explained</a> in the Guava User Guide for advice on when this class should be used. * * @since 17.0 */ @GwtCompatible public final class Verify { /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* failures explained</a> in the Guava User Guide for advice on when this class should be used. * * @since 17.0 */ @GwtCompatible public final class Verify { /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
docs/en/docs/contributing.md
### Docs for tests Most of the tests actually run against the example source files in the documentation. This helps to make sure that: * The documentation is up-to-date. * The documentation examples can be run as is. * Most of the features are covered by the documentation, ensured by test coverage. #### Apps and docs at the same time If you run the examples with, e.g.: <div class="termy">
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Preconditions.java
* Preconditions}</a>. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible public final class Preconditions { private Preconditions() {} /** * Ensures the truth of an expression involving one or more parameters to the calling method. * * @param expression a boolean expression * @throws IllegalArgumentException if {@code expression} is false */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; class NdrExceptionTest { /** * Test the constructor with a message. * Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException.";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0)