~ubuntu-branches/ubuntu/feisty/monodevelop/feisty

« back to all changes in this revision

Viewing changes to Core/src/NRefactory/Test/Parser/Expressions/ClassReferenceExpressionTests.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-08-18 00:51:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060818005123-5iit07y0j7wjg55f
Tags: 0.11+svn20060818-0ubuntu1
* New SVN snapshot
  + Works with Gtk# 2.9.0
* debian/control:
  + Updated Build-Depends
* debian/patches/use_nunit2.2.dpatch,
  debian/patches/use_real_libs.dpatch:
  + Updated
* debian/patches/versioncontrol_buildfix.dpatch:
  + Fix build failure in the version control addin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// <file>
 
2
//     <copyright see="prj:///doc/copyright.txt"/>
 
3
//     <license see="prj:///doc/license.txt"/>
 
4
//     <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
 
5
//     <version>$Revision: 915 $</version>
 
6
// </file>
 
7
 
 
8
using System;
 
9
using System.IO;
 
10
using NUnit.Framework;
 
11
using ICSharpCode.NRefactory.Parser;
 
12
using ICSharpCode.NRefactory.Parser.AST;
 
13
 
 
14
namespace ICSharpCode.NRefactory.Tests.AST
 
15
{
 
16
        [TestFixture]
 
17
        public class ClassReferenceExpressionTests
 
18
        {
 
19
                #region C#
 
20
                        // No C# representation
 
21
                #endregion
 
22
                
 
23
                #region VB.NET
 
24
                [Test]
 
25
                public void VBNetClassReferenceExpressionTest1()
 
26
                {
 
27
                        FieldReferenceExpression fre = ParseUtilVBNet.ParseExpression<FieldReferenceExpression>("MyClass.myField");
 
28
                        Assert.IsTrue(fre.TargetObject is ClassReferenceExpression);
 
29
                }
 
30
                #endregion
 
31
        }
 
32
}