~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2013-10-03 20:30:16 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131003203016-d4ug6l0xgosasumq
Tags: 8.2.1-1
* New upstream release.
* Updated autotools documentation sources.

Show diffs side-by-side

added added

removed removed

Lines of Context:
818
818
                assertFormatterResult();
819
819
        }
820
820
 
 
821
        //#include "header.h"  // comment
 
822
        //
 
823
        //class C;
 
824
 
 
825
        //#include "header.h"  // comment
 
826
        //
 
827
        //class C;
 
828
        public void testPreserveBlankLineAfterInclude() throws Exception {
 
829
                assertFormatterResult();
 
830
        }
 
831
 
821
832
        //void f() { throw 42; }
822
833
 
823
834
        //void f() {
2965
2976
        public void testDoWhileInMacro_Bug359658() throws Exception {
2966
2977
                assertFormatterResult();
2967
2978
        }
 
2979
        
 
2980
        //#define macro(x) NS::convert(x)
 
2981
        //namespace NS {
 
2982
        //int convert(int arg) {
 
2983
        //return arg;
 
2984
        //}
 
2985
        //}
 
2986
        //int main() {
 
2987
        //int i = macro(42);
 
2988
        //}
 
2989
        
 
2990
        //#define macro(x) NS::convert(x)
 
2991
        //namespace NS {
 
2992
        //int convert(int arg) {
 
2993
        //      return arg;
 
2994
        //}
 
2995
        //}
 
2996
        //int main() {
 
2997
        //      int i = macro(42);
 
2998
        //}
 
2999
        public void testFunctionMacroInInitializerExpression() throws Exception {
 
3000
                assertFormatterResult();
 
3001
        }
2968
3002
}