- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TestInit (0.16 sec)
-
src/crypto/internal/boring/boring_test.go
// Most functionality in this package is tested by replacing existing code // and inheriting that code's tests. package boring import "testing" // Test that func init does not panic. func TestInit(t *testing.T) {} // Test that Unreachable panics. func TestUnreachable(t *testing.T) { defer func() { if Enabled { if err := recover(); err == nil { t.Fatal("expected Unreachable to panic") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 15:22:22 UTC 2017 - 842 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultDependencyArtifactTest.java
import org.gradle.api.artifacts.DependencyArtifact; import org.junit.Test; import static org.junit.Assert.assertEquals; public class DefaultDependencyArtifactTest { @Test public void testInit() { String testName = "name"; String testType = "type"; String testExtension = "ext"; String testClassifier = "classifier"; String testUrl = "url";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 22 14:16:41 UTC 2013 - 1.5K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin_test.go
limitations under the License. */ package flexvolume import ( "testing" "k8s.io/kubernetes/test/utils/harness" "k8s.io/utils/exec/testing" ) func TestInit(tt *testing.T) { t := harness.For(tt) defer t.Close() plugin, _ := testPlugin(t) plugin.runner = fakeRunner( assertDriverCall(t, successOutput(), "init"), ) plugin.Init(plugin.host) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 21 06:54:44 UTC 2019 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultExcludeRuleContainerTest.java
import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.sameInstance; import static org.hamcrest.MatcherAssert.assertThat; public class DefaultExcludeRuleContainerTest { @Test public void testInit() { assertThat(new DefaultExcludeRuleContainer().getRules().size(), equalTo(0)); } @Test public void testInitWithRules() { Set<ExcludeRule> sourceExcludeRules = new HashSet<ExcludeRule>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:11 UTC 2021 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/helpers.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" _ "k8s.io/component-base/logs/testinit" // enable logging flags ) var swaggerMetadataDescriptions = metav1.ObjectMeta{}.SwaggerDoc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 30 11:46:49 UTC 2021 - 7.2K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
if S.ErrorCount != len(invalidSegments) { t.Errorf("got %d errors; want %d", S.ErrorCount, len(invalidSegments)) } } // Verify that initializing the same scanner more than once works correctly. func TestInit(t *testing.T) { var s Scanner // 1st init src1 := "if true { }" f1 := fset.AddFile("src1", fset.Base(), len(src1)) s.Init(f1, []byte(src1), nil, dontInsertSemis) if f1.Size() != len(src1) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
"k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/uuid" "k8s.io/apimachinery/pkg/util/wait" etcd3watcher "k8s.io/apiserver/pkg/storage/etcd3" "k8s.io/client-go/dynamic" _ "k8s.io/component-base/logs/testinit" // enable logging flags apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0)