diff options
author | Dean Roberts <droberts> | 2003-03-10 21:56:27 +0000 |
---|---|---|
committer | Dean Roberts <droberts> | 2003-03-10 21:56:27 +0000 |
commit | 07c6ff9ffc59a8b196c08390839c8fa53d76facb (patch) | |
tree | 17b4ed8a1e7bf2e46d5590d106c74f37d1f9e982 /tests/org.eclipse.swt.tests/JUnit Tests | |
parent | 57c55e5836cb6a66a2e0337cee21416cf56ef60a (diff) | |
download | eclipse.platform.swt-07c6ff9ffc59a8b196c08390839c8fa53d76facb.tar.gz eclipse.platform.swt-07c6ff9ffc59a8b196c08390839c8fa53d76facb.tar.xz eclipse.platform.swt-07c6ff9ffc59a8b196c08390839c8fa53d76facb.zip |
Copyright fix - automated changes
Diffstat (limited to 'tests/org.eclipse.swt.tests/JUnit Tests')
179 files changed, 1933 insertions, 1203 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllGraphicsTests.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllGraphicsTests.java index b9396795e7..ef013c9906 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllGraphicsTests.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllGraphicsTests.java @@ -1,10 +1,15 @@ -package org.eclipse.swt.tests.junit; -
/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java index 1f260c246b..52b28699dd 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java @@ -1,14 +1,20 @@ -package org.eclipse.swt.tests.junit; -
/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; -
/** + +/** * Suite for running all SWT test cases. */ public class AllTests extends TestSuite { diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java index 790c368763..8164c91513 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java @@ -1,10 +1,15 @@ -package org.eclipse.swt.tests.junit; -
/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/EmulatedWidgetsTests.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/EmulatedWidgetsTests.java index 1e595a653b..fa41b951a0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/EmulatedWidgetsTests.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/EmulatedWidgetsTests.java @@ -1,10 +1,15 @@ -package org.eclipse.swt.tests.junit; -
/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/StyledTextContentSpec.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/StyledTextContentSpec.java index a80995c288..4a6f6c9c59 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/StyledTextContentSpec.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/StyledTextContentSpec.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Use this test class to validate an implementation of the StyledTextContent @@ -25,7 +29,7 @@ import org.eclipse.swt.custom.*; import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; -import java.lang.reflect.*;
+import java.lang.reflect.*; public class StyledTextContentSpec implements TextChangeListener { static String contentClassName; static int failCount = 0; @@ -265,7 +269,7 @@ public void test_Insert() { assertTrue(":1d:", content.getLine(1).equals(" This")); assertTrue(":1e:", content.getLine(2).equals("is a test")); assertTrue(":1f:", content.getLine(3).equals("")); -
+ content.setText("This\nis a test\r"); content.replaceTextRange(5, 0, "*** "); newText = content.getTextRange(0, content.getCharCount()); @@ -274,7 +278,7 @@ public void test_Insert() { assertTrue(":2c:", content.getLine(0).equals("This")); assertTrue(":2d:", content.getLine(1).equals("*** is a test")); assertTrue(":2e:", content.getLine(2).equals("")); -
+ content.setText("Line 1\r\nLine 2"); content.replaceTextRange(0, 0, "\r"); newText = content.getTextRange(0, content.getCharCount()); @@ -291,7 +295,7 @@ public void test_Insert() { assertTrue(":3i:", content.getLine(1).equals("Line 1")); assertTrue(":3j:", content.getLine(2).equals("")); assertTrue(":3k:", content.getLine(3).equals("Line 2")); -
+ content.setText("This\nis a test\r"); content.replaceTextRange(0, 0, "\n"); newText = content.getTextRange(0, content.getCharCount()); @@ -311,7 +315,7 @@ public void test_Insert() { assertTrue(":5d:", content.getLine(1).equals("is")); assertTrue(":5e:", content.getLine(2).equals("newLine a test")); assertTrue(":5f:", content.getLine(3).equals("")); -
+ content.setText(""); content.replaceTextRange(0, 0, "This\nis\r\nnewLine a test\r"); newText = content.getTextRange(0, content.getCharCount()); @@ -321,7 +325,7 @@ public void test_Insert() { assertTrue(":6d:", content.getLine(1).equals("is")); assertTrue(":6e:", content.getLine(2).equals("newLine a test")); assertTrue(":6f:", content.getLine(3).equals("")); -
+ // insert at end content.setText("This"); content.replaceTextRange(4, 0, "\n "); @@ -338,7 +342,7 @@ public void test_Insert() { assertTrue(":7g:", content.getLine(0).equals("This")); assertTrue(":7h:", content.getLine(1).equals("")); assertTrue(":7i:", content.getLine(2).equals("")); -
+ // insert at beginning content.setText("This"); content.replaceTextRange(0, 0, "\n"); @@ -347,7 +351,7 @@ public void test_Insert() { assertTrue(":8b:", content.getLineCount() == 2); assertTrue(":8c:", content.getLine(0).equals("")); assertTrue(":8d:", content.getLine(1).equals("This")); -
+ // insert text content.setText("This\nis a test\r"); content.replaceTextRange(5, 0, "*** "); @@ -367,7 +371,7 @@ public void test_Insert() { assertTrue(":10d:", content.getLine(1).equals("line")); assertTrue(":10e:", content.getLineAtOffset(8) == 1); assertTrue(":10f:", content.getLineAtOffset(9) == 1); -
+ // insert at beginning content.setText("This\n"); content.replaceTextRange(0, 0, "line\n"); @@ -377,7 +381,7 @@ public void test_Insert() { assertTrue(":11c:", content.getLine(0).equals("line")); assertTrue(":11d:", content.getLine(1).equals("This")); assertTrue(":11e:", content.getLineAtOffset(5) == 1); -
+ content.setText("Line 1\r\nLine 2\r\nLine 3"); content.replaceTextRange(0, 0, "\r"); newText = content.getTextRange(0, content.getCharCount()); @@ -387,7 +391,7 @@ public void test_Insert() { assertTrue(":12d:", content.getLine(1).equals("Line 1")); assertTrue(":12e:", content.getLine(2).equals("Line 2")); assertTrue(":12f:", content.getLine(3).equals("Line 3")); -
+ content.setText("Line 1\nLine 2\nLine 3"); content.replaceTextRange(7, 0, "Line1a\nLine1b\n"); newText = content.getTextRange(0, content.getCharCount()); @@ -398,7 +402,7 @@ public void test_Insert() { assertTrue(":13e:", content.getLine(2).equals("Line1b")); assertTrue(":13f:", content.getLine(3).equals("Line 2")); assertTrue(":13g:", content.getLine(4).equals("Line 3")); -
+ content.setText("Line 1\nLine 2\nLine 3"); content.replaceTextRange(11, 0, "l1a"); newText = content.getTextRange(0, content.getCharCount()); @@ -407,7 +411,7 @@ public void test_Insert() { assertTrue(":14c:", content.getLine(0).equals("Line 1")); assertTrue(":14d:", content.getLine(1).equals("Linel1a 2")); assertTrue(":14e:", content.getLine(2).equals("Line 3")); -
+ content.setText("Line 1\nLine 2 is a very long line that spans many words\nLine 3"); content.replaceTextRange(19, 0, "very, very, "); newText = content.getTextRange(0, content.getCharCount()); @@ -417,12 +421,12 @@ public void test_Insert() { assertTrue(":15d:", content.getLine(1).equals("Line 2 is a very, very, very long line that spans many words")); assertTrue(":15e:", content.getLine(2).equals("Line 3")); } -
+ public void test_Empty() { StyledTextContent content = getContentInstance(); assertTrue(":1a:", content.getLineCount() == 1); assertTrue(":1b:", content.getLine(0).equals("")); -
+ content.setText("test"); content.replaceTextRange(0,4,""); assertTrue(":2a:", content.getLineCount() == 1); @@ -450,7 +454,7 @@ public void test_Line_Conversion() { assertTrue(":2b:", content.getLine(1).equals("is a test")); assertTrue(":2c:", content.getLineAtOffset(4) == 0); assertTrue(":2d:", content.getLineAtOffset(5) == 0); -
+ content.setText("This\r\nis a test\r"); assertTrue(":3a:", content.getLineCount() == 3); assertTrue(":3b:", content.getLine(1).equals("is a test")); @@ -463,7 +467,7 @@ public void test_Line_Conversion() { assertTrue(":4d:", content.getLineAtOffset(0) == 0); assertTrue(":4e:", content.getLineAtOffset(1) == 0); assertTrue(":4f:", content.getLineAtOffset(2) == 1); -
+ content.setText("\r\n\n\r\r\n"); assertTrue(":5a:", content.getLineCount() == 5); assertTrue(":5b:", content.getLine(0).equals("")); @@ -509,7 +513,7 @@ public void test_Offset_To_Line() { assertTrue(":3a:", content.getLineAtOffset(0) == 0); assertTrue(":3b:", content.getLineAtOffset(1) == 0); assertTrue(":3c:", content.getLineAtOffset(2) == 1); -
+ content.setText("\r\n\n\r\r\n"); assertTrue(":4a:", content.getLineAtOffset(0) == 0); assertTrue(":4b:", content.getLineAtOffset(1) == 0); @@ -518,14 +522,14 @@ public void test_Offset_To_Line() { assertTrue(":4e:", content.getLineAtOffset(4) == 3); assertTrue(":4f:", content.getLineAtOffset(5) == 3); assertTrue(":4g:", content.getLineAtOffset(6) == 4); -
+ content.setText("\r\n\r\n"); assertTrue(":5a:", content.getLineAtOffset(0) == 0); assertTrue(":5b:", content.getLineAtOffset(1) == 0); assertTrue(":5c:", content.getLineAtOffset(2) == 1); assertTrue(":5d:", content.getLineAtOffset(3) == 1); assertTrue(":5e:", content.getLineAtOffset(4) == 2); -
+ content.setText("\r\r\r\n\r\n"); assertTrue(":6a:", content.getLineAtOffset(0) == 0); assertTrue(":6b:", content.getLineAtOffset(1) == 1); @@ -538,7 +542,7 @@ public void test_Offset_To_Line() { content = getContentInstance(); assertTrue(":8a:", content.getLineAtOffset(0) == 0); } -
+ public void test_Line_To_Offset() { StyledTextContent content = getContentInstance(); @@ -556,20 +560,20 @@ public void test_Line_To_Offset() { content.setText("\r\n"); assertTrue(":3a:", content.getOffsetAtLine(0) == 0); assertTrue(":3b:", content.getOffsetAtLine(1) == 2); -
+ content.setText("\r\n\n\r\r\n"); assertTrue(":4a:", content.getOffsetAtLine(0) == 0); assertTrue(":4b:", content.getOffsetAtLine(1) == 2); assertTrue(":4c:", content.getOffsetAtLine(2) == 3); assertTrue(":4d:", content.getOffsetAtLine(3) == 4); assertTrue(":4e:", content.getOffsetAtLine(4) == 6); -
+ content.setText("\r\ntest\r\n"); assertTrue(":5a:", content.getOffsetAtLine(0) == 0); assertTrue(":5b:", content.getOffsetAtLine(1) == 2); assertTrue(":5c:", content.getOffsetAtLine(2) == 8); } -
+ public void test_Delete() { StyledTextContent content = getContentInstance(); String newText; @@ -624,7 +628,7 @@ public void test_Delete() { newText = content.getTextRange(0, content.getCharCount()); assertTrue(":4m:", newText.equals("")); assertTrue(":4n:", content.getLine(0).equals("")); -
+ content.setText("This\nis a test\r"); content.replaceTextRange(5, 9, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -633,7 +637,7 @@ public void test_Delete() { assertTrue(":5c:", content.getLine(0).equals("This")); assertTrue(":5d:", content.getLine(1).equals("")); assertTrue(":5e:", content.getLine(2).equals("")); -
+ content.setText("L1\r\nL2\r\nL3\r\nL4\r\n"); content.replaceTextRange(4, 8, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -642,7 +646,7 @@ public void test_Delete() { assertTrue(":6c:", content.getLine(0).equals("L1")); assertTrue(":6d:", content.getLine(1).equals("L4")); assertTrue(":6e:", content.getLine(2).equals("")); -
+ content.setText("\nL1\r\nL2"); content.replaceTextRange(0, 1, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -650,7 +654,7 @@ public void test_Delete() { assertTrue(":7b:",content.getLineCount() == 2); assertTrue(":7c:", content.getLine(0).equals("L1")); assertTrue(":7d:", content.getLine(1).equals("L2")); -
+ content.setText("\nL1\r\nL2\r\n"); content.replaceTextRange(7, 2, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -659,7 +663,7 @@ public void test_Delete() { assertTrue(":8c:", content.getLine(0).equals("")); assertTrue(":8d:", content.getLine(1).equals("L1")); assertTrue(":8e:", content.getLine(2).equals("L2")); -
+ content.setText("\nLine 1\nLine 2\n"); content.replaceTextRange(0, 7, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -668,14 +672,14 @@ public void test_Delete() { assertTrue(":9c:", content.getLine(0).equals("")); assertTrue(":9d:", content.getLine(1).equals("Line 2")); assertTrue(":9e:", content.getLine(2).equals("")); -
+ content.setText("Line 1\nLine 2\n"); content.replaceTextRange(6, 8, ""); newText = content.getTextRange(0, content.getCharCount()); assertTrue(":10a:", newText.equals("Line 1")); assertTrue(":10b:", content.getLineCount() == 1); assertTrue(":10c:", content.getLine(0).equals("Line 1")); -
+ content.setText("Line one is short\r\nLine 2 is a longer line\r\nLine 3\n"); content.replaceTextRange(12, 17, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -684,7 +688,7 @@ public void test_Delete() { assertTrue(":11c:", content.getLine(0).equals("Line one is a longer line")); assertTrue(":11d:", content.getLine(1).equals("Line 3")); assertTrue(":11e:", content.getLine(2).equals("")); -
+ } public void test_Replace() { StyledTextContent content = getContentInstance(); @@ -698,7 +702,7 @@ public void test_Replace() { assertTrue(":1c:", content.getLine(0).equals("This")); assertTrue(":1d:", content.getLine(1).equals("a test")); assertTrue(":1e:", content.getLine(2).equals("")); -
+ content.setText("This\nis a test\r"); content.replaceTextRange(5, 2, "was"); newText = content.getTextRange(0, content.getCharCount()); @@ -707,7 +711,7 @@ public void test_Replace() { assertTrue(":2c:", content.getLine(0).equals("This")); assertTrue(":2d:", content.getLine(1).equals("was a test")); assertTrue(":2e:", content.getLine(2).equals("")); -
+ content.setText("This is a test\r"); content.replaceTextRange(5, 2, "was"); newText = content.getTextRange(0, content.getCharCount()); @@ -724,7 +728,7 @@ public void test_Replace() { assertTrue(":4c:", content.getLine(1).equals("Lb")); assertTrue(":4d:", content.getLine(2).equals("Line 2")); assertTrue(":4e:", content.getLine(3).equals("Line 3")); -
+ content.setText(getTestText()); newText = content.getTextRange(0, content.getCharCount()); int start = content.getOffsetAtLine(6); @@ -741,7 +745,7 @@ public void test_Replace() { assertTrue(":5a:", content.getLine(5).equals("")); assertTrue(":5a:", content.getLine(6).equals("")); assertTrue(":5a:", content.getLine(7).equals("")); -
+ } public void test_Special_Cases() { String newText; @@ -766,7 +770,7 @@ public void test_Special_Cases() { assertTrue(":1g:",content.getLine(0).equals("")); content.replaceTextRange(7, 0, "\n"); assertTrue(":1h:",content.getLine(0).equals("")); -
+ content.setText("This is the input/output text component."); content.replaceTextRange(0, 0, "\n"); newText = content.getTextRange(0, content.getCharCount()); @@ -779,7 +783,7 @@ public void test_Special_Cases() { assertTrue(":2e:", content.getLine(0).equals("")); assertTrue(":2f:", content.getLine(1).equals("")); assertTrue(":2g:", content.getLine(2).equals("This is the input/output text component.")); -
+ content.replaceTextRange(2, 0, "\n"); newText = content.getTextRange(0, content.getCharCount()); assertTrue(":3a:", newText.equals("\n\n\nThis is the input/output text component.")); @@ -795,7 +799,7 @@ public void test_Special_Cases() { assertTrue(":3i:", content.getLine(2).equals("")); assertTrue(":3j:", content.getLine(3).equals("")); assertTrue(":3k:", content.getLine(4).equals("This is the input/output text component.")); -
+ content.replaceTextRange(3, 1, ""); newText = content.getTextRange(0, content.getCharCount()); assertTrue(":4a:", newText.equals("\n\n\nThis is the input/output text component.")); @@ -809,14 +813,14 @@ public void test_Special_Cases() { assertTrue(":4g:", content.getLine(0).equals("")); assertTrue(":4h:", content.getLine(1).equals("")); assertTrue(":4i:", content.getLine(2).equals("This is the input/output text component.")); -
+ content.replaceTextRange(2, 0, "a"); newText = content.getTextRange(0, content.getCharCount()); assertTrue(":5a:", newText.equals("\n\naThis is the input/output text component.")); assertTrue(":5b:", content.getLine(0).equals("")); assertTrue(":5c:", content.getLine(1).equals("")); assertTrue(":5d:", content.getLine(2).equals("aThis is the input/output text component.")); -
+ content.setText("abc\r\ndef"); content.replaceTextRange(1, 1, ""); newText = content.getTextRange(0, content.getCharCount()); @@ -845,7 +849,7 @@ public void test_Special_Cases() { assertTrue(":6o:", newText.equals("af")); assertTrue(":6p:", content.getLineCount() == 1); assertTrue(":6q:", content.getLine(0).equals("af")); -
+ content.setText("abc"); content.replaceTextRange(0, 1, "1"); newText = content.getTextRange(0, content.getCharCount()); @@ -880,81 +884,81 @@ public void test_Text_Changed_Event() { verify = 1; content.setText("testing"); content.replaceTextRange(0, 0, "\n"); -
+ verify = 2; content.setText("\n\n"); content.replaceTextRange(0, 2, "a"); -
+ verify = 3; content.setText("a"); content.replaceTextRange(0, 1, "\n\n"); -
+ verify = 4; content.setText("L1\r\nL2\r\nL3\r\nL4\r\n"); try {content.replaceTextRange(3, 1, "test\n");} catch (IllegalArgumentException ex) {assertTrue(":4:", true);} -
+ verify = 5; content.setText("Line 1\r\nLine 2"); content.replaceTextRange(0, 0, "\r"); -
+ verify = 6; content.setText("This\nis a test\nline 3\nline 4"); content.replaceTextRange(21, 7, ""); -
+ verify = 7; content.setText("This\nis a test\r"); content.replaceTextRange(5, 9, ""); -
+ verify = 8; content.setText("\nL1\r\nL2\r\n"); content.replaceTextRange(7, 2, ""); -
+ verify = 9; content.setText("L1\r\n"); content.replaceTextRange(2, 2, "test"); -
+ verify = 10; content.setText("L1\r\n"); try {content.replaceTextRange(3, 1, "");} catch (IllegalArgumentException ex) {assertTrue(":10:", true);} -
+ verify = 11; content.setText("L1\r\nL2\r\nL3\r\nL4\r\n"); try {content.replaceTextRange(1, 2, "");} catch (IllegalArgumentException ex) {assertTrue(":11:", true);} -
+ verify = 12; content.setText("L1\r"); content.replaceTextRange(3, 0, "\n"); -
+ verify = 13; content.setText("L1\n"); content.replaceTextRange(2, 0, "\r"); -
+ verify = 14; content.setText("L1\r\n"); try {content.replaceTextRange(3, 0, "test");} catch (IllegalArgumentException ex) {assertTrue(":14:", true);} -
+ verify = 15; content.setText("L1\r\n"); content.replaceTextRange(2, 2, "test\n\n"); -
+ verify = 16; content.setText("L1\r\n"); try {content.replaceTextRange(3, 1, "test\r\n");} catch (IllegalArgumentException ex) {assertTrue(":16:", true);} -
+ verify = 17; content.setText("L1\r\nL2\r\nL3\r\nL4\r\n"); try {content.replaceTextRange(1, 2, "test\n\n");} catch (IllegalArgumentException ex) {assertTrue(":17:", true);} -
+ verify = 18; content.setText("L1\r"); content.replaceTextRange(3, 0, "\ntest\r\n"); -
+ verify = 19; content.setText("L1\n"); content.replaceTextRange(2, 0, "test\r\r\r"); @@ -1017,6 +1021,6 @@ protected void tearDown() { if (shell != null && !shell.isDisposed ()) shell.dispose (); shell = null; -
+ } } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java index de2e3ef2ed..3389409b96 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java @@ -1,15 +1,20 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Platform-specific constants used in SWT test cases. - */
public class SwtJunit { + */ +public class SwtJunit { public static final String testFontName; public final static boolean isWindows = System.getProperty("os.name").startsWith("Win"); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtTestCase.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtTestCase.java index b2efcf25f7..f837416311 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtTestCase.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtTestCase.java @@ -1,13 +1,19 @@ -package org.eclipse.swt.tests.junit; -
/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; -
public class SwtTestCase extends TestCase { + +public class SwtTestCase extends TestCase { /** * The following flags are used to mark test cases that * are not handled correctly by SWT at this time, or test diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java index 55da8f786f..5e7bd84c3a 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTError.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTError.java index eab01a1814..21b6b9a148 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTError.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTError.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTException.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTException.java index 9b50c80163..d1c0d919c0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTException.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTException.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_AnimatedProgress.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_AnimatedProgress.java index 7f22ee7179..7d80cb2b30 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_AnimatedProgress.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_AnimatedProgress.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentEvent.java index 36fdccb90c..64840e7e12 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java index 3d73a9050d..85919e6460 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.Test; import junit.framework.TestSuite; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BusyIndicator.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BusyIndicator.java index c0f5b8a778..6c07f50960 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BusyIndicator.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BusyIndicator.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CCombo.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CCombo.java index 44ff1aafa1..06f2430136 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CCombo.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CCombo.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java index 086f704102..9571d486b7 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java index 8ca3f64d6a..fbf080e681 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderAdapter.java index 4c6386db4c..058fae56e3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderEvent.java index e858e17e83..7ab9667578 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderListener.java index 94c2dcbfd1..3f37415d12 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.custom.CTabFolderListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabItem.java index 35f8a51e92..beea50fe46 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.custom.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java index 8b10b26788..ed4b089683 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyEvent.java index 3fcf6af1fa..8a5631acae 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyListener.java index 2d64f17552..5c73f4a7e2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundEvent.java index f15589f401..f2473fa66a 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundListener.java index 86fb99ebc4..96b4f7b0b1 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleEvent.java index 42674ca27a..d23bb3cbbe 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleListener.java index 30f55faa8e..3f40652fde 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_PopupList.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_PopupList.java index ae88efedf9..4b517f6de0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_PopupList.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_PopupList.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ST.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ST.java index cc6ac2b044..6e1295e915 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ST.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ST.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_SashForm.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_SashForm.java index 42604462bb..f3d7020f4b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_SashForm.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_SashForm.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java index 4399131f8e..0c15a4af1f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StackLayout.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StackLayout.java index a0801375a0..ff001d8eb3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StackLayout.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StackLayout.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyleRange.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyleRange.java index 476adb1046..661860ce34 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyleRange.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyleRange.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2003. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import java.util.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java index ff5098aa94..74601dbbe7 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import java.util.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextContent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextContent.java index fc2a46fb23..64b3b2fa73 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextContent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextContent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableEditor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableEditor.java index ba04b42c50..005d2e86bd 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableEditor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableEditor.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTree.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTree.java index 21a8c41377..4e1ac4ef5f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTree.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTree.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeEditor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeEditor.java index 12a14e2603..d6931a1ba4 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeEditor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeEditor.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java index 0b106525e1..77d16f1f3c 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.custom.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangeListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangeListener.java index 780d2c4b70..0cfed28243 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangeListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangeListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.custom.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangedEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangedEvent.java index 785f60f69b..152d7a7943 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangedEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangedEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangingEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangingEvent.java index a69662a861..62ef5ab93c 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangingEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangingEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TreeEditor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TreeEditor.java index 105c6cd36a..9ac7d1c659 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TreeEditor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TreeEditor.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_VerifyKeyListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_VerifyKeyListener.java index f7ca74057c..4665977058 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_VerifyKeyListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_VerifyKeyListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.events.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ViewForm.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ViewForm.java index db4f7f6efb..e85a9589c3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ViewForm.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ViewForm.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_ByteArrayTransfer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_ByteArrayTransfer.java index ec659ec0fa..ff8644a62e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_ByteArrayTransfer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_ByteArrayTransfer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.dnd.ByteArrayTransfer diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Clipboard.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Clipboard.java index 56d074f744..47c7a3dd89 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Clipboard.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Clipboard.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DND.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DND.java index d83d6bdef3..1db7f93dfb 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DND.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DND.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSource.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSource.java index ce3c007db9..af34c34812 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSource.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSource.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceAdapter.java index 1364ec84d3..ca3e95b31e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceEvent.java index eb9d0a521e..baf951c08d 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceListener.java index 2a75a3d897..c365601c17 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.dnd.DragSourceListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTarget.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTarget.java index 72e72d3a3f..0588150c71 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTarget.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTarget.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetAdapter.java index 7b77dad107..5166d5a716 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetEvent.java index f174ccce0f..8b89720368 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetListener.java index d8d2555466..c537977048 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.dnd.DropTargetListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_FileTransfer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_FileTransfer.java index ea8681fc83..4d8ef3c670 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_FileTransfer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_FileTransfer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_RTFTransfer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_RTFTransfer.java index db4b60cb0e..c2f8a47cb0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_RTFTransfer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_RTFTransfer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TextTransfer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TextTransfer.java index a97847bfde..04ada3cf6e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TextTransfer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TextTransfer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Transfer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Transfer.java index d074d4c50e..e4bdb283b2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Transfer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Transfer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.dnd.Transfer diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TransferData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TransferData.java index 9c6d54d6ab..21319ad182 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TransferData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TransferData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmEvent.java index ade9bd5219..5344176b51 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmListener.java index b53108a7e4..9f7ca564db 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ArmListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlAdapter.java index 21adedec14..c29dd08551 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ControlAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlEvent.java index acff917c9b..3b0058abcc 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlListener.java index 7b7c12af95..21c6dba9f2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ControlListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeEvent.java index 7467186bb7..6f24f2d526 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeListener.java index 57df2eaba1..ebc7326f89 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.DisposeListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusAdapter.java index f4010b2089..8e707e83ca 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.FocusAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusEvent.java index 840dcadf27..2e1d7ad0a7 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusListener.java index 5d82574450..63954c3ab0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.FocusListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpEvent.java index e5dd4c75dd..df50349868 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpListener.java index 5166ab4088..91dfe02177 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.HelpListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyAdapter.java index c3706ed3d9..391814357a 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.KeyAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyEvent.java index ff956868c1..f12aa90f89 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyListener.java index 764445093b..b951bb3cb5 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.KeyListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuAdapter.java index 9787481d9b..a80cedcb8b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MenuAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuEvent.java index b31a075299..5ab5df10f1 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuListener.java index e3be615489..7c832efc30 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MenuListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyEvent.java index e882ff2c4d..8542c26641 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyListener.java index 71ab38c171..8cb5b7b71e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ModifyListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseAdapter.java index bf7b8d98ff..9d43319b73 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MouseAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseEvent.java index 5e11aea6ce..7806d078c2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseListener.java index 561aaea9f5..68d12f0a1b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MouseListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseMoveListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseMoveListener.java index 53d8f809e6..1d0f0ae569 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseMoveListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseMoveListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MouseMoveListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackAdapter.java index d056642dbd..976dd5dc23 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackListener.java index eb6e23dbf5..9732397cb6 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.MouseTrackListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintEvent.java index ee4965a2d2..649c98cd83 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintListener.java index caf03c182d..bd212053d3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.PaintListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionAdapter.java index 3e77f16f04..7f6fbd4c5c 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.SelectionAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionEvent.java index d70e6921ac..4453087aea 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionListener.java index 5c1f5f508e..95d5dc9e36 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.SelectionListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellAdapter.java index 2c79a403bf..59a0c1cde6 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ShellAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellEvent.java index 228ea31503..ed13876d00 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellListener.java index 2e28bc1dbd..589efc411b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.ShellListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseEvent.java index 4156534729..39e5a566cf 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseListener.java index 7b6a3250bd..d64ca4eb68 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.TraverseListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeAdapter.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeAdapter.java index 2765c3aa9f..a7b5694253 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeAdapter.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeAdapter.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.TreeAdapter diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeEvent.java index a7556e9fcf..2d4e95ed11 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeListener.java index 4b047afbf0..96a2a5ddcf 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.TreeListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TypedEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TypedEvent.java index bb53f300ec..079545dc44 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TypedEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TypedEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyEvent.java index 28769ab553..20c444985c 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyListener.java index 92ce47f188..b522911930 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.events.VerifyListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Color.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Color.java index 3445d683e6..3e08784c0e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Color.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Color.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; @@ -75,7 +79,7 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceIII() { color.dispose(); fail("No exception thrown for rgb > 255"); } catch (IllegalArgumentException e) { - }
+ } // illegal argument, blue > 255 try { color = new Color(display, 10, 10, 256); @@ -116,7 +120,7 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_gra fail("No exception thrown for rgb < 0"); } catch (IllegalArgumentException e) { - }
+ } // illegal argument, rgb > 255 try { color = new Color(display, new RGB(1000, 2000, 3000)); @@ -124,7 +128,7 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_gra fail("No exception thrown for rgb > 255"); } catch (IllegalArgumentException e) { - }
+ } // illegal argument, blue > 255 try { color = new Color(display, new RGB(10, 10, 256)); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Cursor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Cursor.java index 258ffe0cd2..1c84c52e7f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Cursor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Cursor.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Device.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Device.java index 45d2c98c10..11455defb2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Device.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Device.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.graphics.Device diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_DeviceData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_DeviceData.java index 2b5c394dad..faa9e48269 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_DeviceData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_DeviceData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.graphics.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Drawable.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Drawable.java index a0ee2e8f08..815a741c04 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Drawable.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Drawable.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.graphics.Drawable diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java index 1af450a4ec..bae1da8511 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontData.java index cee299780f..8bab9c05ce 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java index e230458e28..2b5e9c7fa8 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java index f26c240340..fca8325919 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java @@ -1,9 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.swt.tests.junit; -/* - * (c) Copyright IBM Corp. 2000, 2001. - * All Rights Reserved - */ import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GCData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GCData.java index dc2c348f4e..9a40846ab0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GCData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GCData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java index 19616cd158..e1f8a3b994 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageData.java index e46de7d0c1..838ee238aa 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoader.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoader.java index 52ee429e14..6277533dd5 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoader.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoader.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderEvent.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderEvent.java index 72b8506d37..f1be971cb0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderEvent.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderEvent.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderListener.java index aa7453005f..e2fbae4bfd 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.graphics.ImageLoaderListener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_PaletteData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_PaletteData.java index bc83b1ab54..a33f856516 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_PaletteData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_PaletteData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Point.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Point.java index a4a65c210b..ec258f91f8 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Point.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Point.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.graphics.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_RGB.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_RGB.java index 3458daf64f..a188ad5978 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_RGB.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_RGB.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.graphics.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Rectangle.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Rectangle.java index a381cf26b1..03e151068a 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Rectangle.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Rectangle.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.graphics.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java index f27e0bdab8..4a38f85226 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_FillLayout.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_FillLayout.java index 032ab7ccba..60349cdcaa 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_FillLayout.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_FillLayout.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridData.java index 66d6dfd71b..6d3a941f53 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridLayout.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridLayout.java index 9545ad5d58..fa05c6f5f2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridLayout.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridLayout.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowData.java index d754dd68a7..a5c3e0c8e1 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowLayout.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowLayout.java index 14d052207b..d0197eb362 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowLayout.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowLayout.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrintDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrintDialog.java index c8cf6024a3..7a81ced609 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrintDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrintDialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.printing.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_Printer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_Printer.java index 2f08067807..16876d8a61 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_Printer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_Printer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrinterData.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrinterData.java index 13aa24b090..950f840178 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrinterData.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrinterData.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.printing.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_program_Program.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_program_Program.java index 855fc4e18b..4c3adadc4b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_program_Program.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_program_Program.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Button.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Button.java index 9452ab783c..5a4f664197 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Button.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Button.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Canvas.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Canvas.java index eba05bead3..a7052a77d2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Canvas.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Canvas.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Caret.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Caret.java index 4e43c54486..64448ae845 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Caret.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Caret.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ColorDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ColorDialog.java index 7812e2819e..6b61c0da0e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ColorDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ColorDialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java index 44240da567..a53f5eff28 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -69,7 +73,7 @@ public void test_addLjava_lang_String() { assertEquals(":b:", new String[]{"", ""}, combo.getItems()); combo.add("fred"); assertEquals(":c:", new String[]{"", "", "fred"}, combo.getItems()); -
+ } public void test_addLjava_lang_StringI() { @@ -500,7 +504,7 @@ public void test_setItemILjava_lang_String() { fail("No exception thrown for illegal index argument"); } catch (IllegalArgumentException e) { - }
+ } combo.add("joe"); combo.setItem(0, "fred"); assertTrue("fred", combo.getItem(0).equals("fred")); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Composite.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Composite.java index b95ba934e4..4fb5e8678d 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Composite.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Composite.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -61,7 +65,7 @@ public void test_ConstructorLorg_eclipse_swt_widgets_CompositeI() { } public void test_getChildren() { - assertEquals(":a:", new Control[]{}, composite.getChildren());
+ assertEquals(":a:", new Control[]{}, composite.getChildren()); Composite c1 = new Composite(composite, 0); assertEquals(":b:", new Control[]{c1}, composite.getChildren()); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java index aac7a65e64..3bf8624c17 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolBar.java index 10bad3edd9..ff2c768cbc 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolBar.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolBar.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolItem.java index 0e0d62a2d3..a4168e18bd 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Decorations.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Decorations.java index 5046bb1a99..31fe440cfe 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Decorations.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Decorations.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Dialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Dialog.java index 129307d555..082e97c545 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Dialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Dialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_DirectoryDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_DirectoryDialog.java index bb8a3de29c..cb15c68697 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_DirectoryDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_DirectoryDialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java index 0fb5015fd2..d08da1e15d 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Event.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Event.java index b44af83a63..e7677e78ce 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Event.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Event.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FileDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FileDialog.java index 969d41a546..f93b5e2a22 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FileDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FileDialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java index 3beb416a25..7f32704ef0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Group.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Group.java index 43b176dc46..0f7541dec2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Group.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Group.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Item.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Item.java index 4884d70662..0404fea8d3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Item.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Item.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Label.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Label.java index 3541c827bf..a7f6462115 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Label.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Label.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Layout.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Layout.java index 32ee299f88..b6978c00b0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Layout.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Layout.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.widgets.Layout diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_List.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_List.java index 20e46459e3..cc6b34409b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_List.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_List.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Listener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Listener.java index b95dc930c9..da29d5c796 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Listener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Listener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + /** * Automated Test Suite for class org.eclipse.swt.widgets.Listener diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java index 741f693b8f..d8825cefbc 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -131,10 +135,10 @@ public void test_getItems(){ menu.getItems()[0].dispose(); assertEquals(":b:", new MenuItem[]{items[1], items[2], items[3], items[4]}, menu.getItems()); -
+ menu.getItems()[3].dispose(); assertEquals(":c:", new MenuItem[]{items[1], items[2], items[3]}, menu.getItems()); -
+ menu.getItems()[1].dispose(); assertEquals(":d:", new MenuItem[]{items[1], items[3]}, menu.getItems()); } @@ -235,7 +239,7 @@ public void test_isVisible(){ if (true) return; menu.setVisible(true); assertTrue(menu.isVisible()); -
+ // api not implemented yet if (fCheckVisibility) { menu.setVisible(false); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MenuItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MenuItem.java index b0c1f8206f..f5c7f50762 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MenuItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MenuItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -198,7 +202,7 @@ public void test_setMenuLorg_eclipse_swt_widgets_Menu(){ * it is selected when it is checked. */ public void test_setSelectionZ(){ -
+ int[] itemStyles = {SWT.CHECK, SWT.RADIO}; for (int i=0; i<itemStyles.length; i++) { diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MessageBox.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MessageBox.java index 63016eded1..1aef0aa4a5 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MessageBox.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MessageBox.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ProgressBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ProgressBar.java index 90dccb6a37..925a692650 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ProgressBar.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ProgressBar.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -50,7 +54,7 @@ private void report(String call, int set, int minExpected, int maxExpected, int //System.out.println(call + "(" + set + "): Maximum Expected: " + maxExpected + " Actual: " + progressBar.getMaximum()); //if (progressBar.getSelection() != selectionExpected) //System.out.println(call + "(" + set + "): Selection Expected: " + selectionExpected + " Actual: " + progressBar.getSelection()); -
+ check(minExpected, maxExpected, selectionExpected); } // this method must be private or protected so the auto-gen tool keeps it @@ -547,9 +551,9 @@ public void test_getSelection() { * equal to zero. */ public void test_setMaximumI(){ -
+ int [][] testValues = getSetMaximumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); @@ -564,9 +568,9 @@ public void test_setMaximumI(){ * equal to zero. */ public void test_setMinimumI(){ -
+ int [][] testValues = getSetMinimumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Sash.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Sash.java index c31811ed67..876b8e52ba 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Sash.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Sash.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scale.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scale.java index 822477d3b5..bf076c130b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scale.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scale.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -49,7 +53,7 @@ private void report(String call, int set, int minExpected, int maxExpected, int //if (trackBar.getMaximum() != maxExpected) //System.out.println(call + "(" + set + "): Maximum Expected: " + maxExpected + " Actual: " + trackBar.getMaximum()); //if (trackBar.getSelection() != selectionExpected) - //System.out.println(call + "(" + set + "): Selection Expected: " + selectionExpected + " Actual: " + trackBar.getSelection());
+ //System.out.println(call + "(" + set + "): Selection Expected: " + selectionExpected + " Actual: " + trackBar.getSelection()); check(minExpected, maxExpected, selectionExpected); } // this method must be private or protected so the auto-gen tool keeps it @@ -572,9 +576,9 @@ public void test_setIncrementI() { * equal to zero. */ public void test_setMaximumI(){ -
+ int [][] testValues = getSetMaximumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); @@ -592,7 +596,7 @@ public void test_setMinimumI(){ int [][] testValues = getSetMinimumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java index 2036086cd1..33db41aaa0 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -53,7 +57,7 @@ private void report(String call, int set, int minExpected, int maxExpected, int //if (scrollBar.getSelection() != selectionExpected) //System.out.println(call + "(" + set + "): Selection Expected: " + selectionExpected + " Actual: " + scrollBar.getSelection()); //if (scrollBar.getThumb() != thumbExpected) - //System.out.println(call + "(" + set + "): Thumb Expected: " + thumbExpected + " Actual: " + scrollBar.getThumb());
+ //System.out.println(call + "(" + set + "): Thumb Expected: " + thumbExpected + " Actual: " + scrollBar.getThumb()); check(minExpected, maxExpected, selectionExpected, thumbExpected); } // this method must be private or protected so the auto-gen tool keeps it @@ -795,7 +799,8 @@ public void test_setPageIncrementI(){ * to zero. */ public void test_setSelectionI(){ - int [][] testValues = getSetSelectionValues();
for (int i = 0; i < testValues.length; i++) { + int [][] testValues = getSetSelectionValues(); + for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); scrollBar.setSelection(intArray[0]); @@ -809,7 +814,7 @@ public void test_setSelectionI(){ * argument which must be at least one. */ public void test_setThumbI(){ - int [][] testValues = getSetThumbValues();
+ int [][] testValues = getSetThumbValues(); for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scrollable.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scrollable.java index bfc10c94c1..cda06a5050 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scrollable.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scrollable.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java index 60c1075616..30618f3d8c 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -103,7 +107,7 @@ public void test_addShellListenerLorg_eclipse_swt_events_ShellListener() { } public void test_close(){ -
+ // bogus line that 'enabled' gpfs // Shell newShell = new Shell(); testShell.setBounds(20,30,200, 200); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Slider.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Slider.java index 33db60fef4..e0d170ca37 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Slider.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Slider.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -52,7 +56,7 @@ private void report(String call, int set, int minExpected, int maxExpected, int //System.out.println(call + "(" + set + "): Selection Expected: " + selectionExpected + " Actual: " + slider.getSelection()); //if (slider.getThumb() != thumbExpected) //System.out.println(call + "(" + set + "): Thumb Expected: " + thumbExpected + " Actual: " + slider.getThumb()); -
+ check(call, set, minExpected, maxExpected, selectionExpected, thumbExpected); } // this method must be private or protected so the auto-gen tool keeps it @@ -499,12 +503,12 @@ return new int[][] { } // this method must be private or protected so the auto-gen tool keeps it private void setDefaults() { -
+ slider.setMaximum(100); slider.setMinimum(10); slider.setThumb(10); slider.setSelection(50); -
+ } // this method must be private or protected so the auto-gen tool keeps it private int[][] getSetSelectionValues() { @@ -729,9 +733,9 @@ public void test_setIncrementI() { } public void test_setMaximumI(){ -
+ int [][] testValues = getSetMaximumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); @@ -741,9 +745,9 @@ public void test_setMaximumI(){ } public void test_setMinimumI(){ -
+ int [][] testValues = getSetMinimumValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); @@ -767,9 +771,9 @@ public void test_setSelectionI(){ } public void test_setThumbI(){ -
+ int [][] testValues = getSetThumbValues(); -
+ for (int i = 0; i < testValues.length; i++) { int[] intArray = testValues[i]; setDefaults(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Synchronizer.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Synchronizer.java index ed749f1918..9d631f15ee 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Synchronizer.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Synchronizer.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabFolder.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabFolder.java index 41dbd28641..79bc6415e6 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabFolder.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabFolder.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -143,10 +147,10 @@ public void test_getItems() { tabFolder.getItems()[0].dispose(); assertEquals(new TabItem[]{items[1], items[2], items[3], items[4]}, tabFolder.getItems()); -
+ tabFolder.getItems()[3].dispose(); assertEquals(new TabItem[]{items[1], items[2], items[3]}, tabFolder.getItems()); -
+ tabFolder.getItems()[1].dispose(); assertEquals(new TabItem[]{items[1], items[3]}, tabFolder.getItems()); } @@ -208,12 +212,12 @@ public void test_indexOfLorg_eclipse_swt_widgets_TabItem(){ makeCleanEnvironment(); number = 20; TabItem[] items = new TabItem[number]; -
+ for (int i = 0; i < number; i++) { items[i] = new TabItem(tabFolder, 0); items[i].setText(String.valueOf(i)); } -
+ //another tabFolder TabFolder tabFolder_2 = new TabFolder(shell, 0); TabItem[] items_2 = new TabItem[number]; @@ -221,7 +225,7 @@ public void test_indexOfLorg_eclipse_swt_widgets_TabItem(){ items_2[i] = new TabItem(tabFolder_2, 0); items_2[i].setText(String.valueOf(i)); } -
+ for (int i = 0; i < number; i++) { assertTrue(":a:" + String.valueOf(i), tabFolder.indexOf(items_2[i])==-1); } @@ -283,28 +287,28 @@ public void test_setSelectionI(){ items = new TabItem[number]; for (int i = 0; i < number; i++) items[i] = new TabItem(tabFolder, 0); -
+ tabFolder.setSelection(0); assertEquals(new TabItem[]{items[0]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(4); assertEquals(new TabItem[]{items[4]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(2); assertEquals(new TabItem[]{items[2]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(1); assertEquals(new TabItem[]{items[1]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(number + 1); assertEquals(new TabItem[]{items[1]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(-1); assertEquals(0, tabFolder.getSelection().length); tabFolder.setSelection(3); assertEquals(new TabItem[]{items[3]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(-2); assertEquals(0, tabFolder.getSelection().length); @@ -313,22 +317,22 @@ public void test_setSelectionI(){ for (int i = 0; i < number; i++) items[i] = new TabItem(tabFolder, 0); -
+ tabFolder.setSelection(new TabItem[]{}); assertEquals(new TabItem[]{}, tabFolder.getSelection()); tabFolder.setSelection(new TabItem[] {items[0]}); assertEquals(new TabItem[] {items[0]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(new TabItem[] {items[3]}); assertEquals(new TabItem[] {items[3]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(new TabItem[] {items[4]}); assertEquals(new TabItem[] {items[4]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(new TabItem[] {items[2]}); assertEquals(new TabItem[] {items[2]}, tabFolder.getSelection()); -
+ tabFolder.setSelection(new TabItem[] {items[1]}); assertEquals(new TabItem[] {items[1]}, tabFolder.getSelection()); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabItem.java index 4058d558c4..ed25b5f898 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -62,7 +66,7 @@ public void test_ConstructorLorg_eclipse_swt_widgets_TabFolderII(){ tItem = new TabItem(tabFolder, SWT.NULL, 1); assertTrue(":c:", tabFolder.getItems()[1] == tItem); -
+ if (fCheckOutOfRangeBehaviour) { try { new TabItem(tabFolder, SWT.NULL, -1); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java index 5fae83be90..df50b8888f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -88,7 +92,8 @@ public void test_computeSizeIIZ() { warnUnimpl("Test test_computeSizeIIZ not written"); } -public void test_deselect$I(){
int number = 15; +public void test_deselect$I(){ + int number = 15; TableItem[] items = new TableItem[number]; for (int i = 0; i < number; i++) items[i] = new TableItem(table, 0); @@ -226,7 +231,7 @@ public void test_deselectII(){ table.deselect(number-1, number-1); assertEquals(number-1, table.getSelectionCount()); - table.selectAll();
+ table.selectAll(); table.deselect(-1, -1); assertEquals(number, table.getSelectionCount()); table.selectAll(); @@ -498,7 +503,7 @@ public void test_getSelectionIndices(){ for (int i = 0; i < number; i++) items[i] = new TableItem(table, 0); - assertEquals(new int[]{}, table.getSelectionIndices());
+ assertEquals(new int[]{}, table.getSelectionIndices()); table.setSelection(new TableItem[]{items[2], items[number-1], items[10]}); assertEquals(new int[]{2, 10, number-1}, table.getSelectionIndices()); // 10 < number @@ -560,7 +565,7 @@ public void test_indexOfLorg_eclipse_swt_widgets_TableItem(){ items_2[i] = new TableItem(table_2, 0); items_2[i].setText(String.valueOf(i)); } -
+ for (int i = 0; i < number; i++) { assertEquals("i=" + i, -1, table.indexOf(items_2[i])); } @@ -1061,9 +1066,9 @@ public void test_selectII(){ items[i] = new TableItem(table, 0); table.select(-100, 1000); - assertEquals(number, table.getSelectionCount());
+ assertEquals(number, table.getSelectionCount()); table.deselectAll(); - assertEquals(0, table.getSelectionCount());
+ assertEquals(0, table.getSelectionCount()); table.select(0, 1000); assertEquals(number, table.getSelectionCount()); table.deselectAll(); @@ -1248,7 +1253,7 @@ public void test_setSelection$I(){ assertEquals(new int[]{1, 2, 3}, table.getSelectionIndices()); table.setSelection(new int[]{1, 4, 0}); - assertEquals(new int[]{0, 1, 4}, table.getSelectionIndices());
+ assertEquals(new int[]{0, 1, 4}, table.getSelectionIndices()); table.setSelection(new int[]{0, 4, 0}); assertEquals(new int[]{0, 4}, table.getSelectionIndices()); @@ -1333,12 +1338,12 @@ public void test_setSelection$Lorg_eclipse_swt_widgets_TableItem(){ assertEquals(0, table.getSelectionCount()); table.setSelection(new TableItem[]{items[0], items[3], items[2]}); - assertEquals(new TableItem[]{items[0], items[2], items[3]}, table.getSelection());
+ assertEquals(new TableItem[]{items[0], items[2], items[3]}, table.getSelection()); table.setSelection(new TableItem[]{items[3], items[2], items[1]}); assertEquals(new TableItem[]{items[1], items[2], items[3]}, table.getSelection()); table.setSelection(new TableItem[]{items[1], items[4], items[0]}); - assertEquals(new TableItem[]{items[0], items[1], items[4]}, table.getSelection());
+ assertEquals(new TableItem[]{items[0], items[1], items[4]}, table.getSelection()); table.setSelection(new TableItem[]{items[0], items[4], items[0]}); assertEquals(new TableItem[]{items[0], items[4]}, table.getSelection()); @@ -1346,7 +1351,7 @@ public void test_setSelection$Lorg_eclipse_swt_widgets_TableItem(){ assertEquals(new TableItem[]{items[2], items[3], items[4]}, table.getSelection()); table.setSelection(new TableItem[]{items[4], items[4], items[4], items[4], items[4], items[4]}); - assertEquals(new TableItem[]{items[4]}, table.getSelection());
+ assertEquals(new TableItem[]{items[4]}, table.getSelection()); table.setSelection(new TableItem[]{items[4]}); assertEquals(new TableItem[]{items[4]}, table.getSelection()); @@ -1362,9 +1367,9 @@ public void test_setSelection$Lorg_eclipse_swt_widgets_TableItem(){ assertEquals(new TableItem[] {items[3]}, table.getSelection()); table.setSelection(new TableItem[] {items[4]}); - assertEquals(new TableItem[] {items[4]}, table.getSelection());
+ assertEquals(new TableItem[] {items[4]}, table.getSelection()); table.setSelection(new TableItem[] {items[2]}); - assertEquals(new TableItem[] {items[2]}, table.getSelection());
+ assertEquals(new TableItem[] {items[2]}, table.getSelection()); table.setSelection(new TableItem[] {items[1]}); assertEquals(new TableItem[] {items[1]}, table.getSelection()); @@ -1424,9 +1429,9 @@ public void test_setSelectionI(){ items[i] = new TableItem(table, 0); table.setSelection(0); - assertEquals(new int[]{0}, table.getSelectionIndices());
+ assertEquals(new int[]{0}, table.getSelectionIndices()); table.setSelection(3); - assertEquals(new int[]{3}, table.getSelectionIndices());
+ assertEquals(new int[]{3}, table.getSelectionIndices()); table.setSelection(4); assertEquals(new int[]{4}, table.getSelectionIndices()); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java index 94bc515778..ece2eaac87 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.events.*; @@ -116,7 +120,8 @@ public void test_getWidth(){ int testWidth = 42; assertTrue(":a: width=" + tableColumn.getWidth() + " should be=" + DEFAULT_WIDTH, tableColumn.getWidth() == DEFAULT_WIDTH); -
// try { + +// try { // tableColumn.setWidth(-1); // assertTrue("No exception thrown", false); // } @@ -179,7 +184,7 @@ public void test_setAlignmentI(){ column2.setAlignment(SWT.CENTER); assertTrue(":e:", column2.getAlignment() == SWT.CENTER); -
+ column2.setAlignment(SWT.LEFT); assertTrue(":f:", column2.getAlignment() == SWT.LEFT); } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableItem.java index 87eaa77a9e..60129aa1c1 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java index 18909b1ecb..2380c87e69 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -216,12 +220,12 @@ public void test_copy(){ } public void test_cut(){ - text.cut();
+ text.cut(); text.setText("01234567890"); text.setSelection(2, 5); text.cut(); assertEquals("01567890", text.getText()); -
+ text.selectAll(); text.cut(); assertEquals("", text.getText()); @@ -689,7 +693,7 @@ public void test_setSelectionLorg_eclipse_swt_graphics_Point(){ catch (IllegalArgumentException e) { } - text.setText("01234567890");
+ text.setText("01234567890"); text.setSelection(new Point(2, 2)); assertEquals(new Point(2, 2), text.getSelection()); @@ -698,7 +702,8 @@ public void test_setSelectionLorg_eclipse_swt_graphics_Point(){ text.setSelection(new Point(3, 100)); assertEquals(new Point(3, 11), text.getSelection()); -
text.setText("01234567890"); + + text.setText("01234567890"); text.setSelection(4); assertEquals(new Point(4, 4), text.getSelection()); @@ -843,7 +848,7 @@ public void test_showSelection(){ text.setText("00000"); text.selectAll(); - text.showSelection();
+ text.showSelection(); text.clearSelection(); text.showSelection(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolBar.java index 97a6b89c10..cb083f7865 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolBar.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolBar.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolItem.java index 4be16e4383..231cb1942e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tracker.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tracker.java index 6f65a2dddf..a29a690a64 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tracker.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tracker.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.widgets.*; import junit.framework.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java index 5078c59a2e..fa77db7fb9 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; @@ -467,7 +471,7 @@ public void test_showItemLorg_eclipse_swt_widgets_TreeItem(){ public void test_showSelection() { TreeItem item; - tree.showSelection();
+ tree.showSelection(); item = new TreeItem(tree, 0); tree.setSelection(new TreeItem[]{item}); tree.showSelection(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeItem.java index 1e336e1ec8..c939959a3f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeItem.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TypedListener.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TypedListener.java index 6b16a536d6..01d9b2c248 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TypedListener.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TypedListener.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import junit.framework.*; import junit.textui.*; diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Widget.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Widget.java index 84283cfe59..0b73c054a9 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Widget.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Widget.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.tests.junit; - -/* - * (c) Copyright IBM Corp. 2000, 2002. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.tests.junit; + import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; |