- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 258 for throws (0.27 sec)
-
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
*/ @Test public void testNulls() throws Exception { for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) { try { tester.doTestNulls(classToTest, visibility); } catch (Throwable e) { throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e); } } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertBitEquals(x, at.get()); prev = x; } } /** compareAndSet in one thread enables another waiting for value to succeed */ public void testCompareAndSetInMultipleThreads() throws Exception { final AtomicDouble at = new AtomicDouble(1.0); Thread t = newStartedThread( new CheckedRunnable() { @Override public void realRun() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/TrackingDynamicLookupRoutine.kt
import org.gradle.internal.metaobject.DynamicObject class TrackingDynamicLookupRoutine( private val dynamicCallContextTracker: DynamicCallContextTracker ) : DynamicLookupRoutine { @Throws(MissingPropertyException::class) override fun property(receiver: DynamicObject, propertyName: String): Any? = withDynamicCall(receiver) { receiver.getProperty(propertyName) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt
reporting.leaveDynamicCall(entryPoint2) assertFalse(reporting.unreportedProblemInCurrentCall(key1)) assertFalse(reporting.unreportedProblemInCurrentCall(key2)) } @Test fun `throws exception on mismatched leave calls`() { val reporting = DefaultDynamicCallProblemReporting() reporting.enterDynamicCall(Any()) assertThrows(IllegalStateException::class.java) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
message.resetStyle().append(resource.getResourceName()); out.println(message.toString()); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException { TransferResource resource = event.getResource(); // TODO This needs to be colorized
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 4.1K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
message.append(resource.getRepositoryUrl()).append(resource.getResourceName()); out.info(message.toString()); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException { TransferResource resource = event.getResource(); out.warn( "{} from {} for {}{}", event.getException().getMessage(),
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy
super(distribution, testDirectoryProvider) this.testKitDir = testKitDir this.buildContext = buildContext } @Override void assertCanExecute() throws AssertionError { } @Override protected ExecutionResult doRun() { def runnerResult = createRunner().build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
sb.append("</tr>"); sb.append(LS); } sb.append("</table>"); return sb.toString(); } @Test void testOptionsAsHtml() throws IOException { Path options = Paths.get("target/test-classes/options.html"); Files.writeString(options, getOptionsAsHtml(), StandardCharsets.UTF_8); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy
result.getModel() == model } def "throws an exception when cancel was requested"() { given: _ * workerThreadRegistry.workerThread >> true _ * cancellationToken.cancellationRequested >> true def target = Stub(GradleProjectIdentity) when: controller.getModel(target, modelId) then: thrown(BuildCancelledException) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:56:30 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator * could throw during the invocation of that method. This is necessary because, e.g., a call to * {@code iterator().remove()} of an unmodifiable list could throw either {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 20.7K bytes - Viewed (0)