Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for create_node (0.23 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy

            binary.namingScheme.description == "sample binary 'sampleBinary'"
        }
    
        def "qualifies project scoped named and display name using owners name"() {
            def component = BaseComponentFixtures.createNode(SampleComponent, MySampleComponent, new DefaultComponentSpecIdentifier("path", "sample"))
            def binary = create(SampleBinary, MySampleBinary, "unitTest", component)
    
            expect:
            binary.name == "unitTest"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/registry/registrytest/node.go

    }
    
    func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) {
    	r.Lock()
    	defer r.Unlock()
    	return &r.Nodes, r.Err
    }
    
    func (r *NodeRegistry) CreateNode(ctx context.Context, node *api.Node) error {
    	r.Lock()
    	defer r.Unlock()
    	r.Node = node.Name
    	r.Nodes.Items = append(r.Nodes.Items, *node)
    	return r.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpecTest.groovy

            binary.tasks.add(linkTask)
    
            then:
            binary.tasks.link == linkTask
        }
    
        private def getSharedLibrary() {
            def library = BaseComponentFixtures.createNode(NativeLibrarySpec, DefaultNativeLibrarySpec, new DefaultComponentSpecIdentifier("path", "libName"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

    class NativeBinarySpecTest extends Specification {
        def flavor1 = new DefaultFlavor("flavor1")
        def id = new DefaultComponentSpecIdentifier("project", "name")
        def component = BaseComponentFixtures.createNode(NativeLibrarySpec, TestNativeComponentSpec, id)
    
        def platform1 = Stub(NativePlatform) {
            getArchitecture() >> Architectures.forInput("i386")
        }
        def buildType1 = Stub(BuildType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultStaticLibraryBinarySpecTest.groovy

    class DefaultStaticLibraryBinarySpecTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        final library = BaseComponentFixtures.createNode(NativeLibrarySpec, DefaultNativeLibrarySpec, new DefaultComponentSpecIdentifier("path", "libName"))
        def namingScheme = DefaultBinaryNamingScheme.component("main").withBinaryType("staticLibrary")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top