- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for actualCert (0.26 sec)
-
pilot/pkg/credentials/kube/secrets_test.go
var actualKey []byte var actualCert []byte if certInfo != nil { actualKey = certInfo.Key actualCert = certInfo.Cert } if tt.key != string(actualKey) { t.Errorf("got key %q, wanted %q", string(actualKey), tt.key) } if tt.cert != string(actualCert) { t.Errorf("got cert %q, wanted %q", string(actualCert), tt.cert) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 18.4K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/testFixtures/groovy/org/gradle/plugin/devel/tasks/TaskValidationReportFixture.groovy
.sort() .join(PROBLEM_SEPARATOR) .replaceAll("\r\n", "\n") .replaceAll("\n+", "\n") def actualText = reportText assert actualText == expectedReportContents }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 11 15:31:37 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubelet/util/queue/work_queue_test.go
expectedSet := sets.New[string]() for _, u := range expected { expectedSet.Insert(string(u)) } actualSet := sets.New[string]() for _, u := range actual { actualSet.Insert(string(u)) } if !expectedSet.Equal(actualSet) { t.Errorf("Expected %#v, got %#v", sets.List(expectedSet), sets.List(actualSet)) } } func TestGetWork(t *testing.T) { q, clock := newTestBasicWorkQueue()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/object-api-putobject_test.go
objInfo, actualErr := obj.PutObject(context.Background(), testCase.bucketName, testCase.objName, in, ObjectOptions{UserDefined: testCase.inputMeta}) if actualErr != nil && testCase.expectedError == nil { t.Errorf("Test %d: %s: Expected to pass, but failed with: error %s.", i, instanceType, actualErr.Error()) continue } if actualErr == nil && testCase.expectedError != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/dataFlowInfoProvider/AbstractExitPointSnapshotTest.kt
@OptIn(KaAnalysisNonPublicApi::class) val actualText = analyseForTest(mainFile) { val snapshot = getExitPointSnapshot(statements) stringRepresentation(snapshot) } testServices.assertions.assertEqualsToTestDataFileSibling(actualText) } private fun findStatements(mainFile: KtFile, textRange: TextRange): List<KtExpression> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/inheritorsProvider/AbstractSealedInheritorsTest.kt
val actualText = classSymbol.getSealedClassInheritors().joinToString("\n\n") { inheritor -> "${inheritor.classId!!}\n${inheritor.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)}" } testServices.assertions.assertEqualsToTestDataFileSibling(actualText) } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
{pod: pods[1], status: &kubecontainer.PodStatus{}, error: statusErr}, } for i, c := range cases { testStr := fmt.Sprintf("test[%d]", i) actualStatus, actualErr := pleg.cache.Get(c.pod.ID) assert.Equal(t, c.status, actualStatus, testStr) assert.Equal(t, c.error, actualErr, testStr) } // pleg should not generate any event for pods[1] because of the error. assert.Exactly(t, []*PodLifecycleEvent{events[0]}, actualEvents)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider/AbstractElementDiagnosticsTest.kt
analyze(mainFile) { val diagnostics = targetDeclaration.getDiagnostics(KaDiagnosticCheckerFilter.EXTENDED_AND_COMMON_CHECKERS) val actualText = buildString { if (diagnostics.isNotEmpty()) { for (diagnostic in diagnostics) { append(diagnostic.factoryName).append(": ")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractHasCommonSubtypeTest.kt
} if (errors.isNotEmpty()) { testServices.assertions.fail { errors.joinToString("\n") } } val actualText = actualTextBuilder.toString() if (actualText != originalText) { testServices.assertions.assertEqualsToFile(testDataPath, actualText) } } override fun configureTest(builder: TestConfigurationBuilder) { super.configureTest(builder)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} if actualErr == nil && !testCase.shouldPass { t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead.", i+1, instanceType, testCase.expectedError.Error()) } // Failed as expected, but does it fail for the expected reason. if actualErr != nil && !testCase.shouldPass { if testCase.expectedError.Error() != actualErr.Error() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0)