本文整理汇总了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(".*"));
}
示例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(".*"));
}
示例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(".*")
);
}
示例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(".*"));
// }
}
示例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(".*"));
// }
}
示例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(".*"));
// }
}
示例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)
);
}
示例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());
}
}
示例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(".*"));
}
示例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();
}
示例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());
}
}
}
示例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(".*"));
}
示例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(".*"));
}
示例14: suite
import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
return NbModuleSuite.
emptyConfiguration().
addTest(JFXApplicationClassChooserTest.class).
clusters("javafx"). //NOI18N
gui(false).
suite();
}
示例15: suite
import org.netbeans.junit.NbModuleSuite; //导入依赖的package包/类
public static Test suite() {
return NbModuleSuite.create(
NbModuleSuite.createConfiguration(SearchHistoryUITest.class).addTest(
"testInvokeSearch"
)
.enableModules(".*")
.clusters(".*")
);
}