- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getVisualCppFromRegistry (0.44 sec)
-
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProviderTest.groovy
given: 1 * windowsRegistry.getStringValue(_, _, "14.0") >> visualCppDir when: VisualCppInstallCandidate metadata = metadataProvider.getVisualCppFromRegistry("14.0") then: metadata.version == VersionNumber.parse("14.0") metadata.visualCppDir == visualCppDir } def "returns null when metadata cannot be derived from registry"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy
_ * visualCppMetadataProvider.getVisualCppFromRegistry(_) >> null } void invalidVS2017Installations() { _ * visualCppMetadataProvider.getVisualCppFromMetadataFile(_) >> null _ * visualCppMetadataProvider.getVisualCppFromRegistry(_) >> { args -> visualCppMetadata(localRoot.createDir("Program Files/Microsoft Visual Studio ${args[0]}/VC"), args[0]) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.6K bytes - Viewed (2) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VisualCppMetadataProvider.java
import java.io.File; public interface VisualCppMetadataProvider { VisualCppInstallCandidate getVisualCppFromMetadataFile(File installDir); VisualCppInstallCandidate getVisualCppFromRegistry(String version);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 906 bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProvider.java
public DefaultVisualCppMetadataProvider(WindowsRegistry windowsRegistry) { this.windowsRegistry = windowsRegistry; } @Override public VisualCppInstallCandidate getVisualCppFromRegistry(String version) { for (String baseKey : REGISTRY_BASEPATHS) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocator.java
if (VersionNumber.parse(version).getMajor() >= 15) { return visualCppMetadataProvider.getVisualCppFromMetadataFile(installDir); } else { return visualCppMetadataProvider.getVisualCppFromRegistry(version); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.1K bytes - Viewed (0)