• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java NbModuleSuite类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: create

import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
private static Test create(String clusters, String modules) {
    System.setProperty("initTestClass", InitRun.class.getName());
    Configuration config = NbModuleSuite.createConfiguration(AWTThreadFreeTest.class)
        .clusters(clusters)
        .enableModules(modules)
        .gui(true);
    return NbModuleSuite.create(config);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:9,代码来源:AWTThreadFreeTest.java


示例17: suite

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


示例18: suite

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


示例19: suite

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


示例20: suite

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java CustomConverter类代码示例发布时间:2022-05-22
下一篇:
Java CryptoUtil类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap