public async Task GetEndPoint_Body() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); TextPoint endPoint = testObject.GetEndPoint(vsCMPart.vsCMPartBody); Assert.Equal(27, endPoint.Line); Assert.Equal(1, endPoint.LineCharOffset); }
public async Task GetEndPoint_WholeWithAttributes() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); TextPoint endPoint = testObject.GetEndPoint(vsCMPart.vsCMPartWholeWithAttributes); Assert.Equal(27, endPoint.Line); Assert.Equal(2, endPoint.LineCharOffset); }
public async Task GetEndPoint_Navigate() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); TextPoint endPoint = testObject.GetEndPoint(vsCMPart.vsCMPartNavigate); Assert.Equal(18, endPoint.Line); Assert.Equal(14, endPoint.LineCharOffset); }
public void GetEndPoint_Navigate() { CodeNamespace testObject = GetCodeNamespace("A.B"); TextPoint endPoint = testObject.GetEndPoint(vsCMPart.vsCMPartNavigate); Assert.Equal(18, endPoint.Line); Assert.Equal(14, endPoint.LineCharOffset); }
public void GetEndPoint_Body() { CodeNamespace testObject = GetCodeNamespace("A.B"); TextPoint endPoint = testObject.GetEndPoint(vsCMPart.vsCMPartBody); Assert.Equal(27, endPoint.Line); Assert.Equal(1, endPoint.LineCharOffset); }
public async Task GetEndPoint_Whole() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); Assert.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartWhole)); }
public async Task GetEndPoint_HeaderWithAttributes() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); Assert.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartHeaderWithAttributes)); }
public async Task GetEndPoint_BodyWithDelimiter() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); Assert.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartBodyWithDelimiter)); }
public async Task GetEndPoint_AttributesWithDelimiter() { CodeNamespace testObject = await GetCodeNamespaceAsync("A.B"); Assert.Throws <COMException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartAttributesWithDelimiter)); }
public void GetEndPoint_Whole() { CodeNamespace testObject = GetCodeNamespace("A.B"); Assert.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartWhole)); }
public void GetEndPoint_BodyWithDelimiter() { CodeNamespace testObject = GetCodeNamespace("A.B"); Assert.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartBodyWithDelimiter)); }
public void GetEndPoint_AttributesWithDelimiter() { CodeNamespace testObject = GetCodeNamespace("A.B"); Assert.Throws <COMException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartAttributesWithDelimiter)); }
public void GetEndPoint_HeaderWithAttributes() { CodeNamespace testObject = GetCodeNamespace("A.B"); AssertEx.Throws <NotImplementedException>(() => testObject.GetEndPoint(vsCMPart.vsCMPartHeaderWithAttributes)); }