- Sort Score
- Result 10 results
- Languages All
Results 1261 - 1270 of 7,602 for Glass (0.11 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
* * <p>This test class contains various test cases that don't fit into the test case generation in * {@link GeneratedMonitorTest}. * * @author Justin T. Sampson */ public class SupplementalMonitorTest extends TestCase { public void testLeaveWithoutEnterThrowsIMSE() { Monitor monitor = new Monitor(); assertThrows(IllegalMonitorStateException.class, () -> monitor.leave()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testNullPointerExceptions() { new NullPointerTester().testAllPublicStaticMethods(Interners.class); } public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* * <p>The {@code toString} method is forwarded to the delegate. Although this class does not * implement {@link Serializable}, a serializable subclass may be created since this class has a * parameter-less constructor. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingObject { /** Constructor for use by subclasses. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
* * <p>This test class contains various test cases that don't fit into the test case generation in * {@link GeneratedMonitorTest}. * * @author Justin T. Sampson */ public class SupplementalMonitorTest extends TestCase { public void testLeaveWithoutEnterThrowsIMSE() { Monitor monitor = new Monitor(); assertThrows(IllegalMonitorStateException.class, () -> monitor.leave()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(x)); } } public void testFloorPowerOfTwoNegative() { for (long x : NEGATIVE_LONG_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> LongMath.floorPowerOfTwo(x)); } } public void testCeilingPowerOfTwoZero() { assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(0L)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.3K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an_py39.py
from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) class Hero(HeroBase, table=True): id: Union[int, None] = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase): id: int class HeroCreate(HeroBase): secret_name: str
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileAuthenticationBhv.java
return createOptionalEntity(doSelectByPK(id, tp), id); } @Override protected Class<? extends FileAuthentication> typeOfSelectedEntity() { return FileAuthentication.class; } @Override protected Class<FileAuthentication> typeOfHandlingEntity() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
assertThrows( NullPointerException.class, () -> builder.put(immutableEntry("one", (Integer) null))); assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1))); } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableMultimap.builderWithExpectedKeys(-1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
mockwebserver-junit5/README.md
method parameter. It will be shut down automatically after the test runs. ``` class MyTest { @Test void test(MockWebServer server) { ... } } ``` Alternately you may add the [MockWebServer] as a constructor parameter: ``` class MyTest { private final MockWebServer server; MyTest(MockWebServer server) { this.server = server; }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0)