/******************************************************************************* | |
* Copyright (c) 2011, 2016 IBM Corporation and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/legal/epl-2.0/ | |
* | |
* Contributors: | |
* IBM Corporation - initial API and implementation | |
* Red Hat, Inc. - refactoring | |
*******************************************************************************/ | |
package org.eclipse.wst.jsdt.ui.tests.contentassist; | |
import org.eclipse.wst.jsdt.ui.tests.utils.TestProjectSetup; | |
import org.junit.AfterClass; | |
import org.junit.BeforeClass; | |
import org.junit.Ignore; | |
import org.junit.Test; | |
@SuppressWarnings("nls") | |
public class GlobalVariable_AssignmentOnly_DefinedInOneFile_Tests { | |
private static TestProjectSetup fTestProjectSetup; | |
@BeforeClass | |
public static void setup() throws Exception { | |
fTestProjectSetup = new TestProjectSetup("ContentAssist", "root", false); | |
fTestProjectSetup.setUp(); | |
} | |
@AfterClass | |
public static void tearDown() throws Exception { | |
fTestProjectSetup.tearDown(); | |
} | |
@Ignore @Test | |
public void testFindGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile1 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile2 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile3 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile4 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile5 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile6 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile7 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile8 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile9 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile10 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile11 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile12 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile13 : {} - Global" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 0, 33, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 2, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_1() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile1_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile1_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 4, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_2() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile2_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile2_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 6, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_3() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile3_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_1 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_2 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 8, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_4() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile4_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 10, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_5() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile5_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile5_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 12, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_6() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 14, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_7() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile7_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 16, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_8() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile8_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 18, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_9() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile9_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile9_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 20, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_10() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 22, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_11() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile11_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 24, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_12() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile12_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 26, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_BeforeOpen_13() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile13_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile13_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 28, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindGlobalVariables_DefinedInOneFile_SameFile_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile1 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile2 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile3 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile4 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile5 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile6 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile7 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile8 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile9 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile10 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile11 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile12 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile13 : {} - Global" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 90, 33, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 92, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_1() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile1_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile1_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 94, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_2() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile2_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile2_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 96, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_3() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile3_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_1 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_2 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 98, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_4() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile4_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 100, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_5() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile5_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile5_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 102, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_6() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 104, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_7() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile7_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 106, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_8() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile8_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 108, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_9() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile9_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile9_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 110, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_10() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 112, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_11() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile11_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 114, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_12() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile12_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 116, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_SameFile_13() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile13_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile13_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_0.js", 118, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile1 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile2 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile3 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile4 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile5 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile6 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile7 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile8 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile9 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile10 : String - Global", | |
"global_AssignmentOnly_DeffinedInOneFile11 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile12 : {} - Global", | |
"global_AssignmentOnly_DeffinedInOneFile13 : {} - Global" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 0, 33, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_0() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile0_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 2, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_1() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile1_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile1_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 4, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_2() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile2_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile2_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 6, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_3() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile3_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_1 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile3_2 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 8, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_4() throws Exception { | |
String[][] expectedProposals = new String[][] { { "global_AssignmentOnly_DeffinedInOneFile4_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 10, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_5() throws Exception { | |
String[][] expectedProposals = new String[][] { { | |
"global_AssignmentOnly_DeffinedInOneFile5_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile5_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 12, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_6() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 14, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_7() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile7_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 16, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_8() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile8_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 18, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_9() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile9_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile9_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 20, 41, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_10() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 22, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_11() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile11_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 24, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_12() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile12_0 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 26, 42, | |
expectedProposals, false, true); | |
} | |
@Ignore @Test | |
public void testFindFieldsOnGlobalVariables_DefinedInOneFile_OtherFile_AfterOpen_13() throws Exception { | |
String[][] expectedProposals = new String[][] { { "charAt(Number position) : String - String", | |
"global_AssignmentOnly_DeffinedInOneFile13_0 : Number - {}", | |
"global_AssignmentOnly_DeffinedInOneFile13_1 : Number - {}" } }; | |
ContentAssistTestUtilities.runProposalTest(fTestProjectSetup, "TestGlobals_AssignmentOnly_DeffinedInOneFile_1.js", 28, 42, | |
expectedProposals, false, true); | |
} | |
} |