Esempio n. 1
0
 public void Alias(string name, string alias)
 {
     _graph.Alias(name, alias);
 }
Esempio n. 2
0
        public void add_to_combination_should_unalias_names()
        {
            theGraph.Alias("a.js", "a");
            theGraph.Alias("b.js", "b");

            theGraph.AddToCombination("c1", "a,b,c.js");

            theGraph.NamesForCombination("c1").ShouldHaveTheSameElementsAs("a.js", "b.js", "c.js");
        }
Esempio n. 3
0
 public void find_object_by_alias()
 {
     theGraph.Alias("Name.js", "Name");
     theGraph.ObjectFor("Name").ShouldBeOfType <IFileDependency>()
     .Name.ShouldEqual("Name.js");
 }