Sha256: 60bd56fe7f348e8cad62959851127ea6d81897f1d6caba733581188f49326889

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 Bytes

Contents

#---------
# Setup
#---------

class SimpleCase1
  def entry_point; baz ; end
  def baz ; end
  def never; end
  def self.c_entry_point; c_baz ; end
  def self.c_baz ; end
  def self.c_never; end
end
SimpleCase1.new.entry_point
SimpleCase1.c_entry_point

#------------------
# Expected results
#------------------

$expected_results = {
    :candidates_classes_names   => ['SimpleCase1'],

    :good_candidates            => {'SimpleCase1' => mnames_for([:baz])          },
    :bad_candidates             => {'SimpleCase1' => mnames_for([:entry_point])  },
    :never_called_candidates    => {'SimpleCase1' => mnames_for([:never])        },

    :good_candidates_c          => {'SimpleCase1' => mnames_for([:c_baz])        },
    :bad_candidates_c           => {'SimpleCase1' => mnames_for([:c_entry_point])},
    :never_called_candidates_c  => {'SimpleCase1' => mnames_for([:c_never])      }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
private_please-0.0.5 spec/units/reporter/fixtures/simple_case_1.rb