engine_registry

in spec/cc/analyzer/bridge_spec.rb [196:218]


  def engine_registry
    File.write("engines.yml", <<-EOYAML)
    structure:
      channels:
        stable: structure-stable
    duplication:
      channels:
        stable: duplication-stable
    foo:
      channels:
        stable: foo-stable
    bar:
      channels:
        stable: bar-stable
        beta: "bar:beta"
    memoryhungry:
      channels:
        stable: memoryhungry-stable
      minimum_memory_limit: 2_048_000_000
    EOYAML
    CC::EngineRegistry.new("engines.yml")
  end