当前位置: 首页>>代码示例>>Java>>正文


Java NbModuleSuite类代码示例

本文整理汇总了Java中org.netbeans.junit.NbModuleSuite的典型用法代码示例。如果您正苦于以下问题:Java NbModuleSuite类的具体用法?Java NbModuleSuite怎么用?Java NbModuleSuite使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


NbModuleSuite类属于org.netbeans.junit包,在下文中一共展示了NbModuleSuite类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
        .addTest(JFXConfigsTest.class,
            "testProjectPropertiesSetUp",
            "testConfigsInitialState",
            "testSingleProperty",
            "testGetSetPropertyTransparent",
            "testPropertyGroups",
            "testParamProperties",
            "testSavedConfigFiles",
            "testEraseParamProperties",
            "testEraseParamSavedConfigFiles",
            "testCustomManifestEntries"
        )
    .enableModules(".*").clusters(".*"));
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:17,代码来源:JFXConfigsTest.java

示例2: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
/** Creates suite from particular test cases. You can define order of testcases here. */
public static Test suite() {
    return NbModuleSuite.create(
            NbModuleSuite.createConfiguration(OpenTempl_defaultPackTest.class).addTest(
            //SWING
            "testApplet",
            "testDialog",
            "testFrame",
            "testPanel",
            "testInter",
            "testMidi",
            
             "testBean",
             "testAppl",
             "testOkCancel",
            //AWT
            "testAWTApplet",
            "testAWTDialog",
            "testAWTFrame",
            "testAWTPanel"
            ).gui(true).enableModules(".*").clusters(".*"));

}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:24,代码来源:OpenTempl_defaultPackTest.java

示例3: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.create(
            NbModuleSuite.createConfiguration(MarkOccurrencesTest.class)                
            .addTest(MarkOccurrencesTest.class)
            .addTest(JavaEditActionsTest.class)
            .addTest(JavaNavigationActionsTest.class)
            .addTest(JavaSmartBracketTest.class)
            .addTest(SmartEnterTest.class)
            .addTest(CreateConstructorTest.class)
            .addTest(CreateEqualsHashcodeTest.class)
            .addTest(CreateGetterSetterTest.class)
            .addTest(ImplementMethodTest.class)
            .addTest(JavaFoldsNavigationTest.class)
            .addTest(JavaFoldsTest.class)
            .addTest(GuiTest.class)
            .addTest(BasicTest.class)
            .addTest(CodeTemplatesTest.class)
            .addTest(SemanticHighlightTest.class)
            .addTest(RemoveSurroundingTest.class)
            .addTest(Breadcrumbs.class)
            .enableModules(".*")
            .clusters(".*")
            );
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:25,代码来源:StableSuite.java

示例4: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
//        String os = System.getProperty("os.name");
//        String jdk = System.getProperty("java.version");
//        if ( jdk.contains("1.5") && os.contains("Windows") && !os.contains("Vista") ) {
//            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration());
//        } else {
            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                .addTest(StartDebuggerTest.class, 
                "testDebugProject",
                "testDebugFile",
                "testRunDebuggerStepInto",
                "testRunDebuggerRunToCursor",
                "testDebugMainProject")
                .enableModules(".*").clusters(".*"));
//        }
    }
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:17,代码来源:StartDebuggerTestSuite.java

示例5: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
//        String os = System.getProperty("os.name");
//        String jdk = System.getProperty("java.version");
//        if ( jdk.contains("1.5") && os.contains("Windows") && !os.contains("Vista") ) {
//            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration());
//        } else {
            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                .addTest(ExceptionBreakpointsTest.class,
                    "testExceptionBreakpointCreation",
                    "testExceptionBreakpointFunctionality",
                    "testExceptionBreakpointMatchClasses",
                    "testExceptionBreakpointExcludeClasses",
                    "testExceptionBreakpointHitCount",
                    "testConditionalExceptionBreakpoint")
            .enableModules(".*").clusters(".*"));
//        }
    }
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:18,代码来源:Breakpoints_ExceptionTestSuite.java

示例6: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
//        String os = System.getProperty("os.name");
//        String jdk = System.getProperty("java.version");
//        if ( jdk.contains("1.5") && os.contains("Windows") && !os.contains("Vista") ) {
//            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration());
//        } else {
            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                .addTest(StepsTest.class,
                    "testStepInto",
                    "testStepOver",
                    "testRunToCursor",
                    "testStepOut",
                    "testStepOverExpression"
                    ).enableModules(".*").clusters(".*"));
//        }
    }
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:17,代码来源:StepsTestSuite.java

示例7: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
   return NbModuleSuite.create(
     NbModuleSuite.emptyConfiguration()
       .addTest(org.netbeans.lib.profiler.tests.jfluid.BasicTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.perf.InstrumentationTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.wireio.BasicTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.monitor.BasicTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.memory.BasicTest.class)
.addTest(org.netbeans.lib.profiler.tests.jfluid.memory.MemorySnapshotTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.others.MeasureDiffsTest.class)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.cpu.CPUSnapshotTest.class)
.addTest(org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.class, org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.tests)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.class, org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.tests2)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.class, org.netbeans.lib.profiler.tests.jfluid.cpu.BasicTest.tests3)
       .addTest(org.netbeans.lib.profiler.tests.jfluid.benchmarks.JbbTest.class)
   );
 }
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:18,代码来源:ProfilerStableTestSuite.java

示例8: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    if (gitExistsChecker.check(false)) {
        return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                .addTest(AnnotationsTest.class, "testShowAnnotations")
                .addTest(CloneTest.class, "testCloneProject")
                .addTest(CommitDataTest.class, "testCommitFile", "testRecognizeMimeType")
                .addTest(CommitUiTest.class, "testInvokeCloseCommit")
                .addTest(DeleteTest.class, "testDeleteRevert", "testDeleteCommit")
                .addTest(IgnoreTest.class, "testIgnoreUnignoreFile")
                .addTest(InitializeTest.class, "testInitializeAndFirstCommit")
                .addTest(RefactoringTest.class, "testRefactoring")
                .addTest(DiffTest.class, "testDiffFile")
                .addTest(ExportDiffPatchTest.class, "testInvokeExportDiffPatch")
                .enableModules(".*")
                .clusters(".*"));
    } else {
        return NbModuleSuite.create(NbModuleSuite.emptyConfiguration());
    }
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:20,代码来源:GitStableTest.java

示例9: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
/**
     * Adds tests to suite
     * @return created suite
     */
    public static Test suite() {
//        NbTestSuite suite = new NbTestSuite(CreateTestTest.class);
//        return suite;
          return NbModuleSuite.create(NbModuleSuite.createConfiguration(CreateTestTest.class).addTest(
                  "testCreateTestByPopup",
                  "testCreateTestAndSuiteByPopup"/*,
                  "testCreateTestByPopupNoPublicMethods",
                  "testCreateTestByPopup3",
                  "testCreateTestByPopup4",
                  "testCreateTestByWizard",
                  "testCreateWODefMethodBodies",
                  "testCreateWOHints",
                  "testCreateWOJavadoc",
                  "testCreateWOsetUp",
                  "testCreateWOtearDown"*/)
                  .enableModules(".*").clusters(".*"));
    }
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:22,代码来源:CreateTestTest.java

示例10: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.createConfiguration(ImporterMenu.class).
            addTest(ImporterWizard.class).
            addTest(ImportSimpleJavaProjectFromWS.class).
            //addTest(ImportSimpleWebProjectFromWS.class).
            addTest(ImportMultipleRootsJavaProjectFromWS.class).
            addTest(ImportJavaVersion.class).
            addTest(ImportProjectWithTransitiveDeps.class).
            addTest(ImportAppRunParams.class).
            addTest(ImportJavaCParams.class).
            addTest(ImportSourceFilters.class).
            addTest(ImportTestProjects.class).
            addTest(ImportProjectWithJarRef.class).
            addTest(ImportStandaloneProject.class).
            enableModules(".*").clusters(".*").
            gui(true).reuseUserDir(true).suite();
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:18,代码来源:ImporterTest.java

示例11: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
/**
 * Simple method uniting together all the different tests under subversion
 * tests-qa-functional
 */
public static Test suite() {
    if (System.getProperty("os.name").toLowerCase().contains("windows")) {
        return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                    .addTest(CommitDataTest.class, "testCommitFile")
                    .addTest(CommitUiTest.class, "testInvokeCloseCommit")
                    .enableModules(".*").clusters(".*"));
    } else {
        if (svnExistsChecker.check(false)) {
            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
                    .addTest(CommitDataTest.class, "testCommitFile")
                    .addTest(IgnoreTest.class, "testIgnoreUnignoreFile", "testFinalRemove")
                    .enableModules(".*").clusters(".*"));
        } else {
            return NbModuleSuite.create(NbModuleSuite.emptyConfiguration());
        }
    }
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:22,代码来源:commitTestSuite.java

示例12: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
        .addTest(ProjectTypeTest.class,
            "testFXTypeProperty",
            "testCreatedFXProjectType",
            "testCreatedSEProjectType"
        )
    .enableModules(".*").clusters(".*"));
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:10,代码来源:ProjectTypeTest.java

示例13: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.create(NbModuleSuite.emptyConfiguration()
        .addTest(UpdateJFXImplTest.class,
            "testCreateProject",
            "testProjectInitialState",
            "testProjectInitialJFXImplState",
            "testProjectJFXImplNotUpdated",
            "testProjectJFXImplUpdated",
            "testProjectJFXImplUpdatedAgain",
            "testProjectJFXImplReplacedMissing"
        )
    .enableModules(".*").clusters(".*"));
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:14,代码来源:UpdateJFXImplTest.java

示例14: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.
            emptyConfiguration().
            addTest(JFXApplicationClassChooserTest.class).
            clusters("javafx"). //NOI18N
            gui(false).
            suite();
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:9,代码来源:JFXApplicationClassChooserTest.java

示例15: suite

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
    return NbModuleSuite.create(
            NbModuleSuite.createConfiguration(SearchHistoryUITest.class).addTest(
               "testInvokeSearch"
            )
            .enableModules(".*")
            .clusters(".*")
   );
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:10,代码来源:SearchHistoryUITest.java


注:本文中的org.netbeans.junit.NbModuleSuite类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。