public void SingleEntityFunctionCallNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSingleEntityFunctionCallNode = () => visitor.Visit(new SingleEntityFunctionCallNode("stuff", null, HardCodedTestModel.GetPersonTypeReference(), HardCodedTestModel.GetPeopleSet())); visitSingleEntityFunctionCallNode.ShouldThrow <NotImplementedException>(); }
public void ExpandNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitExpandToken = () => visitor.Visit(new ExpandToken(null)); visitExpandToken.ShouldThrow <NotImplementedException>(); }
public void LiteralNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitLiteralToken = () => visitor.Visit(new LiteralToken(1)); visitLiteralToken.ShouldThrow <NotImplementedException>(); }
public void GroupByOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitUnaryOperatorToken = () => visitor.Visit(new GroupByToken(new List <EndPathToken>(), null)); visitUnaryOperatorToken.ShouldThrow <NotImplementedException>(); }
public void BinaryOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitBinaryOperatorToken = () => visitor.Visit(new BinaryOperatorToken(BinaryOperatorKind.Equal, new LiteralToken(1), new LiteralToken(1))); visitBinaryOperatorToken.ShouldThrow <NotImplementedException>(); }
public void SelectNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSelectToken = () => visitor.Visit(new SelectToken(null)); visitSelectToken.ShouldThrow <NotImplementedException>(); }
public void AggregateOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitUnaryOperatorToken = () => visitor.Visit(new AggregateToken(new List <AggregateTokenBase>())); visitUnaryOperatorToken.ShouldThrow <NotImplementedException>(); }
public void BinaryOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitBinaryOperatorNode = () => visitor.Visit(new BinaryOperatorNode(BinaryOperatorKind.Equal, new ConstantNode(1), new ConstantNode(2))); visitBinaryOperatorNode.ShouldThrow <NotImplementedException>(); }
public void CollectionNavigationNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitCollectionNavigationNode = () => visitor.Visit(new CollectionNavigationNode(ModelBuildingHelpers.BuildCollectionNavigationProperty(), HardCodedTestModel.GetPeopleSet())); visitCollectionNavigationNode.ShouldThrow <NotImplementedException>(); }
public void UnaryOperatorNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitUnaryOperatorNode = () => visitor.Visit(new UnaryOperatorNode(UnaryOperatorKind.Not, new ConstantNode(1))); visitUnaryOperatorNode.ShouldThrow <NotImplementedException>(); }
public void AllNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitAllNode = () => visitor.Visit(new AllNode(null, null)); visitAllNode.ShouldThrow <NotImplementedException>(); }
public void SingleValuePropertyAccessNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSingleValuePropertyAccessNode = () => visitor.Visit(new SingleValuePropertyAccessNode(new ConstantNode(1), ModelBuildingHelpers.BuildValidPrimitiveProperty())); visitSingleValuePropertyAccessNode.ShouldThrow <NotImplementedException>(); }
public void SingleValueOpenPropertyAccessNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSingleValueOpenPropertyAccessNode = () => visitor.Visit(new SingleValueOpenPropertyAccessNode(new ConstantNode(1), "stuff")); visitSingleValueOpenPropertyAccessNode.ShouldThrow <NotImplementedException>(); }
public void SingleValueFunctionCallNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSingleValueFunctionCallNode = () => visitor.Visit(new SingleValueFunctionCallNode("stuff", null, EdmCoreModel.Instance.GetInt32(true))); visitSingleValueFunctionCallNode.ShouldThrow <NotImplementedException>(); }
public void QueryOptionNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitQueryOptionToken = () => visitor.Visit(new CustomQueryOptionToken("stuff", "stuff")); visitQueryOptionToken.ShouldThrow <NotImplementedException>(); }
public void CollectionPropertyAccessNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitCollectionPropertyAccessNode = () => visitor.Visit(new CollectionPropertyAccessNode(new ConstantNode(1), HardCodedTestModel.GetPersonGeographyCollectionProp())); visitCollectionPropertyAccessNode.ShouldThrow <NotImplementedException>(); }
public void RangeVariableNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitRangeVariableToken = () => visitor.Visit(new RangeVariableToken("stuff")); visitRangeVariableToken.ShouldThrow <NotImplementedException>(); }
public void ConstantNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitConstantNode = () => visitor.Visit(new ConstantNode(null)); visitConstantNode.ShouldThrow <NotImplementedException>(); }
public void UnaryOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitUnaryOperatorToken = () => visitor.Visit(new UnaryOperatorToken(UnaryOperatorKind.Negate, new LiteralToken(1))); visitUnaryOperatorToken.ShouldThrow <NotImplementedException>(); }
public void ConvertNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitConvertNode = () => visitor.Visit(new ConvertNode(new ConstantNode(1), EdmCoreModel.Instance.GetBinary(true))); visitConvertNode.ShouldThrow <NotImplementedException>(); }
public void AggregateExpressionOperatorNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitUnaryOperatorToken = () => visitor.Visit(new AggregateExpressionToken(new EndPathToken("Identifier", null), AggregationMethodDefinition.Sum, "Alias")); visitUnaryOperatorToken.ShouldThrow <NotImplementedException>(); }
public void EntityCollectionCastNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitEntityCollectionCastNode = () => visitor.Visit(new EntityCollectionCastNode(new EntitySetNode(HardCodedTestModel.GetPeopleSet()), HardCodedTestModel.GetPersonType())); visitEntityCollectionCastNode.ShouldThrow <NotImplementedException>(); }
public void AnyNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitAnyToken = () => visitor.Visit(new AnyToken(null, null, null)); visitAnyToken.ShouldThrow <NotImplementedException>(); }
public void EntityRangeVariableReferenceNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitEntityRangeVariableReferenceNode = () => visitor.Visit(new EntityRangeVariableReferenceNode("stuff", new EntityRangeVariable("stuff", HardCodedTestModel.GetPersonTypeReference(), HardCodedTestModel.GetPeopleSet()))); visitEntityRangeVariableReferenceNode.ShouldThrow <NotImplementedException>(); }
public void CastNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitCastToken = () => visitor.Visit(new DottedIdentifierToken("stuff", null)); visitCastToken.ShouldThrow <NotImplementedException>(); }
public void OrderByNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitOrderByToken = () => visitor.Visit(new OrderByToken(new LiteralToken(1), OrderByDirection.Ascending)); visitOrderByToken.ShouldThrow <NotImplementedException>(); }
public void FunctionCallNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitFunctionCallToken = () => visitor.Visit(new FunctionCallToken("stuff", null)); visitFunctionCallToken.ShouldThrow <NotImplementedException>(); }
public void PropertyAccessNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitPropertyAccessToken = () => visitor.Visit(new EndPathToken("stuff", null)); visitPropertyAccessToken.ShouldThrow <NotImplementedException>(); }
public void NonRootSegmentNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitNonRootSegmentToken = () => visitor.Visit(new InnerPathToken("stuff", null, null)); visitNonRootSegmentToken.ShouldThrow <NotImplementedException>(); }
public void SingleEntityCastNodeNotImplemented() { FakeVisitor visitor = new FakeVisitor(); Action visitSingleEntityCastNode = () => visitor.Visit(new SingleEntityCastNode(null, ModelBuildingHelpers.BuildValidEntityType())); visitSingleEntityCastNode.ShouldThrow <NotImplementedException>(); }