public void GetResult_ParameterizedMethodSymbolTable_NonFragmentParameterIsEmptyFragment()
        {
            Method sampleMethod = TestHelper.GetSample<SymbolTableBuilderSample>("ParameterizedMethod", _floatType, _objectType);
              InitialSymbolTableBuilder initialSymbolTableBuilder = new InitialSymbolTableBuilder(sampleMethod, _blacklistManager);
              ISymbolTable resultSymbolTable = initialSymbolTableBuilder.GetResult();

              Assert.That(resultSymbolTable.GetFragmentType("nonFragmentParameter"), Is.EqualTo(Fragment.CreateEmpty()));
        }
Ejemplo n.º 2
0
 public void Parse(Method method)
 {
     ArgumentUtility.CheckNotNull ("method", method);
       IMethodGraphAnalyzer methodParser = new MethodGraphAnalyzer (_problemFilter);
       IMethodGraphBuilder methodGraphBuilder = new MethodGraphBuilder (method, _blacklistManager, _problemFilter);
       IInitialSymbolTableBuilder parameterSymbolTableBuilder = new InitialSymbolTableBuilder (method, _blacklistManager);
       methodParser.Parse (methodGraphBuilder, parameterSymbolTableBuilder);
 }