UnitTestScribe report - SrcML.NET

Methods
ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestCppBuiltIns_WithDoubleWord()
ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestCppBuiltIns_WithSingleWord()
ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestJavaBuiltIns()
ABB.SrcML.Data.Test.CodeParserTests.TestField()
ABB.SrcML.Data.Test.CodeParserTests.TestField_Cpp()
ABB.SrcML.Data.Test.CodeParserTests.TestGetChildren_Expressions()
ABB.SrcML.Data.Test.CodeParserTests.TestGetChildren_Statements()
ABB.SrcML.Data.Test.CodeParserTests.TestMethodCallCreation()
ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable()
ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable_Parameter()
ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable_ParentExpression()
ABB.SrcML.Data.Test.CodeParserTests.TestSimpleExpression()
ABB.SrcML.Data.Test.CodeParserTests.TestSubExpression()
ABB.SrcML.Data.Test.CodeParserTests.TestTwoVariableDeclarations()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestAlias_NameResolution_ImportType()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestAlias_NameResolution_TypeAlias()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestClassWithDeclaredVariable()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_CallToSelf()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_CallToSuperClass()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_InitializeBuiltinTypeField()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_InitializeField()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_ImportClass()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_ImportNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_TypeAlias()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_ClassInNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_ClassWithMethodDeclaration()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_StaticMethod()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Class()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassDeclaration()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassInFunction()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithInnerClass()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithParents()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithQualifiedParent()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_InnerClassWithNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Struct()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Union()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestEmptyStatement()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestExternStatement_Block()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestExternStatement_Single()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestFreeStandingBlock()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGenericVariableDeclaration()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGenericVariableDeclarationWithPrefix()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetAliases_NestedImportClass()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetAliases_NestedTypeAlias()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetImports()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetImports_NestedImportNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestIfElse()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestIfElseIf()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestImport_NameResolution()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestLiteralUse()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMergeWithUsing()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_CallGlobalNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_GlobalFunction()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_LengthyCallingExpression()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_WithConflictingMethodNames()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_WithThisKeyword()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallFindMatches()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallFindMatches_WithArguments()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallMatchToParameter()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_DefaultArguments()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_FunctionPointerParameter()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_Parameters()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_ReturnType()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_ReturnTypeAndSpecifier()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_VoidParameter()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_VoidReturn()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveArrayVariable_Field()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveArrayVariable_Local()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveCallOnArrayVariable()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Field()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_FieldInParent()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Global()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Masking()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_VarInNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestThreeVariableDeclarations()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestTwoVariableDeclarations()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestTypeUseForOtherNamespace()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariableDeclaredInCallingObjectWithParentClass()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariablesWithSpecifiers()
ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariableUse_Index()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestAlias_NameResolution()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallAsCallingObject()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallConstructor()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallingVariableDeclaredInParentClass()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallToGenericMethod()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallToGrandparent()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallWithTypeParameters()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestConstructorWithBaseKeyword()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestConstructorWithThisKeyword()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateAliasesForFiles_UsingAlias()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateAliasesForFiles_UsingNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Class()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_ClassWithParent()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_ClassWithQualifiedParent()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_CompoundNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Interface()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Namespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_NestedCompoundNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Struct()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinitions_ClassWithInnerClass()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinitions_InnerClassWithNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromConstructor()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromImplicitConstructor()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromMethod()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarInForeach()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFieldCreation()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFindParentType()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFindQualifiedParentType()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericType()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericVariableDeclaration()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericVariableDeclarationWithPrefix()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_InternalProtected()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_None()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_Normal()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_ProtectedInternal()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_ProtectedInternalStatic()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_InternalProtected()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_None()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_Normal()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_ProtectedInternal()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_ProtectedInternalStatic()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAliases_NestedUsingAlias()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports_NestedImportNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports_SeparateFiles()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestImport_NameResolution()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestLockStatement()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodCallToParentOfCallingObject()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodCallWithBaseKeyword()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodDefinitionWithReturnType()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodDefinitionWithReturnTypeAndWithSpecifier()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodDefinitionWithVoidReturn()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestProperty()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestPropertyAsCallingObject()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestResolveArrayVariable_Property()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestResolveVariable_Field()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestResolveVariable_FieldInParent()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestStaticInstanceVariable()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestStaticInstanceVariableInDifferentNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestStaticMethodCall()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestStaticMethodCallInDifferentNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestTypeUseForOtherNamespace()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_Expression()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_MultipleDecl()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_SingleDecl()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestVariableDeclaredInCallingObjectWithParentClass()
ABB.SrcML.Data.Test.CSharpCodeParserTests.TestVariablesWithSpecifiers()
ABB.SrcML.Data.Test.DataFileNameMappingTests.TestDataFileNameMap()
ABB.SrcML.Data.Test.DataGeneratorTests.TestBadEncoding()
ABB.SrcML.Data.Test.DataGeneratorTests.TestMissingSrcMLFile()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestCppRemovalWithNamespaceAndClass()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestHeaderRemovalWithNamespaceAndClass()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveClassDefinition()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveMethodDeclaration_Global()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveMethodDefinition_Class()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveMethodDefinition_Global()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveMethodFromClass()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveMethodFromGlobal()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemoveNamespace()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestRemovePartOfNamespace()
ABB.SrcML.Data.Test.FileRemovalTests_Cpp.TestTestHelper()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestFileRemovalWithDifferentCase()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemoveClass_Global()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemoveNamespace()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemovePartialClass()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemovePartialMethod_Declaration()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemovePartialMethod_Implementation()
ABB.SrcML.Data.Test.FileRemovalTests_CSharp.TestRemovePartOfNamespace()
ABB.SrcML.Data.Test.FileRemovalTests_Java.TestRemoveClass_Global()
ABB.SrcML.Data.Test.FileRemovalTests_Java.TestRemoveClass_Namespace()
ABB.SrcML.Data.Test.FileRemovalTests_Java.TestRemoveNamespace()
ABB.SrcML.Data.Test.GetStatementTests.TestGlobalStatement()
ABB.SrcML.Data.Test.GetStatementTests.TestLocationInClass_CSharp()
ABB.SrcML.Data.Test.GetStatementTests.TestLocationInForLoop()
ABB.SrcML.Data.Test.GetStatementTests.TestLocationInMain_Cpp()
ABB.SrcML.Data.Test.GetStatementTests.TestLocationInMethodDefinition_Cpp()
ABB.SrcML.Data.Test.JavaCodeParserTests.BasicParentTest_Java()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestAlias_NameResolution()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateAliasesForFiles_ImportClass()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateAliasesForFiles_ImportNamespace()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinition_ClassInPackage()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_Class()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassInFunction()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassWithExtendsAndImplements()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassWithInnerClass()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassWithParents()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassWithQualifiedParent()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_ClassWithSuperClass()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_InnerClassWithNamespace()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestCreateTypeDefinitions_Interface()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestFieldCreation()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForMethod_None()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForMethod_Normal()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForMethod_Static()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForType_None()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForType_Normal()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestGetAccessModifierForType_Static()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestImport_NameResolution()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestMethodCallCreation_ConstructorFromOtherNamespace()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestMethodCallCreation_SuperConstructor()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestMethodCallCreation_WithConflictingMethodNames()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestMethodCallCreation_WithSuperKeyword()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestMethodCallCreation_WithThisKeyword()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestTypeUseForOtherNamespace()
ABB.SrcML.Data.Test.JavaCodeParserTests.TestVariablesWithSpecifiers()
ABB.SrcML.Data.Test.MergeTests.TestConstructorMerge_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestCreateMethodDefinition_TwoUnresolvedParents()
ABB.SrcML.Data.Test.MergeTests.TestCreateMethodDefinition_TwoUnresolvedParentsWithPrototype()
ABB.SrcML.Data.Test.MergeTests.TestDestructorMerge_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestMethodDefinitionMerge_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestMethodDefinitionMerge_DifferentPrefixes()
ABB.SrcML.Data.Test.MergeTests.TestMethodDefinitionMerge_NoParameterName()
ABB.SrcML.Data.Test.MergeTests.TestMethodDefinitionMerge_NoParameters()
ABB.SrcML.Data.Test.MergeTests.TestNamespaceMerge_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestNamespaceMerge_Java()
ABB.SrcML.Data.Test.MergeTests.TestNestedConstructorMerge_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestPartialClassMerge_CSharp()
ABB.SrcML.Data.Test.MergeTests.TestPartialMethodMerge_CSharp()
ABB.SrcML.Data.Test.MergeTests.TestUnresolvedParentMerge_ClassEncounteredFirst_Cpp()
ABB.SrcML.Data.Test.MergeTests.TestUnresolvedParentMerge_MethodsEncounteredFirst_Cpp()
ABB.SrcML.Data.Test.MultithreadedAccessTests.TestQueryDuringUpdate()
ABB.SrcML.Data.Test.NameHelperTests.TestGetLastNameElement()
ABB.SrcML.Data.Test.NameHelperTests.TestGetLastNameElement_Null()
ABB.SrcML.Data.Test.NameHelperTests.TestGetNameElementsExceptLast()
ABB.SrcML.Data.Test.NameHelperTests.TestGetNameElementsExceptLast_Null()
ABB.SrcML.Data.Test.NameHelperTests.TestGetNestedNameElements()
ABB.SrcML.Data.Test.NameHelperTests.TestGetNestedNameElements_NoNestedNames()
ABB.SrcML.Data.Test.NameHelperTests.TestGetNestedNameElements_Null()
ABB.SrcML.Data.Test.ProgamElementTests.TestGetNamedChildren_IfStatement()
ABB.SrcML.Data.Test.ProgamElementTests.TestGetNamedChildren_Statement()
ABB.SrcML.Data.Test.ProgamElementTests.TestGetNamedChildren_TryStatement()
ABB.SrcML.Data.Test.ProgamElementTests.TestSiblingsAfterSelf()
ABB.SrcML.Data.Test.ProgamElementTests.TestSiblingsAfterSelf_MissingChild()
ABB.SrcML.Data.Test.ProgamElementTests.TestSiblingsBeforeSelf()
ABB.SrcML.Data.Test.ProgamElementTests.TestSiblingsBeforeSelf_MissingChild()
ABB.SrcML.Data.Test.QueryTests.TestFindMethodCalls_Nested()
ABB.SrcML.Data.Test.QueryTests.TestFindMethodCalls_Simple()
ABB.SrcML.Data.Test.QueryTests.TestFindScopeForAdjacentMethods()
ABB.SrcML.Data.Test.QueryTests.TestOverloadedMethodCallResolution()
ABB.SrcML.Data.Test.QueryTests.TestOverloadedMethodCallResolutionWithCallingObject()
ABB.SrcML.Data.Test.RealWorldTests.TestCompleteWorkingSet()
ABB.SrcML.Data.Test.RealWorldTests.TestCompleteWorkingSet_SingleCore()
ABB.SrcML.Data.Test.RealWorldTests.TestSerialization()
ABB.SrcML.Data.Test.SerializationTests.TestRoundTrip()
ABB.SrcML.Data.Test.SerializationTests.TestRoundTripWithDefaultExtension()
ABB.SrcML.Data.Test.SourceLocationTests.TestContains_DifferentLines()
ABB.SrcML.Data.Test.SourceLocationTests.TestContains_Overlapping()
ABB.SrcML.Data.Test.SourceLocationTests.TestContains_Point()
ABB.SrcML.Data.Test.SourceLocationTests.TestContains_SameLine()
ABB.SrcML.Data.Test.SrcMLLocationTests.TestContains_NoSibling()
ABB.SrcML.Data.Test.SrcMLLocationTests.TestContains_Reflexive()
ABB.SrcML.Data.Test.SrcMLLocationTests.TestContains_Sibling()
ABB.SrcML.Data.Test.SrcMLLocationTests.TestContains_TwoLevel()
ABB.SrcML.Data.Test.SrcMLLocationTests.TestGetXElement()
ABB.SrcML.Data.Test.StatementExtensionTests.TestGetCallsTo_Masking()
ABB.SrcML.Data.Test.StatementExtensionTests.TestGetCallsTo_Multiple()
ABB.SrcML.Data.Test.StatementExtensionTests.TestGetCallsTo_NonRecursive()
ABB.SrcML.Data.Test.StatementExtensionTests.TestGetCallsTo_Simple()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestAddDuplicateDirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestAddSimilarDirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestAddSubdirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestEmptyMonitor()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestExcludedDirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestExcludedFiles()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestFileChanges()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestFileSaveAndRestore()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestForbiddenDirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestIsMonitoringFile()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestRemoveDirectory()
ABB.SrcML.Test.DirectoryScanningMonitorTests.TestStartup()
ABB.SrcML.Test.ExternalTests.DeclStmtWithTwoDecl()
ABB.SrcML.Test.ExternalTests.DestructorWithIfStatement()
ABB.SrcML.Test.ExternalTests.FileWithBom()
ABB.SrcML.Test.ExternalTests.FunctionWithElseInCpp()
ABB.SrcML.Test.ExternalTests.JavaClassWithConstructor()
ABB.SrcML.Test.ExternalTests.MacroWithoutSemicolon()
ABB.SrcML.Test.ExternalTests.MethodWithFunctionPointerAsParameter()
ABB.SrcML.Test.ExternalTests.TestCppConstTypeModifier()
ABB.SrcML.Test.ExternalTests.TestCppStaticTypeModifier()
ABB.SrcML.Test.ExternalTests.TestCSharpExpressionWithAdd()
ABB.SrcML.Test.ExternalTests.TestCSharpExpressionWithDefaultKeyword()
ABB.SrcML.Test.ExternalTests.TestCSharpExpressionWithGet()
ABB.SrcML.Test.ExternalTests.TestCSharpExpressionWithRemove()
ABB.SrcML.Test.ExternalTests.TestCSharpExpressionWithSet()
ABB.SrcML.Test.ExternalTests.TestCSharpUsingStatement()
ABB.SrcML.Test.HelperTests.GetXPathExtensionTest()
ABB.SrcML.Test.IConcurrencyStrategyTests.TestConservativeAbbCoreStrategy()
ABB.SrcML.Test.IConcurrencyStrategyTests.TestSingleCoreStrategy()
ABB.SrcML.Test.IConcurrencyStrategyTests.TestZeroCores()
ABB.SrcML.Test.LastModifiedArchiveTests.TestAddUpdateDelete()
ABB.SrcML.Test.LastModifiedArchiveTests.TestArchiveLoadRoundTrip()
ABB.SrcML.Test.LastModifiedArchiveTests.TestIsEmpty()
ABB.SrcML.Test.LastModifiedArchiveTests.TestOutdatedWithNonExistentFiles()
ABB.SrcML.Test.LastModifiedArchiveTests.TestRelativePathInsertWithFullPathCheck()
ABB.SrcML.Test.LastModifiedArchiveTests.TestRename()
ABB.SrcML.Test.LimitedConcurrencyLevelTaskSchedulerTests.TestDoubleTaskExecution()
ABB.SrcML.Test.LimitedConcurrencyLevelTaskSchedulerTests.TestSingleTaskExecution()
ABB.SrcML.Test.LimitedConcurrencyLevelTaskSchedulerTests.TestStartAndStop()
ABB.SrcML.Test.LimitedConcurrencyLevelTaskSchedulerTests.TestZeroTaskExecution()
ABB.SrcML.Test.ShortFileNameMappingTests.TestConcurrentAccess()
ABB.SrcML.Test.ShortFileNameMappingTests.TestConstructor_CurrentDirectory()
ABB.SrcML.Test.ShortFileNameMappingTests.TestDispose()
ABB.SrcML.Test.ShortFileNameMappingTests.TestFolderWithXmlNoMappingFile_NonSrcMLXml()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetSourcePath_FullPath()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetSourcePath_JustFileName()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_CorrectDir()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_DifferentCase()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_DuplicatesInMapFile()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_NonExistentDir()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_Repeated()
ABB.SrcML.Test.ShortFileNameMappingTests.TestGetXmlPath_SameName()
ABB.SrcML.Test.ShortFileNameMappingTests.TestMappingFile()
ABB.SrcML.Test.ShortFileNameMappingTests.TestRountrip()
ABB.SrcML.Test.ShortFileNameMappingTests.TestSaveMapping()
ABB.SrcML.Test.ShortFileNameMappingTests.TestSrcMLWithNoMappingFile()
ABB.SrcML.Test.ShortFileNameMappingTests.TestXmlPathWithDifferentCase()
ABB.SrcML.Test.SolutionMonitorTest.FileAddDeleteChangeRenameTest()
ABB.SrcML.Test.SolutionMonitorTest.GenerateXmlAndStringForSourceTest()
ABB.SrcML.Test.SolutionMonitorTest.GenerateXmlAndXElementForSourceTest()
ABB.SrcML.Test.SolutionMonitorTest.GenerateXmlForDirectoryTest()
ABB.SrcML.Test.SolutionMonitorTest.GenerateXmlForSourceTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.DifferentLanguageTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.EmptyOutputFileTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.ExclusionFilterTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.InputWithSpacesTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.InvalidLanguageTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.MultipleFilesTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.MultipleFilesTest_DifferentDirectories()
ABB.SrcML.Test.Src2SrcMLRunnerTests.MultipleFilesTest_Language()
ABB.SrcML.Test.Src2SrcMLRunnerTests.MyTestMethod()
ABB.SrcML.Test.Src2SrcMLRunnerTests.SingleFileTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.SingleFileToFileAndStringTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.SingleFileToFileAndXElementTest()
ABB.SrcML.Test.Src2SrcMLRunnerTests.SrcMLFromStringTest()
ABB.SrcML.Test.SrcDiffFilterTests.TestAddConditionBlock()
ABB.SrcML.Test.SrcDiffFilterTests.TestRemoveConditionBlock()
ABB.SrcML.Test.SrcDiffFilterTests.TestRenameFunction()
ABB.SrcML.Test.SrcDiffFilterTests.TestSplitFunction()
ABB.SrcML.Test.SrcMLArchiveTests.GenerateXmlForDirectoryTest()
ABB.SrcML.Test.SrcMLArchiveTests.TestDontUseExistingSrcML()
ABB.SrcML.Test.SrcMLArchiveTests.TestEmptyArchive()
ABB.SrcML.Test.SrcMLElementTests.TestGetLanguageForUnit_InvalidArgument()
ABB.SrcML.Test.SrcMLElementTests.TestGetLanguageForUnit_InvalidLanguage()
ABB.SrcML.Test.SrcMLElementTests.TestGetLanguageForUnit_NoLanguage()
ABB.SrcML.Test.SrcMLElementTests.TestGetLanguageForUnit_ValidLanguage()
ABB.SrcML.Test.SrcMLElementTests.TestGetMethodSignature_InitializerList()
ABB.SrcML.Test.SrcMLElementTests.TestGetMethodSignature_Normal()
ABB.SrcML.Test.SrcMLElementTests.TestGetMethodSignature_Whitespace()
ABB.SrcML.Test.SrcMLFileTest.CompoundFileTest()
ABB.SrcML.Test.SrcMLFileTest.DisjunctMergedFileTest()
ABB.SrcML.Test.SrcMLFileTest.EmptyElementTest()
ABB.SrcML.Test.SrcMLFileTest.ExtraNewlinesInMergedDocumentTest()
ABB.SrcML.Test.SrcMLFileTest.SingleFileTest()
ABB.SrcML.Test.SrcMLFileTest.WhitespaceInCompoundDocumentTest()
ABB.SrcML.Test.SrcMLFileTest.WhitespaceInSingleDocumentTest()
ABB.SrcML.Test.SrcMLGeneratorTests.DifferentLanguageTest()
ABB.SrcML.Test.SrcMLGeneratorTests.EmptyOutputFileTest()
ABB.SrcML.Test.SrcMLGeneratorTests.ExclusionFilterTest()
ABB.SrcML.Test.SrcMLGeneratorTests.InputWithSpacesTest()
ABB.SrcML.Test.SrcMLGeneratorTests.InvalidLanguageTest()
ABB.SrcML.Test.SrcMLGeneratorTests.MultipleFilesTest()
ABB.SrcML.Test.SrcMLGeneratorTests.MultipleFilesTest_DifferentDirectories()
ABB.SrcML.Test.SrcMLGeneratorTests.MultipleFilesTest_Language()
ABB.SrcML.Test.SrcMLGeneratorTests.SingleFileTest()
ABB.SrcML.Test.SrcMLGeneratorTests.SrcMLFromStringTest()
ABB.SrcML.Test.SrcMLGeneratorTests.TestGenerateSrcMLFromFile_NonDefaultExtension()
ABB.SrcML.Test.SrcMLGeneratorTests.TestGenerateSrcMLFromFiles_NonDefaultExtension()
ABB.SrcML.Test.SrcMLGeneratorTests.TestStrangeEncodings()
ABB.SrcML.Test.SRCTest.CheckPositionNumberWithSingleUnit()
ABB.SrcML.Test.SRCTest.ContainsCallToTest()
ABB.SrcML.Test.SRCTest.GetLineInfoWithString()
ABB.SrcML.Test.SRCTest.GetSrcLineNumberWithMultipleUnit()
ABB.SrcML.Test.SRCTest.GetSrcLineNumberWithSingleUnit()
ABB.SrcML.Test.SRCTest.ParentStatementTest()
ABB.SrcML.Test.SRCTest.ToSourceTest()
ABB.SrcML.Test.TransformHarnessTest.InvalidQueryFunctionTest()
ABB.SrcML.Test.TransformHarnessTest.NonTransformTypeTest()
ABB.SrcML.Test.TransformHarnessTest.NoQueriesTest()
ABB.SrcML.Test.TransformHarnessTest.NullTransformTypeTest()
ABB.SrcML.Test.TransformHarnessTest.QueryCreationWithoutDefaultConstructorTest()
ABB.SrcML.Test.TransformHarnessTest.QueryFunctionWithBadSignature()
ABB.SrcML.Test.TransformHarnessTest.QueryFunctionWithMissingMethod()
ABB.SrcML.Test.TransformHarnessTest.QueryFunctionWithNullMethod()
ABB.SrcML.Test.TransformHarnessTest.QueryFunctionWithNullType()
ABB.SrcML.Test.TransformHarnessTest.StaticQueryCreationWithoutDefaultConstructorTest()
ABB.SrcML.Test.TransformHarnessTest.TransformWithoutDefaultConstructor()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestCursorMonitoring()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestDataServiceStartup()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestMethodTrackingsOnCursorMoving()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestMethodTrackingsOnFileChange()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestMethodTrackingsOnFileDelete()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestMtServiceStartup()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.MethodTrackServiceTests.TestNavHistoryListInMethodTracking()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCPlusPlusTests.TestCppFileOperations()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCPlusPlusTests.TestCppProjectOperations()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCPlusPlusTests.TestCppServiceStartup()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCSharpTests.TestCsFileOperations()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCSharpTests.TestCsProjectOperations()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServiceCSharpTests.TestCsServiceStartup()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServicePackageIntegrationTests.FileLevelIncrementalUpdateTest()
ABB.SrcML.VisualStudio.SrcMLService.IntegrationTests.SrcMLServicePackageIntegrationTests.ProjectLevelIncrementalUpdateTest()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.MenuItemTests.MenuItemTest.InitializeMenuCommand()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.MenuItemTests.MenuItemTest.MenuItemCallback()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.SrcMLServicePackageTests.CreateInstance()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.SrcMLServicePackageTests.GetGlobalServiceSimple()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.SrcMLServicePackageTests.IsIVsPackage()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.SrcMLServicePackageTests.SetSite()
ABB.SrcML.VisualStudio.SrcMLService.UnitTests.SrcMLServicePackageTests.SetSiteSimple()
1.  ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestCppBuiltIns_WithDoubleWord

Code with line numbers

This unit test case method tests cpp built ins with double word.

This unit test case validates that:
(1) variableA.Name is equal to "a".
   variableA is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtInModifier through slicing path
   3) variable builtIn through slicing path.

(2) variableB.Name is equal to "b".
   variableB is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtInModifier through slicing path
   3) variable builtIn through slicing path.

(3) variableA.VariableType.Name is equal to String.Format("{0} {1}",builtInModifier,builtIn).
   variableA is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtInModifier through slicing path
   3) variable builtIn through slicing path.

(4) typeOfB and typeOfA are same.
   typeOfB is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtInModifier through slicing path
   3) variable builtIn through slicing path.

2.  ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestCppBuiltIns_WithSingleWord

Code with line numbers

This unit test case method tests cpp built ins with single word.

This unit test case validates that:
(1) variableA.Name is equal to "a".
   variableA is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

(2) variableB.Name is equal to "b".
   variableB is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

(3) variableA.VariableType.Name is equal to builtIn.
   variableA is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

(4) typeOfB and typeOfA are same.
   typeOfB is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

3.  ABB.SrcML.Data.Test.BuiltInTypeFactoryTests.TestJavaBuiltIns

Code with line numbers

This unit test case method tests java built ins .

This unit test case validates that:
(1) variableA.VariableType.Name is equal to builtIn.
   variableA is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

(2) typeOfB and typeOfA are same.
   typeOfB is obtained from
   1) variable xmlFormat through slicing path
   2) variable builtIn through slicing path.

4.  ABB.SrcML.Data.Test.CodeParserTests.TestTwoVariableDeclarations

Code with line numbers

This unit test case method tests two variable declarations .

This unit test case validates that:
(1) varDecls.Count is equal to 2.
   varDecls is obtained from
   1) variable testXml through slicing path.

(2) varDecls[0].Name is equal to "a".
   varDecls is obtained from
   1) variable testXml through slicing path.

(3) varDecls[0].VariableType.Name is equal to "int".
   varDecls is obtained from
   1) variable testXml through slicing path.

(4) varDecls[1].Name is equal to "b".
   varDecls is obtained from
   1) variable testXml through slicing path.

(5) varDecls[1].VariableType and varDecls[0].VariableType are same.
   varDecls is obtained from
   1) variable testXml through slicing path.

5.  ABB.SrcML.Data.Test.CodeParserTests.TestField

Code with line numbers

This unit test case method tests field .

This unit test case validates that:
(1) declStmts.Count is equal to 2.
   declStmts is obtained from
   1) variable xml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

(4) foo.VariableType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Accessibility is equal to AccessModifier.None.
   foo is obtained from
   1) variable xml through slicing path.

(6) baz is not null.
   baz is obtained from
   1) variable xml through slicing path.

(7) baz.Name is equal to "baz".
   baz is obtained from
   1) variable xml through slicing path.

(8) baz.VariableType.Name is equal to "Bar".
   baz is obtained from
   1) variable xml through slicing path.

(9) baz.Accessibility is equal to AccessModifier.None.
   baz is obtained from
   1) variable xml through slicing path.

6.  ABB.SrcML.Data.Test.CodeParserTests.TestField_Cpp

Code with line numbers

This unit test case method tests field cpp .

This unit test case validates that:
(1) declStmts.Count is equal to 2.
   declStmts is obtained from
   1) variable xml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

(4) foo.VariableType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Accessibility is equal to AccessModifier.None.
   foo is obtained from
   1) variable xml through slicing path.

(6) baz is not null.
   baz is obtained from
   1) variable xml through slicing path.

(7) baz.Name is equal to "baz".
   baz is obtained from
   1) variable xml through slicing path.

(8) baz.VariableType.Name is equal to "Bar".
   baz is obtained from
   1) variable xml through slicing path.

(9) baz.Accessibility is equal to AccessModifier.None.
   baz is obtained from
   1) variable xml through slicing path.

7.  ABB.SrcML.Data.Test.CodeParserTests.TestMethodCallCreation

Code with line numbers

This unit test case method tests method call creation .

This unit test case validates that:
(1) executeMethod is not null.
   executeMethod is obtained from
   1) variable xml through slicing path.

(2) callToNewB is not null.
   callToNewB is obtained from
   1) variable xml through slicing path.

(3) callToNewB.Name is equal to "B".
   callToNewB is obtained from
   1) variable xml through slicing path.

(4) callToNewB.IsConstructor is true.
   callToNewB is obtained from
   1) variable xml through slicing path.

(5) callToNewB.IsDestructor is false.
   callToNewB is obtained from
   1) variable xml through slicing path.

(6) forStatement is not null.
   forStatement is obtained from
   1) variable xml through slicing path.

(7) callToMax is not null.
   callToMax is obtained from
   1) variable xml through slicing path.

(8) callToMax.Name is equal to "max".
   callToMax is obtained from
   1) variable xml through slicing path.

(9) callToMax.IsDestructor is false.
   callToMax is obtained from
   1) variable xml through slicing path.

(10) callToMax.IsConstructor is false.
   callToMax is obtained from
   1) variable xml through slicing path.

(11) tryStatement is not null.
   tryStatement is obtained from
   1) variable xml through slicing path.

(12) callToPrintOutput is not null.
   callToPrintOutput is obtained from
   1) variable xml through slicing path.

(13) callToPrintOutput.Name is equal to "PrintOutput".
   callToPrintOutput is obtained from
   1) variable xml through slicing path.

(14) callToPrintOutput.IsDestructor is false.
   callToPrintOutput is obtained from
   1) variable xml through slicing path.

(15) callToPrintOutput.IsConstructor is false.
   callToPrintOutput is obtained from
   1) variable xml through slicing path.

(16) callToAnalyze is not null.
   callToAnalyze is obtained from
   1) variable xml through slicing path.

(17) callToAnalyze.Name is equal to "analyze".
   callToAnalyze is obtained from
   1) variable xml through slicing path.

(18) callToAnalyze.IsDestructor is false.
   callToAnalyze is obtained from
   1) variable xml through slicing path.

(19) callToAnalyze.IsConstructor is false.
   callToAnalyze is obtained from
   1) variable xml through slicing path.

(20) catchStatement is not null.
   catchStatement is obtained from
   1) variable xml through slicing path.

(21) callToPrintError is not null.
   callToPrintError is obtained from
   1) variable xml through slicing path.

(22) callToPrintError.Name is equal to "PrintError".
   callToPrintError is obtained from
   1) variable xml through slicing path.

(23) callToPrintError.IsDestructor is false.
   callToPrintError is obtained from
   1) variable xml through slicing path.

(24) callToPrintError.IsConstructor is false.
   callToPrintError is obtained from
   1) variable xml through slicing path.

(25) callToToString is not null.
   callToToString is obtained from
   1) variable xml through slicing path.

(26) callToToString.Name is equal to "ToString".
   callToToString is obtained from
   1) variable xml through slicing path.

(27) callToToString.IsDestructor is false.
   callToToString is obtained from
   1) variable xml through slicing path.

(28) callToToString.IsConstructor is false.
   callToToString is obtained from
   1) variable xml through slicing path.

8.  ABB.SrcML.Data.Test.CodeParserTests.TestSimpleExpression

Code with line numbers

This unit test case method tests simple expression .

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) exp is not null.
   exp is obtained from
   1) variable xml through slicing path.

(3) exp.Components.Count is equal to 5.
   exp is obtained from
   1) variable xml through slicing path.

(4) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Name is equal to "foo".
   foo is obtained from
   1) variable xml through slicing path.

(6) equals is not null.
   equals is obtained from
   1) variable xml through slicing path.

(7) equals.Text is equal to "=".
   equals is obtained from
   1) variable xml through slicing path.

(8) two is not null.
   two is obtained from
   1) variable xml through slicing path.

(9) two.Text is equal to "2".
   two is obtained from
   1) variable xml through slicing path.

(10) plus is not null.
   plus is obtained from
   1) variable xml through slicing path.

(11) plus.Text is equal to "+".
   plus is obtained from
   1) variable xml through slicing path.

(12) three is not null.
   three is obtained from
   1) variable xml through slicing path.

(13) three.Text is equal to "3".
   three is obtained from
   1) variable xml through slicing path.

9.  ABB.SrcML.Data.Test.CodeParserTests.TestSubExpression

Code with line numbers

This unit test case method tests sub expression .

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) exp is not null.
   exp is obtained from
   1) variable xml through slicing path.

(3) exp.Components.Count is equal to 5.
   exp is obtained from
   1) variable xml through slicing path.

(4) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Name is equal to "foo".
   foo is obtained from
   1) variable xml through slicing path.

(6) equals is not null.
   equals is obtained from
   1) variable xml through slicing path.

(7) equals.Text is equal to "=".
   equals is obtained from
   1) variable xml through slicing path.

(8) subExp.GetType() is equal to typeof(Expression).
   subExp is obtained from
   1) variable xml through slicing path.

(9) subExp.Components.Count is equal to 3.
   subExp is obtained from
   1) variable xml through slicing path.

(10) two is not null.
   two is obtained from
   1) variable xml through slicing path.

(11) two.Text is equal to "2".
   two is obtained from
   1) variable xml through slicing path.

(12) plus is not null.
   plus is obtained from
   1) variable xml through slicing path.

(13) plus.Text is equal to "+".
   plus is obtained from
   1) variable xml through slicing path.

(14) three is not null.
   three is obtained from
   1) variable xml through slicing path.

(15) three.Text is equal to "3".
   three is obtained from
   1) variable xml through slicing path.

(16) times is not null.
   times is obtained from
   1) variable xml through slicing path.

(17) times.Text is equal to "*".
   times is obtained from
   1) variable xml through slicing path.

(18) five is not null.
   five is obtained from
   1) variable xml through slicing path.

(19) five.Text is equal to "5".
   five is obtained from
   1) variable xml through slicing path.

10.  ABB.SrcML.Data.Test.CodeParserTests.TestGetChildren_Statements

Code with line numbers

This unit test case method tests get children statements .

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) globalScope.GetDescendantsAndSelf().Count() is equal to 4.
   globalScope is obtained from
   1) variable xml through slicing path.

11.  ABB.SrcML.Data.Test.CodeParserTests.TestGetChildren_Expressions

Code with line numbers

This unit test case method tests get children expressions .

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) globalScope.ChildStatements[0].Content.GetDescendantsAndSelf().Count() is equal to 3.
   globalScope is obtained from
   1) variable xml through slicing path.

12.  ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable

Code with line numbers

This unit test case method tests resolve local variable .

This unit test case validates that:
(1) ifStmt.ChildStatements.Count() is equal to 2.
   ifStmt is obtained from
   1) variable xml through slicing path.

(2) barDecl is not null.
   barDecl is obtained from
   1) variable xml through slicing path.

(3) barUse is not null.
   barUse is obtained from
   1) variable xml through slicing path.

(4) barUse.FindMatches().FirstOrDefault() and barDecl are same.
   barUse is obtained from
   1) variable xml through slicing path.

13.  ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable_ParentExpression

Code with line numbers

This unit test case method tests resolve local variable parent expression .

This unit test case validates that:
(1) forStmt.ChildStatements.Count() is equal to 1.
   forStmt is obtained from
   1) variable xml through slicing path.

(2) iDecl is not null.
   iDecl is obtained from
   1) variable xml through slicing path.

(3) iUse is not null.
   iUse is obtained from
   1) variable xml through slicing path.

(4) iUse.FindMatches().FirstOrDefault() and iDecl are same.
   iUse is obtained from
   1) variable xml through slicing path.

14.  ABB.SrcML.Data.Test.CodeParserTests.TestResolveLocalVariable_Parameter

Code with line numbers

This unit test case method tests resolve local variable parameter .

This unit test case validates that:
(1) foo.Parameters.Count is equal to 2.
   foo is obtained from
   1) variable xml through slicing path.

(2) numDecl is not null.
   numDecl is obtained from
   1) variable xml through slicing path.

(3) optionDecl is not null.
   optionDecl is obtained from
   1) variable xml through slicing path.

(4) optionUse is not null.
   optionUse is obtained from
   1) variable xml through slicing path.

(5) optionUse.FindMatches().FirstOrDefault() and optionDecl are same.
   optionUse is obtained from
   1) variable xml through slicing path.

(6) numUse is not null.
   numUse is obtained from
   1) variable xml through slicing path.

(7) numUse.FindMatches().FirstOrDefault() and numDecl are same.
   numUse is obtained from
   1) variable xml through slicing path.

15.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Class

Code with line numbers

This unit test case method tests create type definitions class .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 39)
This focal method is related to assertions at line 42, line 43, line 44, line 45, line 46

This unit test case validates that:
(1) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(2) actual.Name is equal to "A".
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.Kind is equal to TypeKind.Class.
   actual is obtained from
   1) variable xml through slicing path.

(4) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(5) actual.ParentStatement and globalScope are same.
   actual is obtained from
   1) variable xml through slicing path.

16.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassDeclaration

Code with line numbers

This unit test case method tests create type definitions class declaration .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 55)
This focal method is related to assertions at line 58, line 59, line 60, line 61, line 62

This unit test case validates that:
(1) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(2) actual.Name is equal to "A".
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.Kind is equal to TypeKind.Class.
   actual is obtained from
   1) variable xml through slicing path.

(4) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(5) actual.ParentStatement and globalScope are same.
   actual is obtained from
   1) variable xml through slicing path.

17.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestClassWithDeclaredVariable

Code with line numbers

This unit test case method tests class with declared variable.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fileSetup.GetFileUnitForXmlSnippet(xml,"A.h"));(@line 74)
This focal method is related to assertions at line 75, line 78, line 79, line 80, line 83, line 85, line 86, line 87

This unit test case validates that:
(1) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) classA is not null.
   classA is obtained from
   1) variable xml through slicing path.

(3) classA.Name is equal to "A".
   classA is obtained from
   1) variable xml through slicing path.

(4) classA.ChildStatements.Count is equal to 1.
   classA is obtained from
   1) variable xml through slicing path.

(5) fieldStmt is not null.
   fieldStmt is obtained from
   1) variable xml through slicing path.

(6) field is not null.
   field is obtained from
   1) variable xml through slicing path.

(7) field.Name is equal to "a".
   field is obtained from
   1) variable xml through slicing path.

(8) field.VariableType.Name is equal to "int".
   field is obtained from
   1) variable xml through slicing path.

18.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestFreeStandingBlock

Code with line numbers

This unit test case method tests free standing block .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 104)
This focal method is related to assertions at line 107, line 110, line 111, line 112, line 113

This unit test case validates that:
(1) firstChild is a instance of BlockStatement.
   firstChild is obtained from
   1) variable xml through slicing path.

(2) actual.Content is null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 2.
   actual is obtained from
   1) variable xml through slicing path.

(4) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(5) actual.ParentStatement and globalScope are same.
   actual is obtained from
   1) variable xml through slicing path.

19.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestExternStatement_Single

Code with line numbers

This unit test case method tests extern statement single .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 122)
This focal method is related to assertions at line 125, line 126, line 127

This unit test case validates that:
(1) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(2) actual.LinkageType is equal to "\"C\"".
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 1.
   actual is obtained from
   1) variable xml through slicing path.

20.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestExternStatement_Block

Code with line numbers

This unit test case method tests extern statement block .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 143)
This focal method is related to assertions at line 146, line 147, line 148

This unit test case validates that:
(1) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(2) actual.LinkageType is equal to "\"C\"".
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 2.
   actual is obtained from
   1) variable xml through slicing path.

21.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_CallToSelf

Code with line numbers

This unit test case method tests constructor call to self.

This unit test case includes following focal methods:
(1) var constructors = globalScope.GetDescendants().ToList();(@line 168)
This focal method is related to assertions at line 172, line 173, line 174, line 177, line 178, line 179, line 180

This unit test case validates that:
(1) defaultConstructor is not null.
   defaultConstructor is obtained from
   1) variable xml through slicing path.

(2) calledConstructor is not null.
   calledConstructor is obtained from
   1) variable xml through slicing path.

(3) defaultConstructor.ConstructorInitializers.Count is equal to 1.
   defaultConstructor is obtained from
   1) variable xml through slicing path.

(4) constructorCall is not null.
   constructorCall is obtained from
   1) variable xml through slicing path.

(5) constructorCall.IsConstructor is true.
   constructorCall is obtained from
   1) variable xml through slicing path.

(6) constructorCall.IsConstructorInitializer is true.
   constructorCall is obtained from
   1) variable xml through slicing path.

(7) constructorCall.FindMatches().FirstOrDefault() and calledConstructor are same.
   constructorCall is obtained from
   1) variable xml through slicing path.

22.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_CallToSuperClass

Code with line numbers

This unit test case method tests constructor call to super class.

This unit test case includes following focal methods:
(1) var subClassConstructor = globalScope.GetDescendants().First();(@line 202)
This focal method is related to assertions at line 203, line 204, line 205, line 208, line 209, line 210, line 211

This unit test case validates that:
(1) subClassConstructor is not null.
   subClassConstructor is obtained from
   1) variable xml through slicing path.

(2) calledConstructor is not null.
   calledConstructor is obtained from
   1) variable xml through slicing path.

(3) subClassConstructor.ConstructorInitializers.Count is equal to 1.
   subClassConstructor is obtained from
   1) variable xml through slicing path.

(4) constructorCall is not null.
   constructorCall is obtained from
   1) variable xml through slicing path.

(5) constructorCall.IsConstructor is true.
   constructorCall is obtained from
   1) variable xml through slicing path.

(6) constructorCall.IsConstructorInitializer is true.
   constructorCall is obtained from
   1) variable xml through slicing path.

(7) constructorCall.FindMatches().FirstOrDefault() and calledConstructor are same.
   constructorCall is obtained from
   1) variable xml through slicing path.

23.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_InitializeBuiltinTypeField

Code with line numbers

This unit test case method tests constructor initialize builtin type field .

This unit test case includes following focal methods:
(1) var quux = globalScope.GetNamedChildren("Quux").First();(@line 232)
This focal method is related to assertions at line 235, line 238, line 240, line 241, line 242, line 243

This unit test case validates that:
(1) fieldType is not null.
   fieldType is obtained from
   1) variable xml through slicing path.

(2) constructor.ConstructorInitializers.Count is equal to 1.
   constructor is obtained from
   1) variable xml through slicing path.

(3) fieldCall is not null.
   fieldCall is obtained from
   1) variable xml through slicing path.

(4) fieldCall.IsConstructor is true.
   fieldCall is obtained from
   1) variable xml through slicing path.

(5) fieldCall.IsConstructorInitializer is true.
   fieldCall is obtained from
   1) variable xml through slicing path.

(6) fieldCall.FindMatches() is empty.
   fieldCall is obtained from
   1) variable xml through slicing path.

24.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestConstructor_InitializeField

Code with line numbers

This unit test case method tests constructor initialize field .

This unit test case includes following focal methods:
(1) var barConstructor = globalScope.GetDescendants().First();(@line 275)
This focal method is related to assertions at line 276, line 278, line 279, line 280, line 281

This unit test case validates that:
(1) barConstructor.ConstructorInitializers.Count is equal to 1.
   barConstructor is obtained from
   1) variable xml through slicing path.

(2) fieldCall is not null.
   fieldCall is obtained from
   1) variable xml through slicing path.

(3) fieldCall.IsConstructor is true.
   fieldCall is obtained from
   1) variable xml through slicing path.

(4) fieldCall.IsConstructorInitializer is true.
   fieldCall is obtained from
   1) variable xml through slicing path.

(5) fieldCall.FindMatches().FirstOrDefault() and fooConstructor are same.
   fieldCall is obtained from
   1) variable xml through slicing path.

25.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_ImportClass

Code with line numbers

This unit test case method tests create aliases for files import class.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 290)
This focal method is related to assertions at line 292, line 294, line 295, line 296

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.AliasName is equal to "Foo".
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Target.ToString() is equal to "A::Foo".
   actual is obtained from
   1) variable xml through slicing path.

26.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_ImportNamespace

Code with line numbers

This unit test case method tests create aliases for files import namespace.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 306)
This focal method is related to assertions at line 308, line 310, line 311

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ImportedNamespace.ToString() is equal to "x :: y :: z".
   actual is obtained from
   1) variable xml through slicing path.

27.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateAliasesForFiles_TypeAlias

Code with line numbers

This unit test case method tests create aliases for files type alias.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 321)
This focal method is related to assertions at line 323, line 325, line 326, line 327

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.AliasName is equal to "x".
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Target.ToString() is equal to "foo::bar::baz".
   actual is obtained from
   1) variable xml through slicing path.

28.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetImports

Code with line numbers

This unit test case method tests get imports .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 353)
This focal method is related to assertions at line 354, line 356, line 358, line 359
(2) var zDef = globalScope.GetDescendants().FirstOrDefault();(@line 361)
This focal method is related to assertions at line 362, line 364

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) imports.Count is equal to 1.
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) imports[0].ImportedNamespace.ToString() is equal to "x :: y :: z".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) zDef is not null.
   zDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) zUse.FindMatches().FirstOrDefault() and zDef are same.
   zUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

29.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetImports_NestedImportNamespace

Code with line numbers

This unit test case method tests get imports nested import namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 381)
This focal method is related to assertions at line 383, line 385, line 386, line 387

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(2) imports.Count is equal to 2.
   imports is obtained from
   1) variable xml through slicing path.

(3) imports[0].ImportedNamespace.ToString() is equal to "std".
   imports is obtained from
   1) variable xml through slicing path.

(4) imports[1].ImportedNamespace.ToString() is equal to "x :: y :: z".
   imports is obtained from
   1) variable xml through slicing path.

30.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetAliases_NestedImportClass

Code with line numbers

This unit test case method tests get aliases nested import class .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 415)
This focal method is related to assertions at line 417, line 419, line 420, line 421, line 423, line 424
(2) var barDef = globalScope.GetDescendants().FirstOrDefault();(@line 426)
This focal method is related to assertions at line 427, line 429

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) aliases.Count is equal to 1.
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) aliases[0].Target.ToString() is equal to "B::Bar".
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) aliases[0].AliasName is equal to "Bar".
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) imports.Count is equal to 1.
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) imports[0].ImportedNamespace.ToString() is equal to "x :: y :: z".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) barDef is not null.
   barDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(8) barUse.FindMatches().FirstOrDefault() and barDef are same.
   barUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

31.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGetAliases_NestedTypeAlias

Code with line numbers

This unit test case method tests get aliases nested type alias .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 447)
This focal method is related to assertions at line 449, line 451, line 452, line 453, line 455

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(2) aliases.Count is equal to 1.
   aliases is obtained from
   1) variable xml through slicing path.

(3) aliases[0].Target.ToString() is equal to "foo :: bar :: baz".
   aliases is obtained from
   1) variable xml through slicing path.

(4) aliases[0].AliasName is equal to "x".
   aliases is obtained from
   1) variable xml through slicing path.

(5) imports[0].ImportedNamespace.ToString() is equal to "x :: y :: z".
   imports is obtained from
   1) variable xml through slicing path.

32.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestImport_NameResolution

Code with line numbers

This unit test case method tests import name resolution .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 503)
This focal method is related to assertions at line 504
(2) var baz = globalScope.GetDescendants().FirstOrDefault();(@line 506)
This focal method is related to assertions at line 507
(3) var thingy = globalScope.GetDescendants().FirstOrDefault();(@line 509)
This focal method is related to assertions at line 510, line 512, line 513, line 517, line 518

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) baz is not null.
   baz is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) thingy is not null.
   thingy is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) thingyTypes.Count is equal to 1.
   thingyTypes is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) thingyTypes[0] and baz are same.
   thingyTypes is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) bazCall is not null.
   bazCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) bazCall.FindMatches().FirstOrDefault() and bazDef are same.
   bazCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

33.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestAlias_NameResolution_ImportType

Code with line numbers

This unit test case method tests alias name resolution import type .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 562)
This focal method is related to assertions at line 563
(2) var thingDef = globalScope.GetDescendants().FirstOrDefault();(@line 565)
This focal method is related to assertions at line 566, line 567
(3) var bDef = globalScope.GetDescendants().FirstOrDefault();(@line 569)
This focal method is related to assertions at line 570, line 571, line 573, line 574

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) thingDef is not null.
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) TypeDefinition thingDef.ParentStatement.Name is equal to "Baz".
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) bDef is not null.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) bDef.ChildStatements.Count is equal to 1.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) thingCall is not null.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) thingCall.FindMatches().First() and thingDef are same.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

34.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestAlias_NameResolution_TypeAlias

Code with line numbers

This unit test case method tests alias name resolution type alias .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 619)
This focal method is related to assertions at line 620
(2) var thingDef = globalScope.GetDescendants().FirstOrDefault();(@line 622)
This focal method is related to assertions at line 623, line 624
(3) var bDef = globalScope.GetDescendants().FirstOrDefault();(@line 626)
This focal method is related to assertions at line 627, line 628, line 630, line 631

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) thingDef is not null.
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) TypeDefinition thingDef.ParentStatement.Name is equal to "Baz".
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) bDef is not null.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) bDef.ChildStatements.Count is equal to 1.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) thingCall is not null.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) thingCall.FindMatches().First() and thingDef are same.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

35.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_ClassInNamespace

Code with line numbers

This unit test case method tests create type definition class in namespace.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 644)
This focal method is related to assertions at line 648, line 649, line 651

This unit test case validates that:
(1) namespaceA.Name is equal to "A".
   namespaceA is obtained from
   1) variable xml through slicing path.

(2) namespaceA.IsGlobal is false.
   namespaceA is obtained from
   1) variable xml through slicing path.

(3) typeB.Name is equal to "B".
   typeB is obtained from
   1) variable xml through slicing path.

36.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_ClassWithMethodDeclaration

Code with line numbers

This unit test case method tests create type definition class with method declaration.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 666)
This focal method is related to assertions at line 669, line 672, line 673, line 675

This unit test case validates that:
(1) typeA.ChildStatements.Count is equal to 1.
   typeA is obtained from
   1) variable xml through slicing path.

(2) typeA.Name is equal to "A".
   typeA is obtained from
   1) variable xml through slicing path.

(3) methodFoo.Name is equal to "foo".
   methodFoo is obtained from
   1) variable xml through slicing path.

(4) methodFoo.Parameters.Count is equal to 1.
   methodFoo is obtained from
   1) variable xml through slicing path.

37.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinition_StaticMethod

Code with line numbers

This unit test case method tests create type definition static method .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fileUnit);(@line 689)
This focal method is related to assertions at line 692, line 693, line 694, line 696, line 697

This unit test case validates that:
(1) example is not null.
   example is obtained from
   1) variable xml through slicing path.

(2) example.Name is equal to "Example".
   example is obtained from
   1) variable xml through slicing path.

(3) example.ChildStatements.Count() is equal to 1.
   example is obtained from
   1) variable xml through slicing path.

(4) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

38.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassInFunction

Code with line numbers

This unit test case method tests create type definitions class in function.

This unit test case includes following focal methods:
(1) var mainMethod = codeParser.ParseFileUnit(xmlElement).ChildStatements.First() as MethodDefinition;(@line 710)
This focal method is related to assertions at line 712, line 715
(2) An assertion in line 716 validating that typeA.GetFullName() is equal to "main.A".
(3) An assertion in line 717 validating that typeA.GetAncestors().First().GetFullName() is equal to string.Empty.

This unit test case validates that:
(1) mainMethod.Name is equal to "main".

(2) typeA.Name is equal to "A".

39.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithInnerClass

Code with line numbers

This unit test case method tests create type definitions class with inner class.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 729)
This focal method is related to assertions at line 734
(2) An assertion in line 735 validating that typeA.GetFullName() is equal to "A".
(3) An assertion in line 737 validating that typeB.GetFullName() is equal to "A.B".

This unit test case validates that:
(1) typeB.ParentStatement and typeA are same.
   typeB is obtained from
   1) variable xml through slicing path.

40.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithParents

Code with line numbers

This unit test case method tests create type definitions class with parents.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 747)
This focal method is related to assertions at line 750, line 751, line 752, line 753

This unit test case validates that:
(1) actual.Name is equal to "A".
   actual is obtained from
   1) variable xml through slicing path.

(2) actual.ParentTypeNames.Count is equal to 3.
   actual is obtained from
   1) variable xml through slicing path.

(3) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(4) actual.ParentStatement and globalScope are same.
   actual is obtained from
   1) variable xml through slicing path.

(5) parentMatchesExpected is true.

41.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_ClassWithQualifiedParent

Code with line numbers

This unit test case method tests create type definitions class with qualified parent.

This unit test case includes following focal methods:
(1) var actual = codeParser.ParseFileUnit(xmlElement).ChildStatements.First() as TypeDefinition;(@line 772)
This focal method is related to assertions at line 775, line 776, line 777, line 781, line 784, line 785, line 786

This unit test case validates that:
(1) actual.Name is equal to "D".

(2) actual.ParentTypeNames.Count is equal to 1.

(3) globalNamespace.IsGlobal is true.

(4) parent.Name is equal to "C".

(5) prefixNames.Count is equal to 2.

(6) prefixNames[0].Name is equal to "A".

(7) prefixNames[1].Name is equal to "B".

42.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_InnerClassWithNamespace

Code with line numbers

This unit test case method tests create type definitions inner class with namespace.

This unit test case includes following focal methods:
(1) var typeDefinitions = globalScope.GetDescendants().ToList();(@line 803)
This focal method is related to assertions at line 804, line 809, line 810, line 811, line 813, line 814, line 815

This unit test case validates that:
(1) typeDefinitions.Count is equal to 2.
   typeDefinitions is obtained from
   1) variable xml through slicing path.

(2) outer.Name is equal to "B".
   outer is obtained from
   1) variable xml through slicing path.

(3) outer.GetAncestors().First().GetFullName() is equal to "A".
   outer is obtained from
   1) variable xml through slicing path.

(4) outer.GetFullName() is equal to "A.B".
   outer is obtained from
   1) variable xml through slicing path.

(5) inner.Name is equal to "C".
   inner is obtained from
   1) variable xml through slicing path.

(6) inner.GetAncestors().First().GetFullName() is equal to "A".
   inner is obtained from
   1) variable xml through slicing path.

(7) inner.GetFullName() is equal to "A.B.C".
   inner is obtained from
   1) variable xml through slicing path.

43.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Struct

Code with line numbers

This unit test case method tests create type definitions struct .

This unit test case includes following focal methods:
(1) var actual = codeParser.ParseFileUnit(xmlElement).ChildStatements.First() as TypeDefinition;(@line 825)
This focal method is related to assertions at line 828, line 829, line 830

This unit test case validates that:
(1) actual.Name is equal to "A".

(2) actual.Kind is equal to TypeKind.Struct.

(3) globalNamespace.IsGlobal is true.

44.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestCreateTypeDefinitions_Union

Code with line numbers

This unit test case method tests create type definitions union .

This unit test case includes following focal methods:
(1) var actual = codeParser.ParseFileUnit(xmlElement).ChildStatements.First() as TypeDefinition;(@line 843)
This focal method is related to assertions at line 845, line 846

This unit test case validates that:
(1) actual.Kind is equal to TypeKind.Union.

(2) globalNamespace.IsGlobal is true.

45.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGenericVariableDeclaration

Code with line numbers

This unit test case method tests generic variable declaration .

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 856)
This focal method is related to assertions at line 859, line 860, line 861, line 862, line 863, line 864

This unit test case validates that:
(1) testDeclaration is not null.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(2) testDeclaration.Name is equal to "a".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(3) testDeclaration.VariableType.Name is equal to "vector".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(4) testDeclaration.VariableType.IsGeneric is true.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(5) testDeclaration.VariableType.TypeParameters.Count is equal to 1.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(6) testDeclaration.VariableType.TypeParameters.First().Name is equal to "int".
   testDeclaration is obtained from
   1) variable xml through slicing path.

46.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestGenericVariableDeclarationWithPrefix

Code with line numbers

This unit test case method tests generic variable declaration with prefix.

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 874)
This focal method is related to assertions at line 877, line 878, line 879, line 880, line 881, line 882, line 883, line 884

This unit test case validates that:
(1) testDeclaration is not null.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(2) testDeclaration.Name is equal to "a".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(3) testDeclaration.VariableType.Name is equal to "vector".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(4) testDeclaration.VariableType.Prefix.Names.Count() is equal to 1.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(5) testDeclaration.VariableType.Prefix.Names.First().Name is equal to "std".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(6) testDeclaration.VariableType.IsGeneric is true.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(7) testDeclaration.VariableType.TypeParameters.Count is equal to 1.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(8) testDeclaration.VariableType.TypeParameters.First().Name is equal to "int".
   testDeclaration is obtained from
   1) variable xml through slicing path.

47.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_LengthyCallingExpression

Code with line numbers

This unit test case method tests method call creation lengthy calling expression .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(testUnit);(@line 893)
This focal method is related to assertions at line 894, line 897, line 898, line 900, line 901, line 903, line 904, line 906, line 907, line 909, line 910, line 912, line 913, line 914, line 915

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) exp is not null.
   exp is obtained from
   1) variable xml through slicing path.

(3) exp.Components.Count is equal to 5.
   exp is obtained from
   1) variable xml through slicing path.

(4) a is not null.
   a is obtained from
   1) variable xml through slicing path.

(5) a.Name is equal to "a".
   a is obtained from
   1) variable xml through slicing path.

(6) arrow is not null.
   arrow is obtained from
   1) variable xml through slicing path.

(7) arrow.Text is equal to "->".
   arrow is obtained from
   1) variable xml through slicing path.

(8) b is not null.
   b is obtained from
   1) variable xml through slicing path.

(9) b.Name is equal to "b".
   b is obtained from
   1) variable xml through slicing path.

(10) dot is not null.
   dot is obtained from
   1) variable xml through slicing path.

(11) dot.Text is equal to ".".
   dot is obtained from
   1) variable xml through slicing path.

(12) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(13) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

(14) foo.Arguments.Count is equal to 0.
   foo is obtained from
   1) variable xml through slicing path.

(15) foo.TypeArguments.Count is equal to 0.
   foo is obtained from
   1) variable xml through slicing path.

48.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMergeWithUsing

Code with line numbers

This unit test case method tests merge with using.

This unit test case includes following focal methods:
(1) var globalScope = headerScope.Merge(implementationScope);(@line 933)
This focal method is related to assertions at line 934
(2) var namespaceA = globalScope.GetDescendants().FirstOrDefault();(@line 936)
This focal method is related to assertions at line 937, line 938, line 941, line 942, line 945, line 946, line 947
(3) namespaceA = globalScope_implementationFirst.GetDescendants().FirstOrDefault();(@line 954)
This focal method is related to assertions at line 955, line 956, line 959, line 960, line 963, line 964, line 965

This unit test case validates that:
(1) globalScope.ChildStatements.OfType().Count() is equal to 1.
   globalScope is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(2) namespaceA is not null.
   namespaceA is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(3) namespaceA.ChildStatements.Count is equal to 1.
   namespaceA is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(4) typeB is not null.
   typeB is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(5) typeB.ChildStatements.Count is equal to 1.
   typeB is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(6) methodFoo is not null.
   methodFoo is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(7) methodFoo.ChildStatements.Count is equal to 0.
   methodFoo is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(8) methodFoo.Locations.Count is equal to 2.
   methodFoo is obtained from
   1) variable headerXml through slicing path
   2) variable implementationXml through slicing path.

(9) namespaceA is not null.

(10) namespaceA.ChildStatements.Count is equal to 1.

(11) typeB is not null.

(12) typeB.ChildStatements.Count is equal to 1.

(13) methodFoo is not null.

(14) methodFoo.ChildStatements.Count is equal to 0.

(15) methodFoo.Locations.Count is equal to 2.

49.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_WithConflictingMethodNames

Code with line numbers

This unit test case method tests method call creation with conflicting method names.

This unit test case includes following focal methods:
(1) var globalScope = scopeForA.Merge(scopeForB);(@line 997)
This focal method is related to assertions at line 998
(2) var classA = globalScope.GetDescendants().FirstOrDefault();(@line 1000)
This focal method is related to assertions at line 1001
(3) var classB = globalScope.GetDescendants().FirstOrDefault();(@line 1002)
This focal method is related to assertions at line 1003, line 1006, line 1008, line 1010, line 1012, line 1014, line 1015

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.
   globalScope is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(2) classA is not null.
   classA is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(3) classB is not null.
   classB is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(4) aDotContains is not null.
   aDotContains is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(5) bDotContains is not null.
   bDotContains is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(6) aDotContains.ChildStatements.Count is equal to 1.
   aDotContains is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(7) methodCall is not null.
   methodCall is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(8) methodCall.FindMatches().FirstOrDefault() and bDotContains are same.
   methodCall is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

(9) methodCall.FindMatches().FirstOrDefault() and aDotContains are not same.
   methodCall is obtained from
   1) variable a_xml through slicing path
   2) variable b_xml through slicing path.

50.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_WithThisKeyword

Code with line numbers

This unit test case method tests method call creation with this keyword.

This unit test case includes following focal methods:
(1) var aDotBar = globalScope.GetNamedChildren("A").First().GetNamedChildren("Bar").FirstOrDefault();(@line 1039)
This focal method is related to assertions at line 1040
(2) var classB = globalScope.GetDescendants().FirstOrDefault();(@line 1041)
This focal method is related to assertions at line 1042, line 1044, line 1046, line 1048, line 1050, line 1051, line 1052

This unit test case validates that:
(1) aDotBar is not null.
   aDotBar is obtained from
   1) variable a_xml through slicing path.

(2) classB is not null.
   classB is obtained from
   1) variable a_xml through slicing path.

(3) aDotBDotFoo is not null.
   aDotBDotFoo is obtained from
   1) variable a_xml through slicing path.

(4) aDotBDotBar is not null.
   aDotBDotBar is obtained from
   1) variable a_xml through slicing path.

(5) aDotBDotFoo.ChildStatements.Count is equal to 1.
   aDotBDotFoo is obtained from
   1) variable a_xml through slicing path.

(6) barCall is not null.
   barCall is obtained from
   1) variable a_xml through slicing path.

(7) barCall.FindMatches().FirstOrDefault() and aDotBDotBar are same.
   barCall is obtained from
   1) variable a_xml through slicing path.

(8) barCall.FindMatches().FirstOrDefault() and aDotBar are not same.
   barCall is obtained from
   1) variable a_xml through slicing path.

51.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_GlobalFunction

Code with line numbers

This unit test case method tests method call creation global function .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(unit);(@line 1069)
This focal method is related to assertions at line 1070
(2) var mainMethod = globalScope.GetNamedChildren("main").FirstOrDefault();(@line 1073)
This focal method is related to assertions at line 1075, line 1076, line 1079, line 1082, line 1084

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) fooMethod is not null.
   fooMethod is obtained from
   1) variable xml through slicing path.

(3) mainMethod is not null.
   mainMethod is obtained from
   1) variable xml through slicing path.

(4) mainMethod.ChildStatements.Count is equal to 2.
   mainMethod is obtained from
   1) variable xml through slicing path.

(5) fiveCall is not null.
   fiveCall is obtained from
   1) variable xml through slicing path.

(6) matches.FirstOrDefault() and fooMethod are same.
   matches is obtained from
   1) variable xml through slicing path.

52.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallCreation_CallGlobalNamespace

Code with line numbers

This unit test case method tests method call creation call global namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(unit);(@line 1119)
This focal method is related to assertions at line 1120
(2) var print = globalScope.GetNamedChildren("A").First().GetNamedChildren("print").FirstOrDefault();(@line 1124)
This focal method is related to assertions at line 1126, line 1127, line 1128, line 1130, line 1133, line 1136, line 1139, line 1141, line 1142

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) globalFoo is not null.
   globalFoo is obtained from
   1) variable xml through slicing path.

(3) aFoo is not null.
   aFoo is obtained from
   1) variable xml through slicing path.

(4) print is not null.
   print is obtained from
   1) variable xml through slicing path.

(5) print.ChildStatements.Count is equal to 2.
   print is obtained from
   1) variable xml through slicing path.

(6) aCall is not null.
   aCall is obtained from
   1) variable xml through slicing path.

(7) aCallMatches.FirstOrDefault() and aFoo are same.
   aCallMatches is obtained from
   1) variable xml through slicing path.

(8) globalCall is not null.
   globalCall is obtained from
   1) variable xml through slicing path.

(9) globalCallMatches.Count is equal to 1.
   globalCallMatches is obtained from
   1) variable xml through slicing path.

(10) globalCallMatches.FirstOrDefault() and globalFoo are same.
   globalCallMatches is obtained from
   1) variable xml through slicing path.

53.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallFindMatches

Code with line numbers

This unit test case method tests method call find matches .

This unit test case includes following focal methods:
(1) An assertion in line 1179 validating that unmergedMainMethod.FindExpressions(true).First().FindMatches() is true.
(2) var = codeParser.ParseFileUnit(mainElement);(@line 1176)
This focal method is related to assertions at line 1188, line 1193, line 1194, line 1200
(3) var callInMain = mainMethod.FindExpressions(true).First();(@line 1196)
This focal method is related to assertions at line 1199, line 1201

This unit test case validates that:
(1) namedChildren.Count() is equal to 2.
   namedChildren is obtained from
   1) variable implementationXml through slicing path.

(2) typeA.Name is equal to "A".
   typeA is obtained from
   1) variable implementationXml through slicing path.

(3) mainMethod.Name is equal to "main".
   mainMethod is obtained from
   1) variable implementationXml through slicing path.

(4) callInMain.IsConstructor is true.
   callInMain is obtained from
   1) variable implementationXml through slicing path.

(5) constructor.IsConstructor is true.
   constructor is obtained from
   1) variable implementationXml through slicing path.

(6) callInMain.FindMatches().First() and constructor are same.
   callInMain is obtained from
   1) variable implementationXml through slicing path.

54.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallFindMatches_WithArguments

Code with line numbers

This unit test case method tests method call find matches with arguments.

This unit test case includes following focal methods:
(1) var = codeParser.ParseFileUnit(mainElement);(@line 1237)
This focal method is related to assertions at line 1246, line 1251, line 1252, line 1258
(2) var callInMain = mainMethod.FindExpressions(true).First();(@line 1254)
This focal method is related to assertions at line 1257, line 1259

This unit test case validates that:
(1) namedChildren.Count() is equal to 2.
   namedChildren is obtained from
   1) variable implementationXml through slicing path.

(2) typeA.Name is equal to "A".
   typeA is obtained from
   1) variable implementationXml through slicing path.

(3) mainMethod.Name is equal to "main".
   mainMethod is obtained from
   1) variable implementationXml through slicing path.

(4) callInMain.IsConstructor is true.
   callInMain is obtained from
   1) variable implementationXml through slicing path.

(5) constructor.IsConstructor is true.
   constructor is obtained from
   1) variable implementationXml through slicing path.

(6) callInMain.FindMatches().First() and constructor are same.
   callInMain is obtained from
   1) variable implementationXml through slicing path.

55.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodCallMatchToParameter

Code with line numbers

This unit test case method tests method call match to parameter.

This unit test case includes following focal methods:
(1) var classB = testScope.GetNamedChildren("B").FirstOrDefault();(@line 1274)
This focal method is related to assertions at line 1276, line 1277, line 1280, line 1283, line 1285

This unit test case validates that:
(1) methodCallFoo is not null.
   methodCallFoo is obtained from
   1) variable xml through slicing path.

(2) classB is not null.
   classB is obtained from
   1) variable xml through slicing path.

(3) bDotFoo is not null.
   bDotFoo is obtained from
   1) variable xml through slicing path.

(4) callToFoo is not null.
   callToFoo is obtained from
   1) variable xml through slicing path.

(5) callToFoo.FindMatches().FirstOrDefault() is equal to bDotFoo.
   callToFoo is obtained from
   1) variable xml through slicing path.

56.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_ReturnType

Code with line numbers

This unit test case method tests method definition return type .

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 1295)
This focal method is related to assertions at line 1298, line 1299, line 1300, line 1301, line 1302, line 1303, line 1304

This unit test case validates that:
(1) method is not null.
   method is obtained from
   1) variable xml through slicing path.

(2) method.Name is equal to "Foo".
   method is obtained from
   1) variable xml through slicing path.

(3) method.ReturnType.Name is equal to "int".
   method is obtained from
   1) variable xml through slicing path.

(4) method.Parameters.Count is equal to 0.
   method is obtained from
   1) variable xml through slicing path.

(5) method.IsConstructor is false.
   method is obtained from
   1) variable xml through slicing path.

(6) method.IsDestructor is false.
   method is obtained from
   1) variable xml through slicing path.

(7) method.IsPartial is false.
   method is obtained from
   1) variable xml through slicing path.

57.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_ReturnTypeAndSpecifier

Code with line numbers

This unit test case method tests method definition return type and specifier .

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 1314)
This focal method is related to assertions at line 1317, line 1318, line 1320

This unit test case validates that:
(1) method is not null.
   method is obtained from
   1) variable xml through slicing path.

(2) method.Name is equal to "Foo".
   method is obtained from
   1) variable xml through slicing path.

(3) method.ReturnType.Name is equal to "int".
   method is obtained from
   1) variable xml through slicing path.

58.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_Parameters

Code with line numbers

This unit test case method tests method definition parameters .

This unit test case includes following focal methods:
(1) var foo = testScope.GetNamedChildren("Foo").First();(@line 1330)
This focal method is related to assertions at line 1331, line 1332, line 1333, line 1334, line 1335, line 1336

This unit test case validates that:
(1) foo.ReturnType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(2) foo.Parameters.Count is equal to 2.
   foo is obtained from
   1) variable xml through slicing path.

(3) foo.Parameters[0].VariableType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(4) foo.Parameters[0].Name is equal to "bar".
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Parameters[1].VariableType.Name is equal to "char".
   foo is obtained from
   1) variable xml through slicing path.

(6) foo.Parameters[1].Name is equal to "baz".
   foo is obtained from
   1) variable xml through slicing path.

59.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_VoidParameter

Code with line numbers

This unit test case method tests method definition void parameter .

This unit test case includes following focal methods:
(1) var method = testScope.GetDescendants().FirstOrDefault();(@line 1348)
This focal method is related to assertions at line 1349, line 1351

This unit test case validates that:
(1) method is not null.
   method is obtained from
   1) variable xml through slicing path.

(2) method.Parameters.Count is equal to 0.
   method is obtained from
   1) variable xml through slicing path.

60.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_FunctionPointerParameter

Code with line numbers

This unit test case method tests method definition function pointer parameter .

This unit test case includes following focal methods:
(1) var foo = testScope.GetNamedChildren("Foo").First();(@line 1361)
This focal method is related to assertions at line 1362, line 1363, line 1364, line 1365, line 1366, line 1367

This unit test case validates that:
(1) foo.ReturnType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(2) foo.Parameters.Count is equal to 2.
   foo is obtained from
   1) variable xml through slicing path.

(3) foo.Parameters[0].VariableType.Name is equal to "char".
   foo is obtained from
   1) variable xml through slicing path.

(4) foo.Parameters[0].Name is equal to "bar".
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Parameters[1].VariableType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(6) foo.Parameters[1].Name is equal to "pInit".
   foo is obtained from
   1) variable xml through slicing path.

61.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_VoidReturn

Code with line numbers

This unit test case method tests method definition void return .

This unit test case includes following focal methods:
(1) var method = testScope.GetDescendants().FirstOrDefault();(@line 1379)
This focal method is related to assertions at line 1380, line 1381, line 1382

This unit test case validates that:
(1) method is not null.
   method is obtained from
   1) variable xml through slicing path.

(2) method.Name is equal to "Foo".
   method is obtained from
   1) variable xml through slicing path.

(3) method.ReturnType is null.
   method is obtained from
   1) variable xml through slicing path.

62.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestMethodDefinition_DefaultArguments

Code with line numbers

This unit test case method tests method definition default arguments .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(unit).Merge(new NamespaceDefinition());(@line 1407)
This focal method is related to assertions at line 1408
(2) var mainMethod = globalScope.GetNamedChildren("main").FirstOrDefault();(@line 1411)
This focal method is related to assertions at line 1413, line 1414, line 1416, line 1418, line 1419, line 1422, line 1423

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.

(2) fooMethod is not null.

(3) mainMethod is not null.

(4) mainMethod.ChildStatements.Count is equal to 3.

(5) defaultCall is not null.

(6) defaultCall.FindMatches().FirstOrDefault() and fooMethod are same.

(7) fiveCall is not null.

(8) fiveCall.FindMatches().FirstOrDefault() and fooMethod are same.

63.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestTwoVariableDeclarations

Code with line numbers

This unit test case method tests two variable declarations .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(testUnit);(@line 1432)
This focal method is related to assertions at line 1437, line 1438, line 1439, line 1440, line 1441

This unit test case validates that:
(1) varDecls.Count is equal to 2.
   varDecls is obtained from
   1) variable testXml through slicing path.

(2) varDecls[0].Name is equal to "a".
   varDecls is obtained from
   1) variable testXml through slicing path.

(3) varDecls[0].VariableType.Name is equal to "int".
   varDecls is obtained from
   1) variable testXml through slicing path.

(4) varDecls[1].Name is equal to "b".
   varDecls is obtained from
   1) variable testXml through slicing path.

(5) varDecls[1].VariableType and varDecls[0].VariableType are same.
   varDecls is obtained from
   1) variable testXml through slicing path.

64.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestThreeVariableDeclarations

Code with line numbers

This unit test case method tests three variable declarations .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(testUnit);(@line 1450)
This focal method is related to assertions at line 1455, line 1456, line 1457, line 1458, line 1459, line 1460, line 1461

This unit test case validates that:
(1) varDecls.Count is equal to 3.
   varDecls is obtained from
   1) variable testXml through slicing path.

(2) varDecls[0].Name is equal to "a".
   varDecls is obtained from
   1) variable testXml through slicing path.

(3) varDecls[0].VariableType.Name is equal to "int".
   varDecls is obtained from
   1) variable testXml through slicing path.

(4) varDecls[1].Name is equal to "b".
   varDecls is obtained from
   1) variable testXml through slicing path.

(5) varDecls[1].VariableType and varDecls[0].VariableType are same.
   varDecls is obtained from
   1) variable testXml through slicing path.

(6) varDecls[2].Name is equal to "c".
   varDecls is obtained from
   1) variable testXml through slicing path.

(7) varDecls[2].VariableType and varDecls[0].VariableType are same.
   varDecls is obtained from
   1) variable testXml through slicing path.

65.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariablesWithSpecifiers

Code with line numbers

This unit test case method tests variables with specifiers.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(testUnit);(@line 1476)
This focal method is related to assertions at line 1477, line 1480, line 1481, line 1482, line 1483, line 1486, line 1487, line 1488, line 1489, line 1492, line 1493, line 1494, line 1495, line 1498, line 1499, line 1500, line 1501

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 4.
   globalScope is obtained from
   1) variable testXml through slicing path.

(2) declA is not null.
   declA is obtained from
   1) variable testXml through slicing path.

(3) declA.Name is equal to "A".
   declA is obtained from
   1) variable testXml through slicing path.

(4) declA.VariableType.Name is equal to "int".
   declA is obtained from
   1) variable testXml through slicing path.

(5) declA.Accessibility is equal to AccessModifier.None.
   declA is obtained from
   1) variable testXml through slicing path.

(6) declB is not null.
   declB is obtained from
   1) variable testXml through slicing path.

(7) declB.Name is equal to "B".
   declB is obtained from
   1) variable testXml through slicing path.

(8) declB.VariableType.Name is equal to "int".
   declB is obtained from
   1) variable testXml through slicing path.

(9) declB.Accessibility is equal to AccessModifier.None.
   declB is obtained from
   1) variable testXml through slicing path.

(10) declC is not null.
   declC is obtained from
   1) variable testXml through slicing path.

(11) declC.Name is equal to "C".
   declC is obtained from
   1) variable testXml through slicing path.

(12) declC.VariableType.Name is equal to "Foo".
   declC is obtained from
   1) variable testXml through slicing path.

(13) declC.Accessibility is equal to AccessModifier.None.
   declC is obtained from
   1) variable testXml through slicing path.

(14) declD is not null.
   declD is obtained from
   1) variable testXml through slicing path.

(15) declD.Name is equal to "D".
   declD is obtained from
   1) variable testXml through slicing path.

(16) declD.VariableType.Name is equal to "Foo".
   declD is obtained from
   1) variable testXml through slicing path.

(17) declD.Accessibility is equal to AccessModifier.None.
   declD is obtained from
   1) variable testXml through slicing path.

66.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestLiteralUse

Code with line numbers

This unit test case method tests literal use .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1518)
This focal method is related to assertions at line 1521, line 1522, line 1523, line 1526, line 1527, line 1528, line 1531, line 1534, line 1535, line 1536, line 1539, line 1540, line 1541

This unit test case validates that:
(1) numLit is not null.
   numLit is obtained from
   1) variable xml through slicing path.

(2) numLit.Text is equal to "17".
   numLit is obtained from
   1) variable xml through slicing path.

(3) numLit.Kind is equal to LiteralKind.Number.
   numLit is obtained from
   1) variable xml through slicing path.

(4) stringLit is not null.
   stringLit is obtained from
   1) variable xml through slicing path.

(5) stringLit.Text is equal to "\"watermelon\"".
   stringLit is obtained from
   1) variable xml through slicing path.

(6) stringLit.Kind is equal to LiteralKind.String.
   stringLit is obtained from
   1) variable xml through slicing path.

(7) ifStmt is not null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(8) boolLit is not null.
   boolLit is obtained from
   1) variable xml through slicing path.

(9) boolLit.Text is equal to "true".
   boolLit is obtained from
   1) variable xml through slicing path.

(10) boolLit.Kind is equal to LiteralKind.Boolean.
   boolLit is obtained from
   1) variable xml through slicing path.

(11) charLit is not null.
   charLit is obtained from
   1) variable xml through slicing path.

(12) charLit.Text is equal to "\'h\'".
   charLit is obtained from
   1) variable xml through slicing path.

(13) charLit.Kind is equal to LiteralKind.Character.
   charLit is obtained from
   1) variable xml through slicing path.

67.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestIfElse

Code with line numbers

This unit test case method tests if else .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1560)
This focal method is related to assertions at line 1562, line 1563, line 1564, line 1565, line 1566

This unit test case validates that:
(1) ifStmt is not null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(2) ifStmt.Content is null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(3) ifStmt.Condition is not null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(4) ifStmt.ChildStatements.Count is equal to 1.
   ifStmt is obtained from
   1) variable xml through slicing path.

(5) ifStmt.ElseStatements.Count is equal to 2.
   ifStmt is obtained from
   1) variable xml through slicing path.

68.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestIfElseIf

Code with line numbers

This unit test case method tests if else if .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1588)
This focal method is related to assertions at line 1591, line 1592, line 1593, line 1594, line 1595, line 1598, line 1599, line 1600, line 1601, line 1602

This unit test case validates that:
(1) ifStmt is not null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(2) ifStmt.Content is null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(3) ifStmt.Condition is not null.
   ifStmt is obtained from
   1) variable xml through slicing path.

(4) ifStmt.ChildStatements.Count is equal to 1.
   ifStmt is obtained from
   1) variable xml through slicing path.

(5) ifStmt.ElseStatements.Count is equal to 1.
   ifStmt is obtained from
   1) variable xml through slicing path.

(6) ifStmt2 is not null.
   ifStmt2 is obtained from
   1) variable xml through slicing path.

(7) ifStmt2.Content is null.
   ifStmt2 is obtained from
   1) variable xml through slicing path.

(8) ifStmt2.Condition is not null.
   ifStmt2 is obtained from
   1) variable xml through slicing path.

(9) ifStmt2.ChildStatements.Count is equal to 2.
   ifStmt2 is obtained from
   1) variable xml through slicing path.

(10) ifStmt2.ElseStatements.Count is equal to 1.
   ifStmt2 is obtained from
   1) variable xml through slicing path.

69.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestEmptyStatement

Code with line numbers

This unit test case method tests empty statement .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1611)
This focal method is related to assertions at line 1612, line 1614, line 1615, line 1616

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 0.
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Content is null.
   actual is obtained from
   1) variable xml through slicing path.

70.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariableUse_Index

Code with line numbers

This unit test case method tests variable use index .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1625)
This focal method is related to assertions at line 1626, line 1628, line 1629, line 1631, line 1632, line 1634, line 1635, line 1637, line 1638, line 1640, line 1641, line 1642

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) exp is not null.
   exp is obtained from
   1) variable xml through slicing path.

(3) exp.Components.Count is equal to 3.
   exp is obtained from
   1) variable xml through slicing path.

(4) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Name is equal to "foo".
   foo is obtained from
   1) variable xml through slicing path.

(6) op is not null.
   op is obtained from
   1) variable xml through slicing path.

(7) op.Text is equal to ".".
   op is obtained from
   1) variable xml through slicing path.

(8) bar is not null.
   bar is obtained from
   1) variable xml through slicing path.

(9) bar.Name is equal to "bar".
   bar is obtained from
   1) variable xml through slicing path.

(10) index is not null.
   index is obtained from
   1) variable xml through slicing path.

(11) index.Text is equal to "17".
   index is obtained from
   1) variable xml through slicing path.

(12) index.Kind is equal to LiteralKind.Number.
   index is obtained from
   1) variable xml through slicing path.

71.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Field

Code with line numbers

This unit test case method tests resolve variable field .

This unit test case includes following focal methods:
(1) var aConstructor = globalScope.GetDescendants().First();(@line 1661)
This focal method is related to assertions at line 1662, line 1664, line 1665

This unit test case validates that:
(1) aConstructor.ChildStatements.Count is equal to 1.
   aConstructor is obtained from
   1) variable xml through slicing path.

(2) fooUse is not null.
   fooUse is obtained from
   1) variable xml through slicing path.

(3) fooUse.FindMatches().FirstOrDefault() and fooDecl are same.
   fooUse is obtained from
   1) variable xml through slicing path.

72.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_FieldInParent

Code with line numbers

This unit test case method tests resolve variable field in parent.

This unit test case includes following focal methods:
(1) var aConstructor = globalScope.GetDescendants().First();(@line 1690)
This focal method is related to assertions at line 1691, line 1693, line 1694

This unit test case validates that:
(1) aConstructor.ChildStatements.Count is equal to 1.
   aConstructor is obtained from
   1) variable xml through slicing path.

(2) fooUse is not null.
   fooUse is obtained from
   1) variable xml through slicing path.

(3) fooUse.FindMatches().FirstOrDefault() and fooDecl are same.
   fooUse is obtained from
   1) variable xml through slicing path.

73.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Global

Code with line numbers

This unit test case method tests resolve variable global .

This unit test case includes following focal methods:
(1) var bar = globalScope.GetDescendants().First();(@line 1711)
This focal method is related to assertions at line 1712, line 1714, line 1715

This unit test case validates that:
(1) bar.ChildStatements.Count is equal to 1.
   bar is obtained from
   1) variable xml through slicing path.

(2) fooUse is not null.
   fooUse is obtained from
   1) variable xml through slicing path.

(3) fooUse.FindMatches().FirstOrDefault() and fooDecl are same.
   fooUse is obtained from
   1) variable xml through slicing path.

74.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_VarInNamespace

Code with line numbers

This unit test case method tests resolve variable var in namespace.

This unit test case includes following focal methods:
(1) var bar = globalScope.GetDescendants().First();(@line 1736)
This focal method is related to assertions at line 1737, line 1739, line 1740

This unit test case validates that:
(1) bar.ChildStatements.Count is equal to 1.
   bar is obtained from
   1) variable xml through slicing path.

(2) fooUse is not null.
   fooUse is obtained from
   1) variable xml through slicing path.

(3) fooUse.FindMatches().FirstOrDefault() and fooDecl are same.
   fooUse is obtained from
   1) variable xml through slicing path.

75.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveVariable_Masking

Code with line numbers

This unit test case method tests resolve variable masking .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1763)
This focal method is related to assertions at line 1764

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) . ChildStatements.Count is equal to 4.

(3) globalFooUseMatches.Count is equal to 1.
   globalFooUseMatches is obtained from
   1) variable globalFooUse through slicing path.

(4) globalFooUseMatches[0] and globalFoo are same.
   globalFooUseMatches is obtained from
   1) variable globalFooUse through slicing path.

(5) localFooUseMatches.Count is equal to 1.
   localFooUseMatches is obtained from
   1) variable localFooUse through slicing path.

(6) localFooUseMatches[0] and localFoo are same.
   localFooUseMatches is obtained from
   1) variable localFooUse through slicing path.

76.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestVariableDeclaredInCallingObjectWithParentClass

Code with line numbers

This unit test case method tests variable declared in calling object with parent class.

This unit test case includes following focal methods:
(1) var typeD = globalScope.GetNamedChildren("D").FirstOrDefault();(@line 1814)
This focal method is related to assertions at line 1816, line 1817, line 1818, line 1819, line 1822, line 1823, line 1826, line 1829, line 1832, line 1834

This unit test case validates that:
(1) typeA is not null.
   typeA is obtained from
   1) variable a_xml through slicing path.

(2) typeB is not null.
   typeB is obtained from
   1) variable a_xml through slicing path.

(3) typeC is not null.
   typeC is obtained from
   1) variable a_xml through slicing path.

(4) typeD is not null.
   typeD is obtained from
   1) variable a_xml through slicing path.

(5) adotB is not null.
   adotB is obtained from
   1) variable a_xml through slicing path.

(6) adotB.Name is equal to "b".
   adotB is obtained from
   1) variable a_xml through slicing path.

(7) bDotFoo is not null.
   bDotFoo is obtained from
   1) variable a_xml through slicing path.

(8) dDotBar is not null.
   dDotBar is obtained from
   1) variable a_xml through slicing path.

(9) callToFoo is not null.
   callToFoo is obtained from
   1) variable a_xml through slicing path.

(10) callToFoo.FindMatches().FirstOrDefault() is equal to bDotFoo.
   callToFoo is obtained from
   1) variable a_xml through slicing path.

77.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveArrayVariable_Local

Code with line numbers

This unit test case method tests resolve array variable local .

This unit test case includes following focal methods:
(1) var ifStmt = globalScope.GetDescendants().First();(@line 1854)
This focal method is related to assertions at line 1855, line 1858, line 1860, line 1861

This unit test case validates that:
(1) ifStmt.ChildStatements.Count() is equal to 2.
   ifStmt is obtained from
   1) variable xml through slicing path.

(2) barDecl is not null.
   barDecl is obtained from
   1) variable xml through slicing path.

(3) barUse is not null.
   barUse is obtained from
   1) variable xml through slicing path.

(4) barUse.FindMatches().FirstOrDefault() and barDecl are same.
   barUse is obtained from
   1) variable xml through slicing path.

78.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveArrayVariable_Field

Code with line numbers

This unit test case method tests resolve array variable field .

This unit test case includes following focal methods:
(1) var aConstructor = globalScope.GetDescendants().First();(@line 1886)
This focal method is related to assertions at line 1887, line 1889, line 1890

This unit test case validates that:
(1) aConstructor.ChildStatements.Count is equal to 2.
   aConstructor is obtained from
   1) variable xml through slicing path.

(2) fooUse is not null.
   fooUse is obtained from
   1) variable xml through slicing path.

(3) fooUse.FindMatches().FirstOrDefault() and fooDecl are same.
   fooUse is obtained from
   1) variable xml through slicing path.

79.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestResolveCallOnArrayVariable

Code with line numbers

This unit test case method tests resolve call on array variable.

This unit test case includes following focal methods:
(1) var getNum = globalScope.GetDescendants().FirstOrDefault();(@line 1928)
This focal method is related to assertions at line 1929

This unit test case validates that:
(1) getNum is not null.
   getNum is obtained from
   1) variable xml through slicing path.

(2) is not null.

(3) . ChildStatements.Count is equal to 3.

(4) matches.Count is equal to 1.
   matches is obtained from
   1) variable getNumCall through slicing path.

(5) matches.First() and getNum are same.
   matches is obtained from
   1) variable getNumCall through slicing path.

80.  ABB.SrcML.Data.Test.CPlusPlusCodeParserTests.TestTypeUseForOtherNamespace

Code with line numbers

This unit test case method tests type use for other namespace.

This unit test case includes following focal methods:
(1) var typeE = globalScope.GetDescendants().Where().FirstOrDefault();(@line 1983)
This focal method is related to assertions at line 1986, line 1987, line 1990, line 1991, line 1994, line 1995, line 2000, line 2001, line 2002, line 2004, line 2005

This unit test case validates that:
(1) mainMethod is not null.
   mainMethod is obtained from
   1) variable c_xml through slicing path.

(2) mainMethod.Name is equal to "main".
   mainMethod is obtained from
   1) variable c_xml through slicing path.

(3) fooMethod is not null.
   fooMethod is obtained from
   1) variable c_xml through slicing path.

(4) fooMethod.Name is equal to "Foo".
   fooMethod is obtained from
   1) variable c_xml through slicing path.

(5) cDeclaration is not null.
   cDeclaration is obtained from
   1) variable c_xml through slicing path.

(6) cDeclaration.VariableType.ResolveType().FirstOrDefault() and typeC are same.
   cDeclaration is obtained from
   1) variable c_xml through slicing path.

(7) callToCConstructor.Name is equal to "C".
   callToCConstructor is obtained from
   1) variable c_xml through slicing path.

(8) callToCConstructor.IsConstructor is true.
   callToCConstructor is obtained from
   1) variable c_xml through slicing path.

(9) callToCConstructor.FindMatches().FirstOrDefault() is null.
   callToCConstructor is obtained from
   1) variable c_xml through slicing path.

(10) callToFoo.Name is equal to "Foo".
   callToFoo is obtained from
   1) variable c_xml through slicing path.

(11) callToFoo.FindMatches().FirstOrDefault() and fooMethod are same.
   callToFoo is obtained from
   1) variable c_xml through slicing path.

81.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestNamespace

Code with line numbers

This unit test case method tests namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(unit);(@line 41)
This focal method is related to assertions at line 42, line 45, line 46, line 47

This unit test case validates that:
(1) globalScope.IsGlobal is true.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.Name is equal to "A".
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.ChildStatements.Count is equal to 1.
   actual is obtained from
   1) variable xml through slicing path.

82.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallToGenericMethod

Code with line numbers

This unit test case method tests call to generic method.

This unit test case includes following focal methods:
(1) var bar = globalScope.GetDescendants().FirstOrDefault();(@line 68)
This focal method is related to assertions at line 69, line 70, line 72, line 74, line 76

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(2) bar is not null.
   bar is obtained from
   1) variable xml through slicing path.

(3) bar.ChildStatements.Count is equal to 1.
   bar is obtained from
   1) variable xml through slicing path.

(4) callToFoo is not null.
   callToFoo is obtained from
   1) variable xml through slicing path.

(5) callToFoo.FindMatches().FirstOrDefault() and foo are same.
   callToFoo is obtained from
   1) variable xml through slicing path.

83.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallToGrandparent

Code with line numbers

This unit test case method tests call to grandparent.

This unit test case includes following focal methods:
(1) var dDotBar = scope.GetDescendants().FirstOrDefault();(@line 96)
This focal method is related to assertions at line 97, line 98, line 100, line 102, line 104

This unit test case validates that:
(1) bDotFoo is not null.
   bDotFoo is obtained from
   1) variable xml through slicing path.

(2) dDotBar is not null.
   dDotBar is obtained from
   1) variable xml through slicing path.

(3) dDotBar.ChildStatements.Count is equal to 1.
   dDotBar is obtained from
   1) variable xml through slicing path.

(4) callToFoo is not null.
   callToFoo is obtained from
   1) variable xml through slicing path.

(5) callToFoo.FindMatches().FirstOrDefault() and bDotFoo are same.
   callToFoo is obtained from
   1) variable xml through slicing path.

84.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodCallToParentOfCallingObject

Code with line numbers

This unit test case method tests method call to parent of calling object.

This unit test case includes following focal methods:
(1) var typeC = globalScope.GetNamedChildren("C").FirstOrDefault();(@line 138)
This focal method is related to assertions at line 140, line 141, line 142, line 147, line 148, line 152, line 153, line 155, line 157, line 158

This unit test case validates that:
(1) typeA is not null.
   typeA is obtained from
   1) variable a_xml through slicing path.

(2) typeB is not null.
   typeB is obtained from
   1) variable a_xml through slicing path.

(3) typeC is not null.
   typeC is obtained from
   1) variable a_xml through slicing path.

(4) aDotFoo is not null.
   aDotFoo is obtained from
   1) variable a_xml through slicing path.

(5) cDotMain is not null.
   cDotMain is obtained from
   1) variable a_xml through slicing path.

(6) callToFooFromC is not null.
   callToFooFromC is obtained from
   1) variable a_xml through slicing path.

(7) callToFooFromC.Name is equal to "Foo".
   callToFooFromC is obtained from
   1) variable a_xml through slicing path.

(8) callingObject.Name is equal to "b".
   callingObject is obtained from
   1) variable a_xml through slicing path.

(9) callingObject.ResolveType().FirstOrDefault() is equal to typeB.
   callingObject is obtained from
   1) variable a_xml through slicing path.

(10) callToFooFromC.FindMatches().FirstOrDefault() is equal to aDotFoo.
   callToFooFromC is obtained from
   1) variable a_xml through slicing path.

85.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallWithTypeParameters

Code with line numbers

This unit test case method tests call with type parameters.

This unit test case includes following focal methods:
(1) var queryTMethod = scope.GetDescendants().LastOrDefault();(@line 194)
This focal method is related to assertions at line 195
(2) var test1Method = scope.GetDescendants().FirstOrDefault();(@line 196)
This focal method is related to assertions at line 197, line 199, line 201, line 204, line 205

This unit test case validates that:
(1) queryTMethod is not null.
   queryTMethod is obtained from
   1) variable xml through slicing path.

(2) test1Method is not null.
   test1Method is obtained from
   1) variable xml through slicing path.

(3) test1Method.ChildStatements.Count is equal to 2.
   test1Method is obtained from
   1) variable xml through slicing path.

(4) callToQuery is not null.
   callToQuery is obtained from
   1) variable xml through slicing path.

(5) matches.Count is equal to 1.
   matches is obtained from
   1) variable xml through slicing path.

(6) matches[0] and queryTMethod are same.
   matches is obtained from
   1) variable xml through slicing path.

86.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCallConstructor

Code with line numbers

This unit test case method tests call constructor .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 224)
This focal method is related to assertions at line 225
(2) var fooConstructor = globalScope.GetDescendants().FirstOrDefault();(@line 227)
This focal method is related to assertions at line 228, line 230, line 231

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 2.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) fooConstructor is not null.
   fooConstructor is obtained from
   1) variable xml through slicing path.

(3) fooCall is not null.
   fooCall is obtained from
   1) variable xml through slicing path.

(4) fooCall.FindMatches().First() and fooConstructor are same.
   fooCall is obtained from
   1) variable xml through slicing path.

87.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestConstructorWithBaseKeyword

Code with line numbers

This unit test case method tests constructor with base keyword.

This unit test case includes following focal methods:
(1) var cConstructor = globalScope.GetDescendants().First();(@line 249)
This focal method is related to assertions at line 250, line 253, line 254, line 255, line 256, line 257

This unit test case validates that:
(1) cConstructor.ConstructorInitializers.Count is equal to 1.
   cConstructor is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(2) methodCall is not null.
   methodCall is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(3) methodCall.IsConstructor is true.
   methodCall is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(4) methodCall.IsConstructorInitializer is true.
   methodCall is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(5) methodCall.Name is equal to "base".
   methodCall is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(6) methodCall.FindMatches().FirstOrDefault() and bConstructor are same.
   methodCall is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

88.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestConstructorWithThisKeyword

Code with line numbers

This unit test case method tests constructor with this keyword.

This unit test case includes following focal methods:
(1) var defaultConstructor = globalScope.GetDescendants().First();(@line 282)
This focal method is related to assertions at line 283, line 286, line 287, line 288, line 289, line 290

This unit test case validates that:
(1) defaultConstructor.ConstructorInitializers.Count is equal to 1.
   defaultConstructor is obtained from
   1) variable bXml through slicing path.

(2) methodCall is not null.
   methodCall is obtained from
   1) variable bXml through slicing path.

(3) methodCall.IsConstructor is true.
   methodCall is obtained from
   1) variable bXml through slicing path.

(4) methodCall.IsConstructorInitializer is true.
   methodCall is obtained from
   1) variable bXml through slicing path.

(5) methodCall.Name is equal to "this".
   methodCall is obtained from
   1) variable bXml through slicing path.

(6) methodCall.FindMatches().FirstOrDefault() and oneArgumentConstructor are same.
   methodCall is obtained from
   1) variable bXml through slicing path.

89.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateAliasesForFiles_UsingNamespace

Code with line numbers

This unit test case method tests create aliases for files using namespace.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 299)
This focal method is related to assertions at line 300, line 303, line 304

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ImportedNamespace.ToString() is equal to "x.y.z".
   actual is obtained from
   1) variable xml through slicing path.

90.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateAliasesForFiles_UsingAlias

Code with line numbers

This unit test case method tests create aliases for files using alias.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 313)
This focal method is related to assertions at line 314, line 317, line 318, line 319

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.AliasName is equal to "x".
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Target.ToString() is equal to "Foo.Bar.Baz".
   actual is obtained from
   1) variable xml through slicing path.

91.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports

Code with line numbers

This unit test case method tests get imports .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 337)
This focal method is related to assertions at line 338, line 340, line 342, line 343
(2) var nsd = globalScope.GetDescendants().FirstOrDefault();(@line 345)
This focal method is related to assertions at line 346, line 348, line 349, line 350

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) imports.Count is equal to 1.
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) imports[0].ImportedNamespace.ToString() is equal to "x.y.z".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) nsd is not null.
   nsd is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) zUse is not null.
   zUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) zUse.Name is equal to "z".
   zUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(8) zUse.FindMatches().First() and nsd are same.
   zUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

92.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports_NestedImportNamespace

Code with line numbers

This unit test case method tests get imports nested import namespace .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 374)
This focal method is related to assertions at line 376, line 378, line 379, line 380
(2) var baz = globalScope.GetDescendants().FirstOrDefault();(@line 382)
This focal method is related to assertions at line 383, line 385, line 386, line 387

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) imports.Count is equal to 2.
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) imports[0].ImportedNamespace.ToString() is equal to "bar.baz".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) imports[1].ImportedNamespace.ToString() is equal to "x.y.z".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) baz is not null.
   baz is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) bazUse is not null.
   bazUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) bazUse.Name is equal to "baz".
   bazUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(8) bazUse.FindMatches().First() and baz are same.
   bazUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

93.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetImports_SeparateFiles

Code with line numbers

This unit test case method tests get imports separate files .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 407)
This focal method is related to assertions at line 408, line 411, line 413, line 414, line 417, line 419, line 420

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 4.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) fooImports.Count is equal to 1.
   fooImports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) fooImports[0].ImportedNamespace.ToString() is equal to "x.y.z".
   fooImports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) bar is not null.
   bar is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) barImports.Count is equal to 1.
   barImports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) barImports[0].ImportedNamespace.ToString() is equal to "a.b.howdy".
   barImports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

94.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAliases_NestedUsingAlias

Code with line numbers

This unit test case method tests get aliases nested using alias .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 448)
This focal method is related to assertions at line 450, line 452, line 453, line 454, line 456, line 457
(2) var baz = globalScope.GetDescendants().FirstOrDefault();(@line 459)
This focal method is related to assertions at line 460, line 462, line 463

This unit test case validates that:
(1) foo is not null.
   foo is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) aliases.Count is equal to 1.
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) aliases[0].Target.ToString() is equal to "bar.baz".
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) aliases[0].AliasName is equal to "x".
   aliases is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) imports.Count is equal to 1.
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) imports[0].ImportedNamespace.ToString() is equal to "x.y.z".
   imports is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) baz is not null.
   baz is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(8) bazUse is not null.
   bazUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(9) bazUse.FindMatches().First() and baz are same.
   bazUse is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

95.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestImport_NameResolution

Code with line numbers

This unit test case method tests import name resolution .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 499)
This focal method is related to assertions at line 500
(2) var baz = globalScope.GetDescendants().FirstOrDefault();(@line 502)
This focal method is related to assertions at line 503
(3) var thingy = globalScope.GetDescendants().FirstOrDefault();(@line 505)
This focal method is related to assertions at line 506, line 508, line 509, line 513, line 514

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) baz is not null.
   baz is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) thingy is not null.
   thingy is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) thingyTypes.Count is equal to 1.
   thingyTypes is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) thingyTypes[0] and baz are same.
   thingyTypes is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) bazCall is not null.
   bazCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) bazCall.FindMatches().FirstOrDefault() and bazDef are same.
   bazCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

96.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestAlias_NameResolution

Code with line numbers

This unit test case method tests alias name resolution .

This unit test case includes following focal methods:
(1) var globalScope = scopeA.Merge(scopeB);(@line 552)
This focal method is related to assertions at line 553
(2) var thingDef = globalScope.GetDescendants().FirstOrDefault();(@line 555)
This focal method is related to assertions at line 556, line 557
(3) var bDef = globalScope.GetDescendants().FirstOrDefault();(@line 559)
This focal method is related to assertions at line 560, line 561, line 563, line 564

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 3.
   globalScope is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(2) thingDef is not null.
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(3) TypeDefinition thingDef.ParentStatement.Name is equal to "Baz".
   thingDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(4) bDef is not null.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(5) bDef.ChildStatements.Count is equal to 1.
   bDef is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(6) thingCall is not null.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

(7) thingCall.FindMatches().First() and thingDef are same.
   thingCall is obtained from
   1) variable xmlA through slicing path
   2) variable xmlB through slicing path.

97.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_SingleDecl

Code with line numbers

This unit test case method tests using block single decl .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 578)
This focal method is related to assertions at line 579, line 582, line 583, line 584, line 586, line 587, line 588, line 589

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 1.
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Initializer is not null.
   actual is obtained from
   1) variable xml through slicing path.

(5) decls.Count is equal to 1.
   decls is obtained from
   1) variable xml through slicing path.

(6) decls[0].Name is equal to "f".
   decls is obtained from
   1) variable xml through slicing path.

(7) decls[0].VariableType.Name is equal to "var".
   decls is obtained from
   1) variable xml through slicing path.

(8) decls[0].Initializer is not null.
   decls is obtained from
   1) variable xml through slicing path.

98.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_MultipleDecl

Code with line numbers

This unit test case method tests using block multiple decl .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 599)
This focal method is related to assertions at line 600, line 603, line 604, line 605, line 607, line 608, line 609, line 610, line 611, line 612, line 613

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 1.
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Initializer is not null.
   actual is obtained from
   1) variable xml through slicing path.

(5) decls.Count is equal to 2.
   decls is obtained from
   1) variable xml through slicing path.

(6) decls[0].Name is equal to "a".
   decls is obtained from
   1) variable xml through slicing path.

(7) decls[0].VariableType.Name is equal to "Foo".
   decls is obtained from
   1) variable xml through slicing path.

(8) decls[0].Initializer is not null.
   decls is obtained from
   1) variable xml through slicing path.

(9) decls[1].Name is equal to "b".
   decls is obtained from
   1) variable xml through slicing path.

(10) decls[1].VariableType.Name is equal to "Foo".
   decls is obtained from
   1) variable xml through slicing path.

(11) decls[1].Initializer is not null.
   decls is obtained from
   1) variable xml through slicing path.

99.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestUsingBlock_Expression

Code with line numbers

This unit test case method tests using block expression .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 623)
This focal method is related to assertions at line 624, line 627, line 628, line 630, line 631, line 633, line 634, line 636, line 637, line 639, line 640, line 642, line 643, line 644

This unit test case validates that:
(1) globalScope.ChildStatements.Count is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) actual is not null.
   actual is obtained from
   1) variable xml through slicing path.

(3) actual.ChildStatements.Count is equal to 1.
   actual is obtained from
   1) variable xml through slicing path.

(4) actual.Initializer is not null.
   actual is obtained from
   1) variable xml through slicing path.

(5) init.Components.Count is equal to 4.
   init is obtained from
   1) variable xml through slicing path.

(6) bar is not null.
   bar is obtained from
   1) variable xml through slicing path.

(7) bar.Name is equal to "bar".
   bar is obtained from
   1) variable xml through slicing path.

(8) equals is not null.
   equals is obtained from
   1) variable xml through slicing path.

(9) equals.Text is equal to "=".
   equals is obtained from
   1) variable xml through slicing path.

(10) newOp is not null.
   newOp is obtained from
   1) variable xml through slicing path.

(11) newOp.Text is equal to "new".
   newOp is obtained from
   1) variable xml through slicing path.

(12) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(13) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

(14) foo.Arguments.Count is equal to 0.
   foo is obtained from
   1) variable xml through slicing path.

100.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Class

Code with line numbers

This unit test case method tests create type definition class .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 657)
This focal method is related to assertions at line 659, line 661, line 662, line 663, line 664, line 667, line 668, line 669, line 670

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(4) foo.Kind is equal to TypeKind.Class.
   foo is obtained from
   1) variable fooXml through slicing path.

(5) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

(6) bar is not null.
   bar is obtained from
   1) variable fooXml through slicing path.

(7) bar.Name is equal to "bar".
   bar is obtained from
   1) variable fooXml through slicing path.

(8) bar.VariableType.Name is equal to "int".
   bar is obtained from
   1) variable fooXml through slicing path.

(9) bar.Accessibility is equal to AccessModifier.Public.
   bar is obtained from
   1) variable fooXml through slicing path.

101.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_ClassWithParent

Code with line numbers

This unit test case method tests create type definition class with parent.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 683)
This focal method is related to assertions at line 685, line 687, line 688, line 689, line 690, line 691, line 692

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(4) foo.Kind is equal to TypeKind.Class.
   foo is obtained from
   1) variable fooXml through slicing path.

(5) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

(6) foo.ParentTypeNames.Count is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

(7) foo.ParentTypeNames.First().Name is equal to "Baz".
   foo is obtained from
   1) variable fooXml through slicing path.

102.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_ClassWithQualifiedParent

Code with line numbers

This unit test case method tests create type definition class with qualified parent.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 705)
This focal method is related to assertions at line 707, line 709, line 710, line 711, line 712, line 713, line 714, line 715, line 716

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(4) foo.Kind is equal to TypeKind.Class.
   foo is obtained from
   1) variable fooXml through slicing path.

(5) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

(6) foo.ParentTypeNames.Count is equal to 2.
   foo is obtained from
   1) variable fooXml through slicing path.

(7) foo.ParentTypeNames[0].Name is equal to "Baz".
   foo is obtained from
   1) variable fooXml through slicing path.

(8) foo.ParentTypeNames[1].Name is equal to "IDisposable".
   foo is obtained from
   1) variable fooXml through slicing path.

(9) foo.ParentTypeNames[1].Prefix.Names.First().Name is equal to "System".
   foo is obtained from
   1) variable fooXml through slicing path.

103.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_CompoundNamespace

Code with line numbers

This unit test case method tests create type definition compound namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 733)
This focal method is related to assertions at line 735, line 737, line 738, line 739, line 741, line 742, line 743, line 745, line 746, line 747, line 749, line 750, line 751

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) example is not null.
   example is obtained from
   1) variable fooXml through slicing path.

(3) example.Name is equal to "Example".
   example is obtained from
   1) variable fooXml through slicing path.

(4) example.ChildStatements.Count() is equal to 1.
   example is obtained from
   1) variable fooXml through slicing path.

(5) level2 is not null.
   level2 is obtained from
   1) variable fooXml through slicing path.

(6) level2.Name is equal to "Level2".
   level2 is obtained from
   1) variable fooXml through slicing path.

(7) level2.ChildStatements.Count() is equal to 1.
   level2 is obtained from
   1) variable fooXml through slicing path.

(8) level3 is not null.
   level3 is obtained from
   1) variable fooXml through slicing path.

(9) level3.Name is equal to "Level3".
   level3 is obtained from
   1) variable fooXml through slicing path.

(10) level3.ChildStatements.Count() is equal to 1.
   level3 is obtained from
   1) variable fooXml through slicing path.

(11) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(12) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(13) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

104.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Interface

Code with line numbers

This unit test case method tests create type definition interface .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 764)
This focal method is related to assertions at line 766, line 768, line 769, line 770, line 771

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(4) foo.Kind is equal to TypeKind.Interface.
   foo is obtained from
   1) variable fooXml through slicing path.

(5) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

105.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Namespace

Code with line numbers

This unit test case method tests create type definition namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 788)
This focal method is related to assertions at line 790, line 792, line 793, line 794, line 796, line 797, line 798

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) example is not null.
   example is obtained from
   1) variable fooXml through slicing path.

(3) example.Name is equal to "Example".
   example is obtained from
   1) variable fooXml through slicing path.

(4) example.ChildStatements.Count() is equal to 1.
   example is obtained from
   1) variable fooXml through slicing path.

(5) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(6) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(7) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

106.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_NestedCompoundNamespace

Code with line numbers

This unit test case method tests create type definition nested compound namespace .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 819)
This focal method is related to assertions at line 821, line 823, line 824, line 825, line 827, line 828, line 829, line 831, line 832, line 833, line 835, line 836, line 837, line 839, line 840, line 841

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) watermelon is not null.
   watermelon is obtained from
   1) variable fooXml through slicing path.

(3) watermelon.Name is equal to "Watermelon".
   watermelon is obtained from
   1) variable fooXml through slicing path.

(4) watermelon.ChildStatements.Count() is equal to 1.
   watermelon is obtained from
   1) variable fooXml through slicing path.

(5) example is not null.
   example is obtained from
   1) variable fooXml through slicing path.

(6) example.Name is equal to "Example".
   example is obtained from
   1) variable fooXml through slicing path.

(7) example.ChildStatements.Count() is equal to 1.
   example is obtained from
   1) variable fooXml through slicing path.

(8) level2 is not null.
   level2 is obtained from
   1) variable fooXml through slicing path.

(9) level2.Name is equal to "Level2".
   level2 is obtained from
   1) variable fooXml through slicing path.

(10) level2.ChildStatements.Count() is equal to 1.
   level2 is obtained from
   1) variable fooXml through slicing path.

(11) level3 is not null.
   level3 is obtained from
   1) variable fooXml through slicing path.

(12) level3.Name is equal to "Level3".
   level3 is obtained from
   1) variable fooXml through slicing path.

(13) level3.ChildStatements.Count() is equal to 1.
   level3 is obtained from
   1) variable fooXml through slicing path.

(14) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(15) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(16) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

107.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinition_Struct

Code with line numbers

This unit test case method tests create type definition struct .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(fooFileUnit);(@line 854)
This focal method is related to assertions at line 856, line 858, line 859, line 860, line 861

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable fooXml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable fooXml through slicing path.

(3) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable fooXml through slicing path.

(4) foo.Kind is equal to TypeKind.Struct.
   foo is obtained from
   1) variable fooXml through slicing path.

(5) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable fooXml through slicing path.

108.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinitions_ClassWithInnerClass

Code with line numbers

This unit test case method tests create type definitions class with inner class.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 874)
This focal method is related to assertions at line 876, line 878, line 879, line 881, line 883
(2) An assertion in line 884 validating that typeA.GetFullName() is equal to "A".
(3) An assertion in line 885 validating that typeB.GetFullName() is equal to "A.B".

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) typeA is not null.
   typeA is obtained from
   1) variable xml through slicing path.

(3) typeA.ChildStatements.Count() is equal to 1.
   typeA is obtained from
   1) variable xml through slicing path.

(4) typeB is not null.
   typeB is obtained from
   1) variable xml through slicing path.

(5) typeB.ParentStatement and typeA are same.
   typeB is obtained from
   1) variable xml through slicing path.

109.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestCreateTypeDefinitions_InnerClassWithNamespace

Code with line numbers

This unit test case method tests create type definitions inner class with namespace.

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 902)
This focal method is related to assertions at line 904, line 906, line 907, line 909, line 910, line 912, line 914
(2) An assertion in line 915 validating that typeA.GetAncestors().First().GetFullName() is equal to "Foo".
(3) An assertion in line 916 validating that typeA.GetFullName() is equal to "Foo.A".
(4) An assertion in line 919 validating that typeB.GetAncestors().First().GetFullName() is equal to "Foo".
(5) An assertion in line 920 validating that typeB.GetFullName() is equal to "Foo.A.B".

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(3) foo.ChildStatements.Count() is equal to 1.
   foo is obtained from
   1) variable xml through slicing path.

(4) typeA is not null.
   typeA is obtained from
   1) variable xml through slicing path.

(5) typeA.ChildStatements.Count() is equal to 1.
   typeA is obtained from
   1) variable xml through slicing path.

(6) typeB is not null.
   typeB is obtained from
   1) variable xml through slicing path.

(7) typeA.Name is equal to "A".
   typeA is obtained from
   1) variable xml through slicing path.

(8) typeB.Name is equal to "B".
   typeB is obtained from
   1) variable xml through slicing path.

110.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromConstructor

Code with line numbers

This unit test case method tests declaration with type var from constructor.

This unit test case includes following focal methods:
(1) var typeB = globalScope.GetDescendants().FirstOrDefault();(@line 936)
This focal method is related to assertions at line 937

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(2) is not null.

(3) . ChildStatements.Count is equal to 1.

(4) varDecl is not null.

(5) varDecl.ResolveType().FirstOrDefault() and typeB are same.

111.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromImplicitConstructor

Code with line numbers

This unit test case method tests declaration with type var from implicit constructor.

This unit test case includes following focal methods:
(1) var typeB = globalScope.GetDescendants().FirstOrDefault();(@line 961)
This focal method is related to assertions at line 962

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(2) is not null.

(3) . ChildStatements.Count is equal to 1.

(4) varDecl is not null.

(5) varDecl.ResolveType().FirstOrDefault() and typeB are same.

112.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarFromMethod

Code with line numbers

This unit test case method tests declaration with type var from method.

This unit test case includes following focal methods:
(1) var typeB = globalScope.GetDescendants().FirstOrDefault();(@line 990)
This focal method is related to assertions at line 991
(2) var mainMethod = globalScope.GetDescendants().FirstOrDefault();(@line 992)
This focal method is related to assertions at line 993, line 995, line 997, line 999

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable xml through slicing path.

(2) mainMethod is not null.
   mainMethod is obtained from
   1) variable xml through slicing path.

(3) mainMethod.ChildStatements.Count is equal to 1.
   mainMethod is obtained from
   1) variable xml through slicing path.

(4) varDecl is not null.
   varDecl is obtained from
   1) variable xml through slicing path.

(5) varDecl.ResolveType().FirstOrDefault() and typeB are same.
   varDecl is obtained from
   1) variable xml through slicing path.

113.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestDeclarationWithTypeVarInForeach

Code with line numbers

This unit test case method tests declaration with type var in foreach.

This unit test case includes following focal methods:
(1) var loop = globalScope.GetDescendants().First();(@line 1027)
This focal method is related to assertions at line 1029, line 1031

This unit test case validates that:
(1) varDecl is not null.
   varDecl is obtained from
   1) variable xml through slicing path.

(2) varDecl.ResolveType().FirstOrDefault() and BuiltInTypeFactory.GetBuiltIn(new TypeUse()) are same.
   varDecl is obtained from
   1) variable xml through slicing path.

114.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFieldCreation

Code with line numbers

This unit test case method tests field creation .

This unit test case includes following focal methods:
(1) var globalScope = codeParser.ParseFileUnit(xmlElement);(@line 1044)
This focal method is related to assertions at line 1046, line 1048, line 1049, line 1051, line 1052, line 1053, line 1054

This unit test case validates that:
(1) globalScope.ChildStatements.Count() is equal to 1.
   globalScope is obtained from
   1) variable xml through slicing path.

(2) typeA is not null.
   typeA is obtained from
   1) variable xml through slicing path.

(3) typeA.ChildStatements.Count() is equal to 1.
   typeA is obtained from
   1) variable xml through slicing path.

(4) foo is not null.
   foo is obtained from
   1) variable xml through slicing path.

(5) foo.Name is equal to "Foo".
   foo is obtained from
   1) variable xml through slicing path.

(6) foo.VariableType.Name is equal to "int".
   foo is obtained from
   1) variable xml through slicing path.

(7) foo.Accessibility is equal to AccessModifier.Public.
   foo is obtained from
   1) variable xml through slicing path.

115.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFindParentType

Code with line numbers

This unit test case method tests find parent type .

This unit test case includes following focal methods:
(1) var typeB = globalScope.GetDescendants().FirstOrDefault();(@line 1073)
This focal method is related to assertions at line 1074
(2) var typeC = globalScope.GetDescendants().FirstOrDefault();(@line 1075)
This focal method is related to assertions at line 1076, line 1078, line 1079

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(2) typeC is not null.
   typeC is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(3) typeB.ParentTypeNames.Count is equal to 1.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(4) typeB.ParentTypeNames[0].ResolveType().FirstOrDefault() and typeC are same.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

116.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestFindQualifiedParentType

Code with line numbers

This unit test case method tests find qualified parent type .

This unit test case includes following focal methods:
(1) var typeB = globalScope.GetDescendants().FirstOrDefault();(@line 1098)
This focal method is related to assertions at line 1099
(2) var typeD = globalScope.GetDescendants().FirstOrDefault();(@line 1100)
This focal method is related to assertions at line 1101, line 1103, line 1104

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable dXml through slicing path.

(2) typeD is not null.
   typeD is obtained from
   1) variable bXml through slicing path
   2) variable dXml through slicing path.

(3) typeB.ParentTypeNames.Count is equal to 1.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable dXml through slicing path.

(4) typeB.ParentTypeNames[0].ResolveType().FirstOrDefault() and typeD are same.
   typeB is obtained from
   1) variable bXml through slicing path
   2) variable dXml through slicing path.

117.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericType

Code with line numbers

This unit test case method tests generic type .

This unit test case includes following focal methods:
(1) var typeB = scope.GetDescendants().FirstOrDefault();(@line 1115)
This focal method is related to assertions at line 1116, line 1117

This unit test case validates that:
(1) typeB is not null.
   typeB is obtained from
   1) variable xml through slicing path.

(2) typeB.Name is equal to "B".
   typeB is obtained from
   1) variable xml through slicing path.

118.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericVariableDeclaration

Code with line numbers

This unit test case method tests generic variable declaration .

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 1127)
This focal method is related to assertions at line 1130, line 1131, line 1132, line 1133, line 1134, line 1135, line 1136

This unit test case validates that:
(1) testDeclaration is not null.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(2) testDeclaration.Name is equal to "map".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(3) testDeclaration.VariableType.Name is equal to "Dictionary".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(4) testDeclaration.VariableType.IsGeneric is true.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(5) testDeclaration.VariableType.TypeParameters.Count is equal to 2.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(6) testDeclaration.VariableType.TypeParameters.First().Name is equal to "string".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(7) testDeclaration.VariableType.TypeParameters.Last().Name is equal to "int".
   testDeclaration is obtained from
   1) variable xml through slicing path.

119.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGenericVariableDeclarationWithPrefix

Code with line numbers

This unit test case method tests generic variable declaration with prefix.

This unit test case includes following focal methods:
(1) var testScope = codeParser.ParseFileUnit(testUnit);(@line 1146)
This focal method is related to assertions at line 1149, line 1150, line 1151, line 1153, line 1154, line 1155, line 1156, line 1157, line 1158, line 1159

This unit test case validates that:
(1) testDeclaration is not null.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(2) testDeclaration.Name is equal to "map".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(3) testDeclaration.VariableType.Name is equal to "Dictionary".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(4) prefixNames.Count is equal to 2.
   prefixNames is obtained from
   1) variable xml through slicing path.

(5) prefixNames[0].Name is equal to "System".
   prefixNames is obtained from
   1) variable xml through slicing path.

(6) prefixNames[1].Name is equal to "Collection".
   prefixNames is obtained from
   1) variable xml through slicing path.

(7) testDeclaration.VariableType.IsGeneric is true.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(8) testDeclaration.VariableType.TypeParameters.Count is equal to 2.
   testDeclaration is obtained from
   1) variable xml through slicing path.

(9) testDeclaration.VariableType.TypeParameters.First().Name is equal to "string".
   testDeclaration is obtained from
   1) variable xml through slicing path.

(10) testDeclaration.VariableType.TypeParameters.Last().Name is equal to "int".
   testDeclaration is obtained from
   1) variable xml through slicing path.

120.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_InternalProtected

Code with line numbers

This unit test case method tests get access modifier for method internal protected.

This unit test case includes following focal methods:
(1) var method = globalScope.GetDescendants().First();(@line 1177)
This focal method is related to assertions at line 1179

This unit test case validates that:
(1) method.Accessibility is equal to AccessModifier.ProtectedInternal.
   method is obtained from
   1) variable xml through slicing path.

121.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_None

Code with line numbers

This unit test case method tests get access modifier for method none.

This unit test case includes following focal methods:
(1) var method = globalScope.GetDescendants().First();(@line 1197)
This focal method is related to assertions at line 1199

This unit test case validates that:
(1) method.Accessibility is equal to AccessModifier.None.
   method is obtained from
   1) variable xml through slicing path.

122.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_Normal

Code with line numbers

This unit test case method tests get access modifier for method normal.

This unit test case includes following focal methods:
(1) var method = globalScope.GetDescendants().First();(@line 1217)
This focal method is related to assertions at line 1219

This unit test case validates that:
(1) method.Accessibility is equal to AccessModifier.Public.
   method is obtained from
   1) variable xml through slicing path.

123.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_ProtectedInternal

Code with line numbers

This unit test case method tests get access modifier for method protected internal.

This unit test case includes following focal methods:
(1) var method = globalScope.GetDescendants().First();(@line 1237)
This focal method is related to assertions at line 1239

This unit test case validates that:
(1) method.Accessibility is equal to AccessModifier.ProtectedInternal.
   method is obtained from
   1) variable xml through slicing path.

124.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForMethod_ProtectedInternalStatic

Code with line numbers

This unit test case method tests get access modifier for method protected internal static.

This unit test case includes following focal methods:
(1) var method = globalScope.GetDescendants().First();(@line 1257)
This focal method is related to assertions at line 1259

This unit test case validates that:
(1) method.Accessibility is equal to AccessModifier.ProtectedInternal.
   method is obtained from
   1) variable xml through slicing path.

125.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_InternalProtected

Code with line numbers

This unit test case method tests get access modifier for type internal protected.

This unit test case includes following focal methods:
(1) var type = globalScope.GetDescendants().First();(@line 1273)
This focal method is related to assertions at line 1275

This unit test case validates that:
(1) type.Accessibility is equal to AccessModifier.ProtectedInternal.
   type is obtained from
   1) variable xml through slicing path.

126.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_None

Code with line numbers

This unit test case method tests get access modifier for type none.

This unit test case includes following focal methods:
(1) var type = globalScope.GetDescendants().First();(@line 1289)
This focal method is related to assertions at line 1291

This unit test case validates that:
(1) type.Accessibility is equal to AccessModifier.None.
   type is obtained from
   1) variable xml through slicing path.

127.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_Normal

Code with line numbers

This unit test case method tests get access modifier for type normal.

This unit test case includes following focal methods:
(1) var type = globalScope.GetDescendants().First();(@line 1305)
This focal method is related to assertions at line 1307

This unit test case validates that:
(1) type.Accessibility is equal to AccessModifier.Public.
   type is obtained from
   1) variable xml through slicing path.

128.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_ProtectedInternal

Code with line numbers

This unit test case method tests get access modifier for type protected internal.

This unit test case includes following focal methods:
(1) var type = globalScope.GetDescendants().First();(@line 1321)
This focal method is related to assertions at line 1323

This unit test case validates that:
(1) type.Accessibility is equal to AccessModifier.ProtectedInternal.
   type is obtained from
   1) variable xml through slicing path.

129.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestGetAccessModifierForType_ProtectedInternalStatic

Code with line numbers

This unit test case method tests get access modifier for type protected internal static.

This unit test case includes following focal methods:
(1) var type = globalScope.GetDescendants().First();(@line 1337)
This focal method is related to assertions at line 1339

This unit test case validates that:
(1) type.Accessibility is equal to AccessModifier.ProtectedInternal.
   type is obtained from
   1) variable xml through slicing path.

130.  ABB.SrcML.Data.Test.CSharpCodeParserTests.TestMethodCallWithBaseKeyword

Code with line numbers

This unit test case method tests method call with base keyword.

This unit test case includes following focal methods:
(1) var fooMethods = globalScope.GetDescendants().ToList();(@line 1356)
This focal method is related to assertions at line 1359, line 1361, line 1363, line 1365, line 1366

This unit test case validates that:
(1) bDotFoo is not null.
   bDotFoo is obtained from
   1) variable bXml through slicing path
   2) variable cXml through slicing path.

(2) cDotFoo is not null.
   cDotFoo is obtained from
   1) variable bXml through