- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 143 for AssertJ (0.38 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy
logging.captureStandardOutput(LogLevel.ERROR) println 'error message' assert gradle != null assert initscript.classLoader == getClass().classLoader.parent assert initscript.classLoader == Thread.currentThread().contextClassLoader Gradle.class.classLoader.loadClass('${implClassName}') try { initscript.classLoader.loadClass('${implClassName}') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy
def receivedCommand = receivedCommand() assert receivedCommand instanceof ForwardInput assert receivedCommand.bytes == expected.bytes true } def receiveUserResponse(String expected) { def receivedCommand = receivedCommand() assert receivedCommand instanceof UserResponse assert receivedCommand.response == expected true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/BuildActionsFactoryTest.groovy
def executor = unwrapExecutor(runnable) assert executor instanceof SingleUseDaemonClient } private Runnable unwrapAction(Action<?> action) { assert action instanceof Actions.RunnableActionAdapter return action.runnable } private BuildActionExecutor unwrapExecutor(Runnable runnable) { assert runnable instanceof RunBuildAction return runnable.executor }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
}), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system") assert.NoError(t, err) for _, ns := range actual { assert.Equal(t, true, expected.Contains(ns.Name)) } } func Test_injectionDisabled(t *testing.T) { cases := []struct { name string pod *corev1.Pod expected bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 04:33:57 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java
this.errForwarder = new Forwarder(processor, TestOutputEvent.Destination.StdErr); } public void startRedirecting() { assert outForwarder.outputOwner != null; assert errForwarder.outputOwner != null; redirector.redirectStandardOutputTo(outForwarder); redirector.redirectStandardErrorTo(errForwarder); redirector.start(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go
}, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { jsonPatch, err := jsonpatch.DecodePatch(tc.patch) assert.NoError(t, err, "unexpected error decode patch") actual, err := jsonPatchAnnotationValue(tc.config, tc.webhook, jsonPatch) assert.NoError(t, err, "unexpected error getting json patch annotation") if actual != tc.expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/integTest/resources/org/gradle/api/internal/tasks/testing/JULRedirectorIntegrationTest/loggingConfig/src/test/java/com/example/LumberJackTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.example; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertEquals; import org.junit.Test; public class LumberJackTest { @Test public void singsTheSong() { LumberJack jack = new LumberJack(); jack.sing(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 898 bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy
def compileClasspathNames = displayNamesOf(configurations.compileClasspath) doLast { assert runtimeClasspathNames.get().find { it == 'io.reactivex:rxjava:1.0.1' } assert !compileClasspathNames.get().find { it == 'io.reactivex:rxjava:1.0.1' } } } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 16:14:19 UTC 2024 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTestLauncherCrossVersionSpec.groovy
public class IncludedTest { @org.junit.Test public void foo() { org.junit.Assert.assertEquals(1, 1); } @org.junit.Test public void foo2() { org.junit.Assert.assertEquals(1, 1); } } """ file("included-build/src/test/java/example/IncludedTest2.java").text = """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.9K bytes - Viewed (0)