- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 115 for init_test (0.11 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestVerificationFailureHandlingIntegrationTest.groovy
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; public class PassingUnitTest { @Test public void unitTest() { assertTrue(true); } } ''' } /** * Cause the test VM to fail at startup by providing an invalid JVM argument. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/AbstractCppUnitTestIntegrationTest.groovy
@Override String getLanguageTaskSuffix() { return "Cpp" } @Override protected String getTestComponentDsl() { return "unitTest" } @Override String[] getTasksToBuildAndRunUnitTest() { return getTasksToBuildAndRunUnitTest(null) } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/native/cpp_testing.adoc
When you’re using the <<cpp_unit_test_plugin.adoc#cpp_unit_test_plugin,{cpp} Unit Test Plugin>> you will automatically get the following: * A dedicated link:{groovyDslPath}/org.gradle.nativeplatform.test.cpp.CppTestSuite.html[unitTest] extension for configuring test component and its variants * A `run` task of type link:{groovyDslPath}/org.gradle.nativeplatform.test.tasks.RunTestExecutable.html[RunTestExecutable] that runs the test executable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/AbstractCppUnitTestComponentIntegrationTest.groovy
and: outputContains("'${componentName}' component in project ':' does not target this operating system.") } @Override protected String getComponentUnderTestDsl() { return 'unitTest' } @Override protected String getTaskNameToAssembleDevelopmentBinary() { return 'test' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/syscall/unix/siginfo_linux_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unix_test import ( "internal/goarch" "internal/syscall/unix" "runtime" "strings" "testing" "unsafe" ) // TestSiginfoChildLayout validates SiginfoChild layout. Modelled after // static assertions in linux kernel's arch/*/kernel/signal*.c.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/customDirs/kotlin/build.gradle.kts
sourceSets { main { java { srcDir("thirdParty/src/main/java") } } } // end::custom-extra-src-dir[] // tag::custom-source-set[] sourceSets { create("intTest") } // end::custom-source-set[] // tag::custom-report-dirs[] reporting.baseDir = file("my-reports") java.testResultsDir = layout.buildDirectory.dir("my-test-results") tasks.register("showDirs") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy
""" file("lib/src/main/cpp/lib.cpp") << """ #include <lib.h> void lib_func() { } """ } @Override protected String getComponentUnderTestDsl() { return "unitTest" } @Override protected String getAssembleDevBinaryTask() { return ":installTest" } @Override protected List<String> getAssembleDevBinaryTasks() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
src/net/pipe_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net_test import ( "io" "net" "testing" "time" "golang.org/x/net/nettest" ) func TestPipe(t *testing.T) { nettest.TestConn(t, func() (c1, c2 net.Conn, stop func(), err error) { c1, c2 = net.Pipe() stop = func() { c1.Close() c2.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 1.2K bytes - Viewed (0) -
samples/bookinfo/src/productpage/Dockerfile
COPY static /opt/microservices/static COPY requirements.txt /opt/microservices/ ARG flood_factor ENV FLOOD_FACTOR ${flood_factor:-0} EXPOSE 9080 WORKDIR /opt/microservices RUN python -m unittest discover CMD ["gunicorn", "-b", "[::]:9080", "productpage:app", "-w", "8", "--keep-alive", "2", "-k", "gevent"]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:35:54 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/customDirs/groovy/build.gradle
sourceSets { main { java { srcDir 'thirdParty/src/main/java' } } } // end::custom-extra-src-dir[] // tag::custom-source-set[] sourceSets { intTest } // end::custom-source-set[] // tag::custom-report-dirs[] reporting.baseDir = "my-reports" java.testResultsDir = layout.buildDirectory.dir("my-test-results") tasks.register('showDirs') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0)