public void Alias() { var hasAlias = TestingUtilities.GetContainsIndicatorPredicate(ConstructIndicator.References); var doesntHaveAlias = TestingUtilities.GetNegation(hasAlias); TestingUtilities.RunTests(hasAlias, aliasPositiveTests); TestingUtilities.RunTests(doesntHaveAlias, aliasNegativeTests); }
public void Session() { var hasSession = TestingUtilities.GetContainsIndicatorPredicate(ConstructIndicator.Session); var doesntHaveSession = TestingUtilities.GetNegation(hasSession); TestingUtilities.RunTests(hasSession, sessionPositiveTests); TestingUtilities.RunTests(doesntHaveSession, sessionNegativeTests); }
public void Eval() { var hasEval = TestingUtilities.GetContainsIndicatorPredicate(ConstructIndicator.Eval); var doesntHaveEval = TestingUtilities.GetNegation(hasEval); TestingUtilities.RunTests(hasEval, evalPositiveTests); TestingUtilities.RunTests(doesntHaveEval, evalNegativeTests); }
public void DynamicCalls() { var hasDynamicCall = TestingUtilities.GetContainsIndicatorPredicate( ConstructIndicator.DynamicCall); var doesntHaveDynamicCall = TestingUtilities.GetNegation(hasDynamicCall); TestingUtilities.RunTests(hasDynamicCall, dynamicCallPositiveTests); TestingUtilities.RunTests(doesntHaveDynamicCall, dynamicCallNegativeTests); }
public void DynamicDereference() { var hasDynamicDereference = TestingUtilities.GetContainsIndicatorPredicate( ConstructIndicator.DynamicDereference); var doesntHaveDynamicDereference = TestingUtilities.GetNegation(hasDynamicDereference); TestingUtilities.RunTests(hasDynamicDereference, dynamicDereferencePositiveTests); TestingUtilities.RunTests(doesntHaveDynamicDereference, dynamicDereferenceNegativeTests); }
public void MySqlFunctions() { var hasMySqlFunction = TestingUtilities.GetContainsIndicatorPredicate(ConstructIndicator.MySql); var doesntHaveMySqlFunction = TestingUtilities.GetNegation(hasMySqlFunction); TestingUtilities.RunTests(hasMySqlFunction, mySqlPositiveTests); TestingUtilities.RunTests(doesntHaveMySqlFunction, sessionPositiveTests); TestingUtilities.RunTests(doesntHaveMySqlFunction, evalPositiveTests); }
public void ClassPresence() { var hasClass = TestingUtilities.GetContainsIndicatorPredicate( ConstructIndicator.ClassOrInterface); var doesntHaveClass = TestingUtilities.GetNegation(hasClass); TestingUtilities.RunTests(hasClass, classPresencePositiveTests); TestingUtilities.RunTests(doesntHaveClass, classPresenceNegativeTests); }
public void SuperGlobalVar() { var hasSuperGlobalVar = TestingUtilities.GetContainsIndicatorPredicate( ConstructIndicator.SuperGlobalVariable); var doesntHaveSuperGlobalVar = TestingUtilities.GetNegation(hasSuperGlobalVar); TestingUtilities.RunTests(hasSuperGlobalVar, superGlobalVarPositiveTests); TestingUtilities.RunTests(doesntHaveSuperGlobalVar, superGlobalVarNegativeTests); }