- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for hasMessageThat (0.15 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(throwable).isInstanceOf(clazz); if (params.length == 1) { assertThat(throwable).hasMessageThat().isNull(); } else if (params.length == 2) { assertThat(throwable).hasMessageThat().isEmpty(); } else { assertThat(throwable) .hasMessageThat() .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length))); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.open(3, 5))); assertThat(expected).hasMessageThat().contains("connected"); expected = assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.closed(0, 2))); assertThat(expected).hasMessageThat().contains("connected"); } public void testIntersection_deFactoEmpty() { {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.unordered(1, 2))); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.unordered(2, 1))); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); } @Test public void edgeValue_undirected_correct() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
() -> networkAsMutableNetwork.addEdge(N1, N2, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); e = assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N2, N1, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
() -> graph.edgeValueOrDefault(EndpointPair.unordered(1, 2), "default")); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValueOrDefault(EndpointPair.unordered(2, 1), "default")); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
() -> networkAsMutableNetwork.addEdge(N1, N2, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); e = assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N2, N1, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertThrows(IllegalStateException.class, () -> service.awaitRunning()); assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!"); executionThread.join(); assertTrue(service.startUpCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!"); } private class ThrowOnStartUpService extends AbstractExecutionThreadService {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertThrows(IllegalStateException.class, () -> service.awaitRunning()); assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!"); executionThread.join(); assertTrue(service.startUpCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!"); } private class ThrowOnStartUpService extends AbstractExecutionThreadService {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0)