001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * Portions Copyrighted 2007 Sun Microsystems, Inc.
027: */
028: package org.netbeans.modules.java.hints.errors;
029:
030: import org.netbeans.modules.java.hints.infrastructure.HintsTestBase;
031:
032: /**
033: *
034: * @author Jan Lahoda
035: */
036: public class OrigCreateMethodTest extends HintsTestBase {
037:
038: public OrigCreateMethodTest(String name) {
039: super (name);
040: }
041:
042: public void testCreateElement1() throws Exception {
043: performTest("org.netbeans.test.java.hints.CreateElement1",
044: "Method", 23, 16);
045: }
046:
047: public void testCreateElement2() throws Exception {
048: performTest("org.netbeans.test.java.hints.CreateElement2",
049: "Method", 23, 16);
050: }
051:
052: public void testCreateElement3() throws Exception {
053: performTest("org.netbeans.test.java.hints.CreateElement3",
054: "Method", 24, 16);
055: }
056:
057: public void testCreateElement4() throws Exception {
058: performTest("org.netbeans.test.java.hints.CreateElement4",
059: "Method", 23, 16);
060: }
061:
062: public void testCreateElement5() throws Exception {
063: performTest("org.netbeans.test.java.hints.CreateElement5",
064: "Method", 23, 16);
065: }
066:
067: public void testCreateElement6() throws Exception {
068: performTest("org.netbeans.test.java.hints.CreateElement6",
069: "Method", 23, 16);
070: }
071:
072: public void testCreateElement7() throws Exception {
073: performTest("org.netbeans.test.java.hints.CreateElement7",
074: "Method", 23, 16);
075: }
076:
077: public void testCreateElement8() throws Exception {
078: performTest("org.netbeans.test.java.hints.CreateElement8",
079: "Method", 24, 16);
080: }
081:
082: public void testCreateElement9() throws Exception {
083: performTest("org.netbeans.test.java.hints.CreateElement9",
084: "Method", 23, 16);
085: }
086:
087: public void testCreateElementa() throws Exception {
088: performTest("org.netbeans.test.java.hints.CreateElementa",
089: "Method", 23, 16);
090: }
091:
092: public void testCreateConstructor1() throws Exception {
093: performTest("org.netbeans.test.java.hints.CreateConstructor1",
094: "Constructor", 9, 16);
095: }
096:
097: @Override
098: protected String testDataExtension() {
099: return "org/netbeans/test/java/hints/OrigCreateMethodTest/";
100: }
101:
102: @Override
103: protected boolean createCaches() {
104: return false;
105: }
106: }
|