From c0a6f1b84c84749908961579b84513fd9f9d9eac Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Nov 2023 17:53:35 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.78.0 Signed-off-by: Michele Calgaro --- .../tests/expected/java/80000-assert.java | 9 --- .../tests/expected/java/80010-annotation1.java | 26 -------- .../tests/expected/java/80011-annotation2.java | 5 -- .../tests/expected/java/80012-annotation2.java | 5 -- .../tests/expected/java/80013-annotation2.java | 6 -- .../tests/expected/java/80014-annotation2.java | 6 -- .../tests/expected/java/80020-foreach.java | 9 --- .../tests/expected/java/80030-variable_aligns.java | 35 ---------- .../tests/expected/java/80040-try.java | 6 -- .../tests/expected/java/80050-double_brace.java | 21 ------ .../tests/expected/java/80051-double_brace.java | 24 ------- .../tests/expected/java/80060-synchronized.java | 37 ----------- .../tests/expected/java/80061-synchronized.java | 29 --------- .../tests/expected/java/80062-sp_this_paren.java | 9 --- .../tests/expected/java/80063-i1121.java | 7 -- .../tests/expected/java/80064-long_cl_cmt.java | 5 -- .../expected/java/80065-Java8DoubleColon.java | 10 --- .../expected/java/80066-sp_after_for_colon.java | 1 - .../java/80067-doxy-javadoc-alignment.java | 74 ---------------------- .../java/80068-nl_before_ignore_after_case.java | 19 ------ .../tests/expected/java/80100-sf567.java | 14 ---- .../tests/expected/java/80200-sp_before_byref.java | 5 -- .../tests/expected/java/80201-generics.java | 30 --------- .../expected/java/80202-generics_wildcard.java | 25 -------- .../expected/java/80203-generics_return_type.java | 8 --- .../tests/expected/java/80204-cast.java | 24 ------- .../tests/expected/java/80205-sp_after_angle.java | 4 -- .../tests/expected/java/80206-annotation3.java | 10 --- .../tests/expected/java/80300-Issue_670.java | 4 -- .../tests/expected/java/80301-issue_672.java | 3 - .../tests/expected/java/80302-Issue_1845.java | 7 -- .../tests/expected/java/80303-Issue_1122.java | 3 - .../tests/expected/java/80304-Issue_1124.java | 6 -- .../tests/expected/java/80305-Issue_1124.java | 2 - .../java/80306-leading-tabs-for-java-lambda.java | 29 --------- 35 files changed, 517 deletions(-) delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80000-assert.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80010-annotation1.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80011-annotation2.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80012-annotation2.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80013-annotation2.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80014-annotation2.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80020-foreach.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80030-variable_aligns.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80040-try.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80050-double_brace.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80051-double_brace.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80060-synchronized.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80061-synchronized.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80062-sp_this_paren.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80063-i1121.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80064-long_cl_cmt.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80065-Java8DoubleColon.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80066-sp_after_for_colon.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80067-doxy-javadoc-alignment.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80068-nl_before_ignore_after_case.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80100-sf567.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80200-sp_before_byref.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80201-generics.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80202-generics_wildcard.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80203-generics_return_type.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80204-cast.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80205-sp_after_angle.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80206-annotation3.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80300-Issue_670.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80301-issue_672.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80302-Issue_1845.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80303-Issue_1122.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80304-Issue_1124.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80305-Issue_1124.java delete mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80306-leading-tabs-for-java-lambda.java (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80000-assert.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80000-assert.java deleted file mode 100644 index fbc20ba7..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80000-assert.java +++ /dev/null @@ -1,9 +0,0 @@ -public class JavaClass { - public static void main(String[] args) - { - /* assert EXPRESSION1 ; */ - assert (a != null) && (b != null); - /* assert EXPRESSION1 : EXPRESSION2 ; */ - assert (a != null) && (b != null) : "Message"; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80010-annotation1.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80010-annotation1.java deleted file mode 100644 index 314a0b91..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80010-annotation1.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Inherited; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Documented -@Retention(RetentionPolicy.RUNTIME) -@Target({ElementType.TYPE,ElementType.METHOD, - ElementType.CONSTRUCTOR,ElementType.ANNOTATION_TYPE, - ElementType.PACKAGE,ElementType.FIELD,ElementType.LOCAL_VARIABLE}) -@Inherited - -public @interface Unfinished { -public enum Priority { LOW, MEDIUM, HIGH } -String value(); -String[] changedBy() default ""; -String[] lastChangedBy() default ""; -Priority priority() default Priority.MEDIUM; -String createdBy() default "James Gosling"; -String lastChanged() default "08/07/2011"; -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80011-annotation2.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80011-annotation2.java deleted file mode 100644 index 1acc459f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80011-annotation2.java +++ /dev/null @@ -1,5 +0,0 @@ -public class Foo {private Runnable bar=new Runnable(){ - @Override @SuppressWarnings("baz") public void run(){ - quux(); - } - };} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80012-annotation2.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80012-annotation2.java deleted file mode 100644 index 1acc459f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80012-annotation2.java +++ /dev/null @@ -1,5 +0,0 @@ -public class Foo {private Runnable bar=new Runnable(){ - @Override @SuppressWarnings("baz") public void run(){ - quux(); - } - };} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80013-annotation2.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80013-annotation2.java deleted file mode 100644 index 42f5a1df..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80013-annotation2.java +++ /dev/null @@ -1,6 +0,0 @@ -public class Foo {private Runnable bar=new Runnable(){ - @Override - @SuppressWarnings("baz") public void run(){ - quux(); - } - };} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80014-annotation2.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80014-annotation2.java deleted file mode 100644 index 42f5a1df..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80014-annotation2.java +++ /dev/null @@ -1,6 +0,0 @@ -public class Foo {private Runnable bar=new Runnable(){ - @Override - @SuppressWarnings("baz") public void run(){ - quux(); - } - };} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80020-foreach.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80020-foreach.java deleted file mode 100644 index 69967517..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80020-foreach.java +++ /dev/null @@ -1,9 +0,0 @@ -public class Foo { - - public static void main(String[] args) { - for (ProcessDefinition processDefinition: - allOfTheDefinitions.getData()) { - doit(processDefinition); - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80030-variable_aligns.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80030-variable_aligns.java deleted file mode 100644 index c73b62d3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80030-variable_aligns.java +++ /dev/null @@ -1,35 +0,0 @@ -class Aligns { -final int SZF = 4; -final int SZ2F = 4; -final int aBarF; -final int someIntsF[]; -final int someIntsSzdF[4]; -final int[] someMoreIntsF; -final int lotsOfIntsF[][][][][][]; -final int[][][][] lotsMoreIntsF; -final Tem edVarF; -final int aBarSetF = null; -final int someIntsSetF[] = null; -final int someIntsSzdSetF[4] = null; -final int[] someMoreIntsSetF = null; -final int lotsOfIntsSetF[][][][][][] = null; -final int[][][][] lotsMoreIntsSetF = null; -final Tem edVarF = null; -int SZ = 4; -int SZ2 = 4; -int aBar; -int someInts[]; -int someIntsSzd[4]; -int spacer; -int[] someMoreInts; -int lotsOfInts[][][][][][]; -int[][][][] lotsMoreInts; -Tem edVar; -int aBarSet = null; -int someIntsSet[] = null; -int someIntsSzdSet[4] = null; -int[] someMoreIntsSet = null; -int lotsOfIntsSet[][][][][][] = null; -int[][][][] lotsMoreIntsSet = null; -Tem edVar = null; -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80040-try.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80040-try.java deleted file mode 100644 index 78a55849..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80040-try.java +++ /dev/null @@ -1,6 +0,0 @@ -public static void main(String[] args) { - try (File file = new File("filename.txt")) - { - doit(processDefinition); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80050-double_brace.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80050-double_brace.java deleted file mode 100644 index e00246e1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80050-double_brace.java +++ /dev/null @@ -1,21 +0,0 @@ -member.func(new List() {{ - add("Text"); - add("Text", - "Hello"); -}}); - - -private static final Set VALID_CODES = new HashSet() {{ - add("XZ13s"); - add("AB21/X"); - add("YYLEX"); - add("AR2D"); -}}; - -add(new JPanel() {{ - setLayout(...); - setBorder(...); - add(new JLabel(...)); - add(new JSpinner(...)); -}}); - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80051-double_brace.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80051-double_brace.java deleted file mode 100644 index 66183ada..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80051-double_brace.java +++ /dev/null @@ -1,24 +0,0 @@ -member.func(new List() -{{ - add("Text"); - add("Text", - "Hello"); -}}); - - -private static final Set VALID_CODES = new HashSet() -{{ - add("XZ13s"); - add("AB21/X"); - add("YYLEX"); - add("AR2D"); -}}; - -add(new JPanel() -{{ - setLayout(...); - setBorder(...); - add(new JLabel(...)); - add(new JSpinner(...)); -}}); - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80060-synchronized.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80060-synchronized.java deleted file mode 100644 index b8b70a6b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80060-synchronized.java +++ /dev/null @@ -1,37 +0,0 @@ -public class A -{ - private synchronized static void g(){ - int x=1; - } - synchronized A f(){ - return null; - } - public void foo(){ - g(); - - synchronized ( this ) - { - g(); - } - - g(); - - synchronized ( this ) - { - synchronized ( this ) - { - synchronized ( this ) - { - g(); - } - } - - g(); - } - - synchronized ( this ) - { - g(); - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80061-synchronized.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80061-synchronized.java deleted file mode 100644 index 73fc9b1d..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80061-synchronized.java +++ /dev/null @@ -1,29 +0,0 @@ -public class A { - private synchronized static void g(){ - int x=1; - } - synchronized A f(){ - return null; - } - public void foo(){ - g(); synchronized(this) - { - g(); - } - g(); synchronized(this) - { - synchronized(this) - { - synchronized(this) - { - g(); - } - } - g(); - } - synchronized(this) - { - g(); - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80062-sp_this_paren.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80062-sp_this_paren.java deleted file mode 100644 index 1c189223..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80062-sp_this_paren.java +++ /dev/null @@ -1,9 +0,0 @@ -public class JavaClass { -public JavaClass() { - this (1); -} - -public JavaClass(int i) { - super (i); -} -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80063-i1121.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80063-i1121.java deleted file mode 100644 index 18567ec3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80063-i1121.java +++ /dev/null @@ -1,7 +0,0 @@ -public class Test { -public static void main() { - btn.addActionListener(e->{ - System.exit(0); - }); -} -} \ No newline at end of file diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80064-long_cl_cmt.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80064-long_cl_cmt.java deleted file mode 100644 index af7a1c7e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80064-long_cl_cmt.java +++ /dev/null @@ -1,5 +0,0 @@ -public class Cls -{ -public void f(); -} /* class Cls */ -// no class end semicolon \ No newline at end of file diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80065-Java8DoubleColon.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80065-Java8DoubleColon.java deleted file mode 100644 index ec594909..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80065-Java8DoubleColon.java +++ /dev/null @@ -1,10 +0,0 @@ -import java.util.Objects; -import java.util.function.Predicate; - -public class Java8DoubleColon { -public static void main(String[] args) { - Predicate p = Objects::nonNull; - System.out.println(false == p.test(null)); - System.out.println(true == p.test(p)); -} -} \ No newline at end of file diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80066-sp_after_for_colon.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80066-sp_after_for_colon.java deleted file mode 100644 index 38515aed..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80066-sp_after_for_colon.java +++ /dev/null @@ -1 +0,0 @@ -for (Type var : expr) diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80067-doxy-javadoc-alignment.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80067-doxy-javadoc-alignment.java deleted file mode 100644 index 6b9f748b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80067-doxy-javadoc-alignment.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * @author Firstname Lastname
- * @version 1.6 (current version number of program) - * @since 1.2 (the version of the package to which this class was - * first added) - */ - -/** - * Short one line description. (1) - * - * Longer description. If there were any, it would be (2) here. - * - * And even more explanations to follow in consecutive paragraphs - * separated by HTML paragraph breaks... or so we think, haha. After - * this paragraph, add a reference to an @param to verify that it is - * ignored since it does not occur at the beginning of the line. Let's - * also throw in an @return to verify that it passes the test as well. - * - * @param variable Description text text text. (3) - * @return Description text text text. - */ - -/** - * Validates a chess move. - * - * Use {@link #doMove(int fromFile, int fromRank, int toFile, int - * toRank)} to move a piece. - * - * @param fromFile file from which a piece is being moved - * @param fromRank rank from which a piece is being moved - * @param toFile file to which a piece is being moved - * @param toRank rank to which a piece is being moved - * @return true if the move is valid, otherwise false - * @since 1.0 - */ - -/** - * Draws as much of the specified image as is currently available with - * its northwest corner at the specified coordinate (x, y). This - * method will return immediately in all cases, even if the entire - * image has not yet been scaled, dithered and converted for the - * current output device. - * - * If the current output representation is not yet complete then the - * method will return false and the indicated {@link ImageObserver} - * object will be notified as the conversion process progresses. - * - * @param img the image to be drawn - * @param x, y the x- and y-coordinates of the northwest corner - * of the destination rectangle in pixels - * @param observer the image observer to be notified as more of the - * image is converted. May be null - * @return true if the image is completely loaded and was - * painted successfully; false otherwise. - * @see Image - * @see ImageObserver - * @since 1.0 - */ - -/** - * @see #create(int, int, int, int) - * @see #finalize() - * @see Component#getGraphics() - * @see Component#paint(Graphics) - * @see Component#update(Graphics) - * @since 1.0 - */ - -/** - * Disposes of this graphics context once it is no longer referenced. - * - * @see #dispose() - * @since 1.0 - */ diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80068-nl_before_ignore_after_case.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80068-nl_before_ignore_after_case.java deleted file mode 100644 index 50bfc274..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80068-nl_before_ignore_after_case.java +++ /dev/null @@ -1,19 +0,0 @@ -void func(void) -{ - switch (cond) - { - case CASE_F: - synchronized(thingy) - { - do_a(); - do_b(); - } - break; - } - - synchronized(thingy) - { - do_a(); - do_b(); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80100-sf567.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80100-sf567.java deleted file mode 100644 index 9fc644b8..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80100-sf567.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.temp.test; - -public class Database -{ -private Database(String fileName) -{ - readConfig(fileName, "asdfasdf", 1); - readConfig(ame, "aasdf", 1); - - Database.readConfig(fileName, "asdfasdf", 1); - Database.readConfig(ame, "aasdf", 1); -} - -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80200-sp_before_byref.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80200-sp_before_byref.java deleted file mode 100644 index 7927ee89..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80200-sp_before_byref.java +++ /dev/null @@ -1,5 +0,0 @@ -public static void method() { - if (argA != null && argB != null) { - } - return (argA != null && argB != null); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80201-generics.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80201-generics.java deleted file mode 100644 index 086786c0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80201-generics.java +++ /dev/null @@ -1,30 +0,0 @@ -// Note: Some tests running on this _input_ file rely upon that the tripple -// closing '>' are not separated by spaces or anything else! -public class TestClass { -private static void initMap(void) { - HashMap>> resolutionTracks = new HashMap>>(); -} - -private static void addTrackToMap(String resolution, Track track, HashMap>> resolutionTracks) { - HashMap> tracks = null; - - if (resolutionTracks.containsKey(resolution)) { - tracks = resolutionTracks.get(resolution); - } else { - tracks = new HashMap>(); - tracks.put("soun", new LinkedList()); - tracks.put("vide", new LinkedList()); - resolutionTracks.put(resolution, tracks); - } - - if (track.getHandler() != null) { - if (track.getHandler().equals("soun")) { - List audioTracks = tracks.get("soun"); - audioTracks.add(track); - } else if (track.getHandler().equals("vide")) { - List videoTracks = tracks.get("vide"); - videoTracks.add(track); - } - } -} -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80202-generics_wildcard.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80202-generics_wildcard.java deleted file mode 100644 index 358e333b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80202-generics_wildcard.java +++ /dev/null @@ -1,25 +0,0 @@ -public class TestClass { - private Map< ? , ? > map1 = null; - private Map< ? , ? > map2 = null; - private Map< ? , ? > map3 = null; - - public static HttpUriRequest getHttpUriRequest(TestClassAPIRequestMethod method, String apiPath) { - switch (method) { - case BOTTOM_LEFT: - break; - case GET: - req = new HttpGet(url); - break; - case POST: - req = new HttpPost(url); - break; - case PUT: - req = new HttpPut(url); - break; - case DELETE: - req = new HttpDelete(url); - break; - } - return req; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80203-generics_return_type.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80203-generics_return_type.java deleted file mode 100644 index 1f2aa340..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80203-generics_return_type.java +++ /dev/null @@ -1,8 +0,0 @@ -public class TestClass { - public static void executeRequest(final HttpUriRequest request, final ITestClassAPIResponseListener responseListener) { - } - - public T mymethod(T type) { - return type; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80204-cast.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80204-cast.java deleted file mode 100644 index 30d0dcc4..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80204-cast.java +++ /dev/null @@ -1,24 +0,0 @@ -public class JavaClass { - private boolean isButtonHit(ImageView imageView, int x, int y) { - if (imageView != null) { - RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams(); - Rect buttonRect = new Rect((int) (layoutParams.leftMargin - buttonExtraMargin), - (int) (layoutParams.topMargin - buttonExtraMargin), - (int) (layoutParams.leftMargin + imageView.getWidth() + buttonExtraMargin), - (int) (layoutParams.topMargin + imageView.getHeight() + buttonExtraMargin)); - - if (buttonRect.contains(x, y)) { - return true; - } - } - - Map< ? , ? > map = (Map< ? , ? >) object; - - return false; - } - - @SuppressWarnings("unchecked") - public static List fromJSON(JSONArray obj) { - return (List) fromJSON((Object) obj); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80205-sp_after_angle.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80205-sp_after_angle.java deleted file mode 100644 index bd654485..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80205-sp_after_angle.java +++ /dev/null @@ -1,4 +0,0 @@ -public class TestClassPrefetchData implements ITestClassAPIInputStreamResponseListener { - private class TestClassPrefetchDataWrite extends AsyncTask { - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80206-annotation3.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80206-annotation3.java deleted file mode 100644 index 3d84c04c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80206-annotation3.java +++ /dev/null @@ -1,10 +0,0 @@ -public class LocalTests extends IosTest { - /** - * Check that app started up correctly. Then check that app continually runs for 5 seconds. - * Then wait up to 20 seconds for the splash screen disappear. - * @throws InterruptedException - */ - @Test(groups = {"testdroid", "local"}) - public void checkAppForCrash() throws InterruptedException { - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80300-Issue_670.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80300-Issue_670.java deleted file mode 100644 index b0aa2cf0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80300-Issue_670.java +++ /dev/null @@ -1,4 +0,0 @@ -Class definition: -public class A_Really_Really_Long_Class_Name extends - Another_Really_Long_Class_Name { -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80301-issue_672.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80301-issue_672.java deleted file mode 100644 index 16a077a4..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80301-issue_672.java +++ /dev/null @@ -1,3 +0,0 @@ -public abstract class KeyValueItemWriter implements ItemWriter, - InitializingBean {} -//3456789=123456789=12 diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80302-Issue_1845.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80302-Issue_1845.java deleted file mode 100644 index 062c89d1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80302-Issue_1845.java +++ /dev/null @@ -1,7 +0,0 @@ -public class Version implements Comparable { - -@Override -public int compareTo(@NonNull Version that) { - return 0; -} -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80303-Issue_1122.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80303-Issue_1122.java deleted file mode 100644 index 111ee739..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80303-Issue_1122.java +++ /dev/null @@ -1,3 +0,0 @@ -private void save() -throws IOException { -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80304-Issue_1124.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80304-Issue_1124.java deleted file mode 100644 index bca3cb33..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80304-Issue_1124.java +++ /dev/null @@ -1,6 +0,0 @@ -new URL(url) -. -openConnection(); -new URL(url) -. -openConnection(); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80305-Issue_1124.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80305-Issue_1124.java deleted file mode 100644 index 0469fed1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80305-Issue_1124.java +++ /dev/null @@ -1,2 +0,0 @@ -new URL(url).openConnection(); -new URL(url).openConnection(); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80306-leading-tabs-for-java-lambda.java b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80306-leading-tabs-for-java-lambda.java deleted file mode 100644 index 19b6df0f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/java/80306-leading-tabs-for-java-lambda.java +++ /dev/null @@ -1,29 +0,0 @@ -class MyClass { - void foo(List arr) { - arr.forEach(n -> { - // Okay: This line will be indented with only tabs. - if (cond1) { // Okay - // BAD1: This line will be indented with tabs up to lambda brace level, then spaces for the rest. - if (cond2) // BAD2 - // Okay - bar(); // Okay - if (cond3) // BAD3 - { // BAD4 - // BAD5 - bar(); // BAD6 - } // Okay - } // Okay - if (cond4) { // Okay - /* - BAD7: C-style comments will also be affected on all lines. - */ - } // Okay - if (cond5) // Okay - { // Okay - bar(); // BAD8 - } // Okay - if (cond6) // Okay - bar; // Okay - }); - } -} -- cgit v1.2.1