- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for expectedContent (0.06 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
@Named("string") @Singleton public class StringWagon extends StreamWagon { private Map<String, String> expectedContent = new HashMap<>(); public void addExpectedContent(String resourceName, String expectedContent) { this.expectedContent.put(resourceName, expectedContent); } public String[] getSupportedProtocols() { return new String[] {"string"}; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
cni/pkg/install/binaries_test.go
} binariesCopied, err := copyBinaries(srcDir, []string{targetDir}) if err != nil { t.Fatal(err) } for filename, expectedContents := range c.expectedFiles { contents := file.AsStringOrFail(t, filepath.Join(targetDir, filename)) assert.Equal(t, contents, expectedContents) wasCopied := false for _, bin := range binariesCopied.UnsortedList() { if bin == filename { wasCopied = true }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 20 18:34:43 UTC 2023 - 2.3K bytes - Viewed (0)