├── .gitignore ├── README.textile ├── experimental ├── .gitignore ├── args │ ├── junit.extensions.eclipse.quick.args │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.jdt.core.prefs │ │ │ └── org.eclipse.m2e.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icon │ │ │ └── ovr16 │ │ │ │ └── error.gif │ │ ├── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── junit │ │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ └── args │ │ │ ├── ArgsPlugin.java │ │ │ ├── ExtensionSupport.java │ │ │ └── prefererence │ │ │ └── QuickJUnitInfoPage.java │ └── pom.xml ├── growl │ ├── junit.extensions.eclipse.quick.growl.feature │ │ ├── .project │ │ ├── build.properties │ │ ├── feature.properties │ │ ├── feature.xml │ │ └── pom.xml │ ├── junit.extensions.eclipse.quick.growl │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ ├── org.eclipse.jdt.core.prefs │ │ │ └── org.eclipse.m2e.core.prefs │ │ ├── Growl.jar │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── libgrowl.jnilib │ │ ├── plugin.xml │ │ ├── pom.xml │ │ ├── resource │ │ │ └── icons │ │ │ │ ├── tsuiteerror.gif │ │ │ │ ├── tsuitefail.gif │ │ │ │ └── tsuiteok.gif │ │ └── src │ │ │ └── junit │ │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ └── mac │ │ │ └── growl │ │ │ └── internal │ │ │ ├── GrowlActivator.java │ │ │ ├── Messages.java │ │ │ ├── TemplateKey.java │ │ │ ├── TemplateParser.java │ │ │ ├── TestCounter.java │ │ │ ├── TestListenerForGrowl.java │ │ │ ├── messages.properties │ │ │ ├── messages_ja.properties │ │ │ └── preferences │ │ │ ├── GrowlPreferencePage.java │ │ │ ├── Messages.java │ │ │ ├── Preference.java │ │ │ ├── PreferenceInitializer.java │ │ │ ├── TemplateFieldEditor.java │ │ │ ├── messages.properties │ │ │ └── messages_ja.properties │ └── pom.xml ├── javadoc │ ├── junit.extensions.eclipse.quick.javadoc.feature │ │ ├── .project │ │ ├── build.properties │ │ ├── cpl-v10.html │ │ ├── feature.xml │ │ └── pom.xml │ ├── junit.extensions.eclipse.quick.javadoc.test │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ ├── org.eclipse.jdt.core.prefs │ │ │ └── org.eclipse.m2e.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── pom.xml │ │ └── src │ │ │ ├── LeaningAST.java │ │ │ ├── LearningSignature.java │ │ │ ├── junit │ │ │ └── extensions │ │ │ │ └── eclipse │ │ │ │ └── quick │ │ │ │ └── javadoc │ │ │ │ ├── CreateTestProjectUtil.java │ │ │ │ ├── SearchJavaClassFromDocTagVisitorTest.java │ │ │ │ └── TestContextTagCreaterTest.java │ │ │ └── org │ │ │ └── eclipse │ │ │ └── contribution │ │ │ └── junit │ │ │ └── javadoc │ │ │ └── test │ │ │ └── TestProject.java │ ├── junit.extensions.eclipse.quick.javadoc.ui │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── sample.gif │ │ ├── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── junit │ │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ └── javadoc │ │ │ └── ui │ │ │ ├── JavaDocUIActivator.java │ │ │ ├── exception │ │ │ └── QuickJUnitJavaDocUIExtensionException.java │ │ │ └── handlers │ │ │ ├── AbstractJavaDocHandler.java │ │ │ ├── CreateTestContextTagHandler.java │ │ │ ├── OpenTestingContextHandler.java │ │ │ └── PopupTableSelector.java │ ├── junit.extensions.eclipse.quick.javadoc │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.jdt.core.prefs │ │ │ └── org.eclipse.m2e.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── sample.gif │ │ ├── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── junit │ │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ └── javadoc │ │ │ ├── QuickJUnitDocTagConstants.java │ │ │ ├── SearchJavaClassFromDocTagVisitor.java │ │ │ ├── TestContextTagCreater.java │ │ │ ├── exception │ │ │ └── QuickJUnitJavaDocExtensionException.java │ │ │ └── internal │ │ │ └── JavaDocActivator.java │ └── pom.xml ├── learning │ ├── junit.extensions.eclipse.quick.learning │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── pom.xml │ │ └── src │ │ │ ├── Learning.java │ │ │ └── junit │ │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ └── LeaningAST.java │ └── pom.xml ├── pom.xml └── resources │ ├── junit.extensions.eclipse.quick.resources │ ├── .classpath │ ├── .project │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── plugin.xml │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── resources │ │ └── MoveDeleteHookForTestingPair.java │ └── pom.xml ├── ja └── README.textile ├── library ├── org.mockito │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── mockito-all-1.9.5.jar │ ├── mockito-license.txt │ ├── plugin.properties │ └── pom.xml └── pom.xml ├── pom.xml ├── quick_junit.oneinstall ├── repository ├── .project ├── category.xml ├── pom.xml └── site.xml └── stable ├── mock ├── junit.extensions.eclipse.quick.mock.feature │ ├── .project │ ├── build.properties │ ├── cpl-v10.html │ ├── feature.properties │ ├── feature.xml │ ├── pom.xml │ └── sourceTemplateFeature │ │ ├── build.properties │ │ └── feature.properties ├── junit.extensions.eclipse.quick.mock │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── plugin.xml │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── mock │ │ └── internal │ │ ├── Activator.java │ │ ├── Messages.java │ │ ├── MockitoClasspathContainerInitializer.java │ │ ├── MockitoClasspathFixProcessor.java │ │ ├── MockitoEntry.java │ │ ├── messages.properties │ │ ├── messages_ja.properties │ │ ├── preference │ │ └── PreferenceInitializer.java │ │ └── wizard │ │ ├── Messages.java │ │ ├── MockitoPage.java │ │ ├── messages.properties │ │ └── messages_ja.properties └── pom.xml ├── notifications ├── junit.extensions.eclipse.quick.notifications.feature │ ├── .project │ ├── build.properties │ ├── feature.properties │ ├── feature.xml │ └── pom.xml ├── junit.extensions.eclipse.quick.notifications │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── icons │ │ ├── quickjunit.png │ │ ├── tsuiteerror.gif │ │ ├── tsuitefail.gif │ │ └── tsuiteok.gif │ ├── plugin.xml │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── notifications │ │ ├── Activator.java │ │ ├── ImageDesc.java │ │ └── internal │ │ ├── JUnitNotification.java │ │ ├── JUnitNotificationPopup.java │ │ ├── JUnitNotificationPopupColors.java │ │ ├── JUnitPopupNotificationSink.java │ │ ├── Messages.java │ │ ├── Startup.java │ │ ├── TemplateKey.java │ │ ├── TemplateParser.java │ │ ├── TestCounter.java │ │ ├── TestNotificationListener.java │ │ ├── messages.properties │ │ ├── messages_ja.properties │ │ └── preference │ │ ├── Messages.java │ │ ├── Preference.java │ │ ├── PreferenceInitializer.java │ │ ├── QuickJUnitNotificationPreferencePage.java │ │ ├── TemplateFieldEditor.java │ │ ├── messages.properties │ │ └── messages_ja.properties └── pom.xml ├── original ├── junit.extensions.eclipse.quick.feature │ ├── .cvsignore │ ├── .project │ ├── .settings │ │ └── org.eclipse.m2e.core.prefs │ ├── ChangeLog │ ├── build.properties │ ├── category.xml │ ├── cpl-v10.html │ ├── feature.properties │ ├── feature.xml │ ├── pom.xml │ └── sourceTemplateFeature │ │ ├── build.properties │ │ └── feature.properties ├── junit.extensions.eclipse.quick.pde.feature │ ├── .project │ ├── build.properties │ ├── cpl-v10.html │ ├── feature.properties │ ├── feature.xml │ ├── pom.xml │ └── sourceTemplateFeature │ │ ├── build.properties │ │ └── feature.properties ├── junit.extensions.eclipse.quick.pde │ ├── .classpath │ ├── .cvsignore │ ├── .gitignore │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.core.runtime.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.jdt.ui.prefs │ ├── ChangeLog │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Makefile │ ├── build.properties │ ├── plugin.properties │ ├── plugin.xml │ ├── plugin_ja.properties │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── pde │ │ ├── ExtensionSupport.java │ │ ├── PDEJUnitDebugAction.java │ │ └── PDEJUnitRunAction.java ├── junit.extensions.eclipse.quick.test │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── launch │ │ └── junit.extensions.eclipse.quick.test.all.launch │ ├── pom.xml │ └── src │ │ ├── junit │ │ └── extensions │ │ │ └── eclipse │ │ │ └── quick │ │ │ ├── IMethodMockBuilder.java │ │ │ ├── IMethodMockBuilderTest.java │ │ │ ├── ITypeMockBuilder.java │ │ │ ├── ITypeMockBuilderTest.java │ │ │ ├── JavaElementsTest.java │ │ │ ├── JavaTypesTest.java │ │ │ └── test │ │ │ └── TestActivator.java │ │ └── org │ │ └── eclipse │ │ └── contribution │ │ └── junit │ │ └── test │ │ ├── TestProject.java │ │ └── TestProjectTest.java ├── junit.extensions.eclipse.quick │ ├── .classpath │ ├── .cvsignore │ ├── .gitignore │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.runtime.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ ├── org.eclipse.jdt.ui.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── ChangeLog │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Makefile │ ├── README.textile │ ├── README_ja.textile │ ├── TODO │ ├── about.ini │ ├── build.properties │ ├── icons │ │ └── quickjunit.png │ ├── launch │ │ └── Quick JUnit Runtime Environment.launch │ ├── plugin.properties │ ├── plugin.xml │ ├── plugin_ja.properties │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ ├── JavaElements.java │ │ ├── JavaTypes.java │ │ ├── NamingRule.java │ │ ├── NamingRules.java │ │ ├── TestingPair.java │ │ └── internal │ │ ├── ExtensionSupport.java │ │ ├── HelpSupport.java │ │ ├── Messages.java │ │ ├── PopupTableSelector.java │ │ ├── QuickJUnitException.java │ │ ├── QuickJUnitPlugin.java │ │ ├── action │ │ ├── JUnitDebugAction.java │ │ ├── JUnitLaunchAction.java │ │ ├── JUnitRunAction.java │ │ ├── OpenTestingPairAction.java │ │ └── QuickJUnitAction.java │ │ ├── launch │ │ └── QuickJUnitLaunchShortcut.java │ │ ├── messages.properties │ │ ├── messages_ja.properties │ │ └── preference │ │ ├── NamingRulesPreference.java │ │ ├── PreferenceInitializer.java │ │ └── QuickJUnitPreferencePage.java └── pom.xml ├── pom.xml ├── process ├── junit.extensions.eclipse.quick.process.feature │ ├── .project │ ├── build.properties │ ├── feature.properties │ ├── feature.xml │ └── pom.xml ├── junit.extensions.eclipse.quick.process.test │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── launch │ │ └── junit.extensions.eclipse.quick.process.test.all.launch │ ├── pom.xml │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── process │ │ └── internal │ │ └── ProcessParserTest.java ├── junit.extensions.eclipse.quick.process │ ├── .classpath │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── plugin.xml │ ├── pom.xml │ ├── resource │ │ └── icons │ │ │ ├── tsuiteerror.gif │ │ │ ├── tsuitefail.gif │ │ │ └── tsuiteok.gif │ └── src │ │ └── junit │ │ └── extensions │ │ └── eclipse │ │ └── quick │ │ └── process │ │ └── internal │ │ ├── Messages.java │ │ ├── ProcessActivator.java │ │ ├── ProcessKey.java │ │ ├── ProcessParser.java │ │ ├── TemplateKey.java │ │ ├── TemplateParser.java │ │ ├── TestCounter.java │ │ ├── TestListenerForProcess.java │ │ ├── messages.properties │ │ ├── messages_ja.properties │ │ └── preferences │ │ ├── Messages.java │ │ ├── Preference.java │ │ ├── PreferenceInitializer.java │ │ ├── ProcessPreferencePage.java │ │ ├── TemplateFieldEditor.java │ │ ├── messages.properties │ │ └── messages_ja.properties └── pom.xml └── template ├── junit.extensions.eclipse.quick.template.feature ├── .project ├── build.properties ├── feature.properties ├── feature.xml └── pom.xml ├── junit.extensions.eclipse.quick.template ├── .project ├── META-INF │ └── MANIFEST.MF ├── build.properties ├── plugin.xml └── pom.xml └── pom.xml /.gitignore: -------------------------------------------------------------------------------- 1 | *bin/ 2 | .metadata/ 3 | *~ 4 | External Plug-in Libraries/ 5 | -------------------------------------------------------------------------------- /experimental/.gitignore: -------------------------------------------------------------------------------- 1 | !learning 2 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.args 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun Sep 19 19:47:06 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Configure Arguments Plugin 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.args;singleton:=true 5 | Bundle-Version: 0.1.0.qualifier 6 | Bundle-Activator: junit.extensions.eclipse.quick.args.ArgsPlugin 7 | Require-Bundle: org.eclipse.core.runtime, 8 | org.eclipse.core.commands, 9 | org.eclipse.ui, 10 | org.eclipse.core.resources, 11 | org.eclipse.debug.ui 12 | Bundle-ActivationPolicy: lazy 13 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 14 | Import-Package: org.eclipse.debug.core, 15 | org.eclipse.debug.ui, 16 | org.eclipse.jdt.core, 17 | org.eclipse.jdt.debug.ui.launchConfigurations, 18 | org.eclipse.jdt.launching 19 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml 6 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/icon/ovr16/error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/args/junit.extensions.eclipse.quick.args/icon/ovr16/error.gif -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/args/junit.extensions.eclipse.quick.args/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.args 12 | eclipse-plugin 13 | 0.1.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/args/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | args 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.args 10 | 11 | 12 | 13 | junit.extensions.eclipse.quick 14 | parent 15 | 0.8.0-SNAPSHOT 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.growl.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | feature.properties 3 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | This feature provides to notify JUnit test results to growl. So this feature supports only Mac OSX platform. 13 | 14 | 15 | 16 | Copyright (C) 2003-2010 Masaru Ishii,The Quick JUnit Plugin Project. 17 | All Rights Reserved. 18 | 19 | 20 | 21 | %license 22 | 23 | 24 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.growl.feature 12 | eclipse-feature 13 | 0.1.2.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.gitignore: -------------------------------------------------------------------------------- 1 | growl_extension.jar 2 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.growl 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Mon May 24 22:28:42 JST 2010 2 | eclipse.preferences.version=1 3 | encoding//src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/messages.properties=ISO-8859-1 4 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun May 23 22:10:26 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/Growl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/growl/junit.extensions.eclipse.quick.growl/Growl.jar -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: JUnit Growl Integration 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.growl;singleton:=true 5 | Bundle-Version: 0.2.2.qualifier 6 | Bundle-Vendor: Quick JUnit Project 7 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 8 | Bundle-ClassPath: Growl.jar, 9 | growl_extension.jar 10 | Bundle-Activator: junit.extensions.eclipse.quick.mac.growl.internal.GrowlActivator 11 | Bundle-ActivationPolicy: lazy 12 | Bundle-NativeCode: libgrowl.jnilib;osname=macosx;processor=x86 13 | Eclipse-PlatformFilter: (& (osgi.os=macosx) (osgi.ws=cocoa) (|(osgi.arch=x86)(osgi.arch=x86_86))) 14 | Require-Bundle: org.eclipse.jdt.junit, 15 | org.eclipse.core.runtime, 16 | org.eclipse.ui 17 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | plugin.xml,\ 3 | growl_extension.jar,\ 4 | Growl.jar,\ 5 | libgrowl.jnilib 6 | additional.bundles = org.eclipse.osgi,\ 7 | org.junit4,\ 8 | org.eclipse.jdt.junit,\ 9 | org.eclipse.jface,\ 10 | org.eclipse.core.runtime,\ 11 | org.eclipse.ui 12 | jars.compile.order = . 13 | source.growl_extension.jar = src/,\ 14 | resource/ 15 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/libgrowl.jnilib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/growl/junit.extensions.eclipse.quick.growl/libgrowl.jnilib -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 12 | 17 | 18 | 19 | 21 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.growl 12 | eclipse-plugin 13 | 0.2.2.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuiteerror.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuiteerror.gif -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuitefail.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuitefail.gif -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuiteok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/growl/junit.extensions.eclipse.quick.growl/resource/icons/tsuiteok.gif -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/GrowlActivator.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal; 2 | 3 | import org.eclipse.ui.plugin.AbstractUIPlugin; 4 | 5 | public class GrowlActivator extends AbstractUIPlugin { 6 | 7 | private static GrowlActivator plugin; 8 | 9 | public GrowlActivator(){ 10 | GrowlActivator.plugin = this; 11 | } 12 | 13 | public static GrowlActivator getDefault(){ 14 | return GrowlActivator.plugin; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.mac.growl.internal.messages"; //$NON-NLS-1$ 7 | public static String TemplateKey_ERROR_COUNT_DESCRIPTION; 8 | public static String TemplateKey_FAILURE_COUNT_DESCRIPTION; 9 | public static String TemplateKey_IGNORE_COUNT_DESCRIPTION; 10 | public static String TemplateKey_NAME_DESCRIPTION; 11 | public static String TemplateKey_OK_COUNT_DESCRIPTION; 12 | public static String TemplateKey_RESULT_DESCRIPTION; 13 | public static String TemplateKey_TOTAL_COUNT_DESCRIPTION; 14 | public static String TestRunListener_ERROR_MESSAGE; 15 | public static String TestRunListener_TWEET_JOB_MESSAGE; 16 | static { 17 | // initialize resource bundle 18 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 19 | } 20 | 21 | private Messages() { 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/TemplateKey.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal; 2 | 3 | public enum TemplateKey { 4 | RESULT_COUNT("results", Messages.TemplateKey_RESULT_DESCRIPTION), //$NON-NLS-1$ 5 | NAME_COUNT ("name", Messages.TemplateKey_NAME_DESCRIPTION), //$NON-NLS-1$ 6 | ERROR_COUNT ("error_counts", Messages.TemplateKey_ERROR_COUNT_DESCRIPTION), //$NON-NLS-1$ 7 | // Result.IGNORED is not available on 3.5 platform 8 | // IGNORE_COUNT("ignore_count",Messages.TemplateKey_IGNORE_COUNT_DESCRIPTION), //$NON-NLS-1$ 9 | FAIL_COUNT ("fail_counts", Messages.TemplateKey_FAILURE_COUNT_DESCRIPTION), //$NON-NLS-1$ 10 | OK_COUNT ("ok_counts", Messages.TemplateKey_OK_COUNT_DESCRIPTION), //$NON-NLS-1$ 11 | TOTAL_COUNT ("total_counts", Messages.TemplateKey_TOTAL_COUNT_DESCRIPTION); //$NON-NLS-1$ 12 | 13 | private String key; 14 | private String description; 15 | 16 | TemplateKey(String key,String description){ 17 | this.key = key; 18 | this.description = description; 19 | } 20 | 21 | public String regexKey(){ 22 | return String.format("\\$\\{%s\\}",key);//$NON-NLS-1$ 23 | } 24 | 25 | public String key(){ 26 | return String.format("${%s}",key);//$NON-NLS-1$ 27 | } 28 | 29 | public String descrpition(){ 30 | return description; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/TestCounter.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal; 2 | 3 | import org.eclipse.jdt.junit.model.ITestElement; 4 | import org.eclipse.jdt.junit.model.ITestElementContainer; 5 | import org.eclipse.jdt.junit.model.ITestRunSession; 6 | import org.eclipse.jdt.junit.model.ITestElement.Result; 7 | 8 | public class TestCounter { 9 | 10 | private int totalTests; 11 | private int okTests; 12 | private int failureTests; 13 | private int ignoreTests; 14 | private int errorTests; 15 | 16 | public TestCounter() { 17 | } 18 | 19 | public void count(ITestRunSession session){ 20 | reset(); 21 | count((ITestElementContainer)session); 22 | } 23 | 24 | private void reset() { 25 | totalTests = 0; 26 | okTests = 0; 27 | failureTests = 0; 28 | ignoreTests = 0; 29 | errorTests = 0; 30 | } 31 | 32 | private void count(ITestElementContainer container) { 33 | ITestElement[] children = container.getChildren(); 34 | if(children == null) return; 35 | for(ITestElement element : children){ 36 | if (element instanceof ITestElementContainer) { 37 | ITestElementContainer cont = (ITestElementContainer) element; 38 | count(cont); 39 | continue; 40 | } 41 | totalTests++; 42 | Result result = element.getTestResult(false); 43 | if(result == null) continue; 44 | if(result.equals(Result.IGNORED)) ignoreTests++; 45 | if(result.equals(Result.OK)) okTests++; 46 | if(result.equals(Result.FAILURE)) failureTests++; 47 | if(result.equals(Result.ERROR)) errorTests++; 48 | } 49 | } 50 | 51 | public int getTotalTests(){ 52 | return totalTests; 53 | } 54 | 55 | public int getOKTests(){ 56 | return okTests; 57 | } 58 | 59 | public int getFailureTests() { 60 | return failureTests; 61 | } 62 | 63 | public int getIgnoreTests() { 64 | return ignoreTests; 65 | } 66 | 67 | public int getErrorTests() { 68 | return errorTests; 69 | } 70 | 71 | } 72 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/messages.properties: -------------------------------------------------------------------------------- 1 | TemplateKey_ERROR_COUNT_DESCRIPTION=show launched error tests count 2 | TemplateKey_FAILURE_COUNT_DESCRIPTION=show launched failure tests count 3 | TemplateKey_IGNORE_COUNT_DESCRIPTION=show launched ignore tests count 4 | TemplateKey_NAME_DESCRIPTION=show launched test name 5 | TemplateKey_OK_COUNT_DESCRIPTION=show launched ok tests count 6 | TemplateKey_RESULT_DESCRIPTION=show launched All test results 7 | TemplateKey_TOTAL_COUNT_DESCRIPTION=show launched total tests count 8 | TestRunListener_ERROR_MESSAGE=Error has occured. 9 | TestRunListener_TWEET_JOB_MESSAGE=Now tweeting results 10 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/messages_ja.properties: -------------------------------------------------------------------------------- 1 | TemplateKey_ERROR_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u30a8\u30e9\u30fc(Error)\u6570 2 | TemplateKey_FAILURE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u5931\u6557(Failure)\u6570 3 | TemplateKey_IGNORE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u7121\u52b9(Ignore)\u6570 4 | TemplateKey_NAME_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u540d 5 | TemplateKey_OK_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u6210\u529f(OK)\u6570 6 | TemplateKey_RESULT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c 7 | TemplateKey_TOTAL_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u6570 8 | TestRunListener_ERROR_MESSAGE=\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u307e\u3057\u305f\u3002 9 | TestRunListener_TWEET_JOB_MESSAGE=\u305f\u3060\u3044\u307e\u7d50\u679c\u3092\u3064\u3076\u3084\u3044\u3066\u3044\u307e\u3059\u3002 10 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal.preferences; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.mac.growl.internal.preferences.messages"; //$NON-NLS-1$ 7 | public static String GrowlPreferencePage_description; 8 | public static String GrowlPreferencePage_template_group; 9 | static { 10 | // initialize resource bundle 11 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 12 | } 13 | 14 | private Messages() { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/Preference.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal.preferences; 2 | 3 | import junit.extensions.eclipse.quick.mac.growl.internal.GrowlActivator; 4 | 5 | import org.eclipse.jface.preference.IPreferenceStore; 6 | 7 | 8 | /** 9 | * Constants for plug-in preferences 10 | */ 11 | public enum Preference { 12 | 13 | TEMPLATE; 14 | 15 | public String getValue() { 16 | IPreferenceStore store = GrowlActivator.getDefault().getPreferenceStore(); 17 | return store.getString(name()); 18 | } 19 | 20 | public void setValue(String value){ 21 | IPreferenceStore store = GrowlActivator.getDefault().getPreferenceStore(); 22 | store.setValue(name(), value); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/PreferenceInitializer.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mac.growl.internal.preferences; 2 | 3 | import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 4 | 5 | import org.eclipse.jface.preference.IPreferenceStore; 6 | 7 | import junit.extensions.eclipse.quick.mac.growl.internal.GrowlActivator; 8 | 9 | import static junit.extensions.eclipse.quick.mac.growl.internal.preferences.Preference.*; 10 | 11 | /** 12 | * Class used to initialize default preference values. 13 | */ 14 | public class PreferenceInitializer extends AbstractPreferenceInitializer { 15 | 16 | public void initializeDefaultPreferences() { 17 | IPreferenceStore store = GrowlActivator.getDefault().getPreferenceStore(); 18 | store.setDefault(TEMPLATE.name(), "${name} passed:${ok_counts} failure:${fail_counts} Total:${total_counts}"); //$NON-NLS-1$ 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/messages.properties: -------------------------------------------------------------------------------- 1 | GrowlPreferencePage_description=Template customize for Growl notification 2 | GrowlPreferencePage_template_group=Template 3 | -------------------------------------------------------------------------------- /experimental/growl/junit.extensions.eclipse.quick.growl/src/junit/extensions/eclipse/quick/mac/growl/internal/preferences/messages_ja.properties: -------------------------------------------------------------------------------- 1 | GrowlPreferencePage_description=Growl\u306b\u901a\u77e5\u3059\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 2 | GrowlPreferencePage_template_group=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 3 | -------------------------------------------------------------------------------- /experimental/growl/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | growl 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.growl 10 | junit.extensions.eclipse.quick.growl.feature 11 | 12 | 13 | 14 | junit.extensions.eclipse.quick 15 | parent 16 | 0.8.0-SNAPSHOT 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.javadoc.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html 3 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.javadoc.feature 12 | eclipse-feature 13 | 0.1.0 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.javadoc.test 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/junit/extensions/eclipse/quick/javadoc/SearchJavaClassFromDocTagVisitorTest.java=UTF-8 3 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Mar 21 15:37:59 GMT+09:00 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Javadoc Test Fragment 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.javadoc.test 5 | Bundle-Version: 0.5.0.qualifier 6 | Fragment-Host: junit.extensions.eclipse.quick.javadoc 7 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 8 | Require-Bundle: org.junit4, 9 | org.eclipse.text, 10 | org.eclipse.core.resources, 11 | org.eclipse.jdt.launching 12 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | jre.compilation.profile = J2SE-1.5 6 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.javadoc.test 12 | eclipse-test-plugin 13 | 0.5.0.qualifier 14 | 15 | 16 | src 17 | 18 | 19 | org.eclipse.tycho 20 | tycho-surefire-plugin 21 | ${tycho-version} 22 | 23 | false 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/src/LearningSignature.java: -------------------------------------------------------------------------------- 1 | import org.eclipse.jdt.core.Signature; 2 | import org.junit.Test; 3 | 4 | 5 | public class LearningSignature { 6 | @Test 7 | public void learningSigunature() throws Exception { 8 | String sig =Signature.createTypeSignature("void", true); 9 | System.out.println(sig); 10 | sig = Signature.createTypeSignature("String", true); 11 | System.out.println(sig); 12 | sig = Signature.createMethodSignature(new String[]{}, "void"); 13 | System.out.println(sig); 14 | System.out.println(Signature.getParameterTypes(sig)); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.test/src/junit/extensions/eclipse/quick/javadoc/CreateTestProjectUtil.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.javadoc; 2 | 3 | import java.io.IOException; 4 | import java.net.MalformedURLException; 5 | 6 | import org.eclipse.contribution.junit.javadoc.test.TestProject; 7 | import org.eclipse.core.runtime.CoreException; 8 | import org.eclipse.jdt.core.IPackageFragment; 9 | import org.eclipse.jdt.core.IType; 10 | 11 | public final class CreateTestProjectUtil { 12 | 13 | public static TestProject createTestProject() throws CoreException, MalformedURLException, IOException{ 14 | final TestProject project = new TestProject(); 15 | project.addJar("org.junit", "junit.jar"); 16 | return project; 17 | } 18 | 19 | public static IPackageFragment createPackageFragment(final TestProject project, final String packageName) throws CoreException{ 20 | IPackageFragment created = project.createPackage(packageName); 21 | return created; 22 | } 23 | 24 | public static IType createType( 25 | final TestProject project, 26 | final String packageName, 27 | final String typeName, 28 | final String source) throws CoreException{ 29 | return project.createType(project.getPackage(packageName), typeName + ".java",source); 30 | } 31 | 32 | private CreateTestProjectUtil(){ 33 | 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.javadoc.ui 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Tue Mar 24 21:13:51 GMT+09:00 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit JavaDoc UI Plug-in 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.javadoc.ui; singleton:=true 5 | Bundle-Version: 0.5.0.qualifier 6 | Bundle-Activator: junit.extensions.eclipse.quick.javadoc.ui.JavaDocUIActivator 7 | Require-Bundle: org.eclipse.ui, 8 | org.eclipse.core.runtime, 9 | org.eclipse.jdt.ui, 10 | junit.extensions.eclipse.quick.javadoc, 11 | org.eclipse.ui.editors, 12 | org.eclipse.jface.text 13 | Bundle-ActivationPolicy: lazy 14 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 15 | Bundle-Vendor: The Quick JUnit Plugin Project 16 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = plugin.xml,\ 4 | META-INF/,\ 5 | .,\ 6 | icons/ 7 | jre.compilation.profile = J2SE-1.5 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/icons/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/icons/sample.gif -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.javadoc.ui 12 | eclipse-plugin 13 | 0.5.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/src/junit/extensions/eclipse/quick/javadoc/ui/exception/QuickJUnitJavaDocUIExtensionException.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.javadoc.ui.exception; 2 | 3 | public class QuickJUnitJavaDocUIExtensionException extends RuntimeException { 4 | 5 | public QuickJUnitJavaDocUIExtensionException(String message) { 6 | super(message); 7 | } 8 | 9 | private static final long serialVersionUID = -8971881504636818439L; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc.ui/src/junit/extensions/eclipse/quick/javadoc/ui/handlers/CreateTestContextTagHandler.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.javadoc.ui.handlers; 2 | 3 | import junit.extensions.eclipse.quick.javadoc.TestContextTagCreater; 4 | import junit.extensions.eclipse.quick.javadoc.ui.JavaDocUIActivator; 5 | 6 | import org.eclipse.core.commands.ExecutionEvent; 7 | import org.eclipse.core.commands.ExecutionException; 8 | import org.eclipse.jdt.core.*; 9 | 10 | /** 11 | * @TestContext junit.extensions.eclipse.quick.javadoc.TestContextTagCreator 12 | */ 13 | public class CreateTestContextTagHandler extends AbstractJavaDocHandler { 14 | 15 | public CreateTestContextTagHandler() { 16 | } 17 | 18 | public Object doExecute(ExecutionEvent event) throws ExecutionException { 19 | try { 20 | ICompilationUnit compilationUnit = getCompilationUnitOfJavaEditor(); 21 | TestContextTagCreater creater = new TestContextTagCreater(); 22 | IJavaElement element = getElementOfCurrentCursor(); 23 | String clazz = ""; 24 | if(element instanceof IType){ 25 | IType type = (IType)element; 26 | clazz = type.getFullyQualifiedName(); 27 | }else if(element instanceof IMember){ 28 | IMember member = (IMember) element; 29 | IType type = member.getDeclaringType(); 30 | clazz = type.getFullyQualifiedName(); 31 | }else if(element != null){ 32 | clazz = element.getPrimaryElement().getElementName(); 33 | } 34 | creater.addTag(compilationUnit.findPrimaryType(), clazz); 35 | } catch (Exception e) { 36 | JavaDocUIActivator.getDefault().handleSystemError(e, this); 37 | } 38 | return null; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.javadoc 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.5 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit JavaDoc Extension Plug-in 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.javadoc; singleton:=true 5 | Bundle-Version: 0.5.0.qualifier 6 | Bundle-Activator: junit.extensions.eclipse.quick.javadoc.internal.JavaDocActivator 7 | Require-Bundle: org.eclipse.core.runtime, 8 | org.eclipse.jdt.core;visibility:=reexport, 9 | org.eclipse.core.resources, 10 | org.eclipse.text 11 | Bundle-ActivationPolicy: lazy 12 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 13 | Bundle-Vendor: The Quick JUnit Plugin Project 14 | Export-Package: junit.extensions.eclipse.quick.javadoc 15 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = plugin.xml,\ 4 | META-INF/,\ 5 | .,\ 6 | icons/ 7 | jre.compilation.profile = J2SE-1.5 8 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/icons/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/experimental/javadoc/junit.extensions.eclipse.quick.javadoc/icons/sample.gif -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.javadoc 12 | eclipse-plugin 13 | 0.5.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/src/junit/extensions/eclipse/quick/javadoc/QuickJUnitDocTagConstants.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.javadoc; 2 | 3 | public enum QuickJUnitDocTagConstants { 4 | TestContext; 5 | 6 | public String toAnnotation(){ 7 | return "@" + name(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /experimental/javadoc/junit.extensions.eclipse.quick.javadoc/src/junit/extensions/eclipse/quick/javadoc/exception/QuickJUnitJavaDocExtensionException.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.javadoc.exception; 2 | 3 | public class QuickJUnitJavaDocExtensionException extends RuntimeException { 4 | 5 | public QuickJUnitJavaDocExtensionException(String message) { 6 | super(message); 7 | } 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /experimental/javadoc/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | javadoc 6 | 0.5.0-SNAPSHOT 7 | pom 8 | 9 | ../../stable/original/junit.extensions.eclipse.quick 10 | ../../stable/original/junit.extensions.eclipse.quick.feature 11 | junit.extensions.eclipse.quick.javadoc 12 | junit.extensions.eclipse.quick.javadoc.ui 13 | junit.extensions.eclipse.quick.javadoc.feature 14 | 17 | 18 | 19 | 20 | junit.extensions.eclipse.quick 21 | experimental 22 | 0.8.0-SNAPSHOT 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.learning 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Nov 01 23:22:20 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Learning project 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.learning 5 | Bundle-Version: 0.1.0.qualifier 6 | Bundle-Vendor: Quick Junit Project 7 | Fragment-Host: junit.extensions.eclipse.quick 8 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 9 | Require-Bundle: org.junit, 10 | org.junit4 11 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.learning 12 | eclipse-plugin 13 | 0.1.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/learning/junit.extensions.eclipse.quick.learning/src/Learning.java: -------------------------------------------------------------------------------- 1 | import org.junit.Test; 2 | 3 | 4 | public class Learning { 5 | @Test 6 | public void testname() throws Exception { 7 | ProcessBuilder builder = new ProcessBuilder("/usr/local/bin/growlnotify","-n","Quick JUnit","Quick JUnit"); 8 | builder.start(); 9 | } 10 | 11 | @Test 12 | public void string() throws Exception { 13 | String com = "growlnotify -n \"Quick JUnit\" "; 14 | String[] split = com.split(" "); 15 | for (String string : split) { 16 | System.out.println(string); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /experimental/learning/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | learning 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.learning 10 | 11 | 12 | 13 | junit.extensions.eclipse.quick 14 | parent 15 | 0.8.0-SNAPSHOT 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /experimental/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | experimental 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | javadoc 10 | args 11 | 12 | 13 | 14 | junit.extensions.eclipse.quick 15 | parent 16 | 0.8.0-SNAPSHOT 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.resources 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Jun 25 22:13:33 JST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Resources Plugin 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.resources;singleton:=true 5 | Bundle-Version: 0.1.0.qualifier 6 | Bundle-Vendor: Quick JUnit Plugin Project 7 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 8 | Require-Bundle: org.eclipse.core.resources, 9 | org.eclipse.core.runtime 10 | Import-Package: junit.extensions.eclipse.quick, 11 | org.eclipse.jdt.core 12 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml 6 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /experimental/resources/junit.extensions.eclipse.quick.resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.resources 12 | eclipse-plugin 13 | 0.1.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /experimental/resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | resources 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.resources 10 | 11 | 12 | 13 | junit.extensions.eclipse.quick 14 | parent 15 | 0.8.0-SNAPSHOT 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ja/README.textile: -------------------------------------------------------------------------------- 1 | h1. Quick JUnit クイックマニュアル 2 | 3 | 2010-01-01 written by Hiroki Kondo (@kompiro) 4 | 5 | このドキュメントでは、Quick JUnitの提供する機能やショートカットをまとめています。 6 | 7 | h2. プロジェクトの目的 8 | 9 | * TDDの実践をより簡単にする 10 | 11 | h2. Quick JUnitのフィーチャー(機能) 12 | 13 | 各フィーチャーごとに提供する機能をまとめています。 14 | 15 | h4. 凡例 16 | 17 | * ショートカットキーは[]で表します。例:Ctrlキー+9を押すと実行→[Ctrl+9] 18 | 19 | h3. junit.extensions.eclipse.quick.feature 20 | 21 | このフィーチャーではQuick JUnitのベースとなる機能を提供します。 22 | 23 | * [Ctrl+9]プロダクトコードとテストコードを簡単に切り替えます。プロダクトコードとテストコードの紐付けはデフォルトでは「プロダクトクラス+Test」という命名規約により、紐づきます。(カスタマイズ可)プロダクトコードとテストコードの切替時にはカーソル位置が保存されるので、より容易にTDDの実践できるでしょう。 24 | ** もし対応するプロダクトコード、もしくはテストコードが存在しない場合は、新規に作成するダイアログが表示されます。 25 | * [Ctrl+0]テストを実行します。Eclipse標準でも実行できますが、1回ショートカットを押すだけになります。 26 | ** もし、テストメソッドの内側でこのショートカットを実行すると、そのメソッドのみで実行出来ます。テストメソッドを一つずつ積み上げていく場合に便利でしょう。 27 | * [Ctrl+Shift+0]テストをデバッグ実行します。 28 | ** もし、テストメソッドの内側でこのショートカットを実行すると、そのメソッドのみでデバッグ実行出来ます。 29 | 30 | * 設定 31 | ** JUnit実行時のデフォルトの設定値を設定するプロジェクトのプロパティを用意(実験的) 32 | ** JUnit実行時のデフォルトの設定値を設定するプロジェクトのプロパティを用意 33 | 34 | h3. junit.extensions.eclipse.quick.pde.feature 35 | 36 | このフィーチャーではPDE(プラグイン開発環境)で有用な機能を提供します。 37 | 38 | * [Ctrl+-]PDEテストの実行します。 39 | * [Ctrl+Shift+-]PDEテストをデバッグ実行します。 40 | 41 | h2. 実験的なフィーチャー 42 | 43 | h3. junit.extensions.eclipse.quick.javadoc.feature (TestContextのサポート) 44 | 45 | TextContextとはテストコードとプロダクトコードを緩くつなぐフィーチャーです。プロジェクトが多くなるにつれてFunctional Testが増えたりしますが、TestContextはこれらのクラスをつなぎます。TestContextはJavaDocに明記されます。 46 | 47 | * [Ctrl+8] TestContextとして明記したクラスやメソッドにジャンプします。 48 | * [Ctrl+Shift+8] カーソル下のクラスやメソッドをTestContextとして追加します。 49 | 50 | h3. junit.extensions.eclipse.quick.mock.feature (Mockito Integration) 51 | 52 | モックを使ったテストをサポートするフィーチャーです。モックライブラリの一つであるMockitoを使ったテストを書きやすくするためのフィーチャーです。 53 | 54 | * Mockitoを使ったテストを使い始めやすくするため、JUnitのようにEclipseのクラスパスライブラリに指定できるようにしました。 55 | * 「Q」と名づけられたテンプレートを追加しました。Qと入力後コンテンツアシストを行うと、テンプレートが入力され、hamcrestやmockitoをstatic importした状態でテストコードを書き始める事が出来ます。 56 | 57 | h2. インストール方法 58 | 59 | betaバージョンはEclipse 3.5以降のバージョンでのみテストをしています。もしこのプラグインを使ってみたい場合は下記を更新サイトとして指定してみてください。 60 | 61 | * "http://quick-junit.sourceforge.jp/updates/beta/":http://quick-junit.sourceforge.jp/updates/beta/ 62 | 63 | h2. 更新履歴 64 | 65 | "ChangeLogをお読みください。":junit.extensions.eclipse.quick/ChangeLog. 66 | 67 | h3. Copyright © 2003-2010 Masaru Ishii,The Quick JUnit Plugin Project. 68 | 69 | This plugin dadecated to the memory of Masaru Ishii. -------------------------------------------------------------------------------- /library/org.mockito/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /library/org.mockito/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.mockito 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /library/org.mockito/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Nov 06 19:07:35 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /library/org.mockito/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /library/org.mockito/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Mockito 4 | Bundle-SymbolicName: org.mockito 5 | Bundle-Version: 1.9.5 6 | Export-Package: org.mockito, 7 | org.mockito.asm, 8 | org.mockito.asm.signature, 9 | org.mockito.asm.tree, 10 | org.mockito.asm.tree.analysis, 11 | org.mockito.asm.util, 12 | org.mockito.cglib.beans, 13 | org.mockito.cglib.core, 14 | org.mockito.cglib.proxy, 15 | org.mockito.cglib.reflect, 16 | org.mockito.cglib.transform, 17 | org.mockito.cglib.transform.impl, 18 | org.mockito.cglib.util, 19 | org.mockito.configuration, 20 | org.mockito.exceptions, 21 | org.mockito.exceptions.base, 22 | org.mockito.exceptions.misusing, 23 | org.mockito.exceptions.stacktrace, 24 | org.mockito.exceptions.verification, 25 | org.mockito.exceptions.verification.junit, 26 | org.mockito.invocation, 27 | org.mockito.listeners, 28 | org.mockito.mock, 29 | org.mockito.plugins, 30 | org.mockito.runners, 31 | org.mockito.stubbing, 32 | org.mockito.stubbing.answers, 33 | org.mockito.verification 34 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 35 | Bundle-ClassPath: mockito-all-1.9.5.jar 36 | -------------------------------------------------------------------------------- /library/org.mockito/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | mockito-all-1.9.5.jar,\ 3 | mockito-license.txt,\ 4 | plugin.properties 5 | -------------------------------------------------------------------------------- /library/org.mockito/mockito-all-1.9.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/library/org.mockito/mockito-all-1.9.5.jar -------------------------------------------------------------------------------- /library/org.mockito/mockito-license.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2007 Mockito contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /library/org.mockito/plugin.properties: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2010 ThoughtWorks, Inc. and others. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | # Contributors: 9 | # Ketan Padegaonkar - initial API and implementation 10 | ################################################################################ 11 | pluginName=Java Mocking and Stubbing Framework 12 | providerName=Eclipse.org -------------------------------------------------------------------------------- /library/org.mockito/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | 0.8.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | eclipse-plugin 13 | 1.9.5 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | org.mockito 40 | 41 | -------------------------------------------------------------------------------- /library/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | library 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | org.mockito 10 | 11 | 12 | 13 | junit.extensions.eclipse.quick 14 | parent 15 | 0.8.0-SNAPSHOT 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /quick_junit.oneinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/quick_junit.oneinstall -------------------------------------------------------------------------------- /repository/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.repository 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /repository/category.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /repository/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | 7 | junit.extensions.eclipse.quick 8 | parent 9 | 0.8.0-SNAPSHOT 10 | 11 | 12 | repository 13 | 0.8.0-SNAPSHOT 14 | eclipse-repository 15 | 16 | -------------------------------------------------------------------------------- /repository/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | update site for Quick JUnit Plugin Beta. 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | This plugin makes easy to launch JUnit and switch editors between 21 | test code and production code. 22 | This plugin dadecated to the memory of Masaru Ishii. 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.mock.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | feature.properties 4 | src.includes = cpl-v10.html,\ 5 | feature.xml,\ 6 | build.properties 7 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit Mockito Integration Plugin 2 | providerName=Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | mock 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.mock.feature 12 | eclipse-feature 13 | 0.3.0.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/sourceTemplateFeature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | build.properties,\ 4 | feature.properties 5 | jre.compilation.profile = J2SE-1.4 6 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock.feature/sourceTemplateFeature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit Mockito Integration Source Plugin 2 | providerName=The Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.mock 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jan 01 02:27:15 JST 2010 2 | eclipse.preferences.version=1 3 | encoding//src/junit/extensions/eclipse/quick/mock/internal/messages_ja.properties=UTF-8 4 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jan 01 02:05:36 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Mockito integration 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.mock;singleton:=true 5 | Bundle-Version: 0.3.2.qualifier 6 | Bundle-Vendor: The Quick JUnit Plugin Project 7 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 8 | Require-Bundle: org.eclipse.ui.editors, 9 | org.eclipse.jdt.core, 10 | org.eclipse.core.runtime, 11 | org.eclipse.jdt.ui, 12 | org.eclipse.jface, 13 | org.eclipse.ui, 14 | org.eclipse.ltk.core.refactoring 15 | Bundle-ClassPath: . 16 | Bundle-Activator: junit.extensions.eclipse.quick.mock.internal.Activator 17 | Bundle-ActivationPolicy: lazy 18 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | plugin.xml 4 | source.. = src/ 5 | additional.bundles = org.eclipse.ltk.core.refactoring,\ 6 | org.eclipse.ui,\ 7 | org.eclipse.ui.editors,\ 8 | org.eclipse.jdt.core,\ 9 | org.eclipse.core.runtime,\ 10 | org.eclipse.jface,\ 11 | org.eclipse.jdt.ui 12 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | 11 | 13 | 17 | 18 | 19 | 21 | 25 | 27 | 28 | 29 | 30 | 32 | 34 | 35 | 36 | 38 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | mock 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.mock 12 | eclipse-plugin 13 | 0.3.2.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/Activator.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mock.internal; 2 | 3 | import org.eclipse.ui.plugin.AbstractUIPlugin; 4 | import org.osgi.framework.BundleContext; 5 | 6 | public class Activator extends AbstractUIPlugin { 7 | 8 | private static Activator plugin; 9 | 10 | public Activator() { 11 | plugin = this; 12 | } 13 | 14 | public void start(BundleContext context) throws Exception { 15 | super.start(context); 16 | } 17 | 18 | public void stop(BundleContext context) throws Exception { 19 | super.stop(context); 20 | plugin = null; 21 | } 22 | 23 | 24 | public static Activator getDefault(){ 25 | return Activator.plugin; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mock.internal; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.mock.internal.messages"; //$NON-NLS-1$ 7 | public static String MockitoClasspathFixProcessor_AdditionalProposalInfo; 8 | public static String MockitoClasspathFixProcessor_beginAddMockitoLibraryTask; 9 | public static String QuickJUnitMockitoPreferencePage_description; 10 | public static String QuickJUnitMockitoPreferencePage_enable_label; 11 | static { 12 | // initialize resource bundle 13 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 14 | } 15 | 16 | private Messages() { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/MockitoClasspathContainerInitializer.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mock.internal; 2 | 3 | import org.eclipse.core.runtime.CoreException; 4 | import org.eclipse.core.runtime.IPath; 5 | import org.eclipse.core.runtime.Path; 6 | import org.eclipse.jdt.core.ClasspathContainerInitializer; 7 | import org.eclipse.jdt.core.IClasspathContainer; 8 | import org.eclipse.jdt.core.IClasspathEntry; 9 | import org.eclipse.jdt.core.IJavaProject; 10 | import org.eclipse.jdt.core.JavaCore; 11 | 12 | public class MockitoClasspathContainerInitializer extends 13 | ClasspathContainerInitializer { 14 | 15 | public MockitoClasspathContainerInitializer() { 16 | } 17 | 18 | @Override 19 | public void initialize(IPath containerPath, IJavaProject project) 20 | throws CoreException { 21 | IClasspathContainer container = new IClasspathContainer() { 22 | 23 | public IPath getPath() { 24 | return new Path(MockitoEntry.CONTAINER_PATH); 25 | } 26 | 27 | public int getKind() { 28 | return K_APPLICATION; 29 | } 30 | 31 | public String getDescription() { 32 | return "Mockito"; 33 | } 34 | 35 | public IClasspathEntry[] getClasspathEntries() { 36 | MockitoEntry entry = new MockitoEntry(); 37 | IClasspathEntry[] result = new IClasspathEntry[]{ 38 | JavaCore.newLibraryEntry(entry.getPath(), null, null) 39 | }; 40 | return result; 41 | } 42 | }; 43 | JavaCore.setClasspathContainer(containerPath, new IJavaProject[] { project }, new IClasspathContainer[] { container }, null); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/MockitoEntry.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mock.internal; 2 | 3 | import java.io.IOException; 4 | import java.net.URL; 5 | import java.net.URLDecoder; 6 | 7 | import org.eclipse.core.runtime.FileLocator; 8 | import org.eclipse.core.runtime.IPath; 9 | import org.eclipse.core.runtime.Path; 10 | import org.eclipse.core.runtime.Platform; 11 | import org.eclipse.jdt.core.IClasspathEntry; 12 | import org.eclipse.jdt.core.JavaCore; 13 | import org.osgi.framework.Bundle; 14 | 15 | 16 | public class MockitoEntry { 17 | 18 | public static final String CONTAINER_PATH = "junit.extensions.eclipse.quick.mock.MOCKITO_CONTAINER"; 19 | 20 | public IPath getPath(){ 21 | Bundle bundle = Platform.getBundle("org.mockito"); 22 | URL entry = bundle.getEntry("mockito.jar"); 23 | String fileURL = null; 24 | try { 25 | fileURL = URLDecoder.decode(FileLocator.toFileURL(entry).getFile(), "UTF-8"); 26 | } catch (IOException e) { 27 | } 28 | return new Path(fileURL); 29 | } 30 | 31 | public IClasspathEntry getContainer(){ 32 | IPath path = getContainerPath(); 33 | IClasspathEntry entry = JavaCore.newContainerEntry(path ); 34 | return entry; 35 | } 36 | 37 | public IPath getContainerPath() { 38 | IPath path = new Path(CONTAINER_PATH); 39 | return path; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/messages.properties: -------------------------------------------------------------------------------- 1 | MockitoClasspathFixProcessor_AdditionalProposalInfo=Adds Mockito Library to the build path 2 | MockitoClasspathFixProcessor_beginAddMockitoLibraryTask=Adding Mockito Library 3 | QuickJUnitMockitoPreferencePage_description=Mockito Preferences 4 | QuickJUnitMockitoPreferencePage_enable_label=Enable additional autocomplete favourites for java editing.added classes are below.\n\norg.mockito.Mockito\norg.hamcrest.Matchers\norg.hamcrest.MatcherAssert\norg.junit.Assert 5 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/messages_ja.properties: -------------------------------------------------------------------------------- 1 | MockitoClasspathFixProcessor_AdditionalProposalInfo=Mockito\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u30d3\u30eb\u30c9\u30d0\u30b9\u3078\u8ffd\u52a0\u3059\u308b 2 | MockitoClasspathFixProcessor_beginAddMockitoLibraryTask=Mockito\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u8ffd\u52a0\u4e2d 3 | QuickJUnitMockitoPreferencePage_description=Mockito\u306e\u8a2d\u5b9a 4 | QuickJUnitMockitoPreferencePage_enable_label=Java Editor\u306bMockito\u306eautocomplete\u306e\u305f\u3081\u3001\u4e0b\u8a18\u306e\u30af\u30e9\u30b9\u3092Favorite\u306b\u8ffd\u52a0\u3059\u308b\u3002\n\norg.mockito.Mockito\norg.hamcrest.Matchers\norg.hamcrest.MatcherAssert\norg.junit.Assert -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/wizard/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.mock.internal.wizard; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.mock.internal.wizard.messages"; //$NON-NLS-1$ 7 | public static String MockitoPage_AddedLabel; 8 | public static String MockitoPage_AddMockitoLibrary; 9 | static { 10 | // initialize resource bundle 11 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 12 | } 13 | 14 | private Messages() { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/wizard/messages.properties: -------------------------------------------------------------------------------- 1 | MockitoPage_AddedLabel=Added Mockito 2 | MockitoPage_AddMockitoLibrary=Add Mockito Library 3 | -------------------------------------------------------------------------------- /stable/mock/junit.extensions.eclipse.quick.mock/src/junit/extensions/eclipse/quick/mock/internal/wizard/messages_ja.properties: -------------------------------------------------------------------------------- 1 | MockitoPage_AddedLabel=Mockito\u3092\u8ffd\u52a0\u3059\u308b 2 | MockitoPage_AddMockitoLibrary=Mockito Library\u3092\u8ffd\u52a0 3 | -------------------------------------------------------------------------------- /stable/mock/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | mock 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.mock 10 | junit.extensions.eclipse.quick.mock.feature 11 | 12 | 13 | 14 | junit.extensions.eclipse.quick 15 | stable 16 | 0.8.0-SNAPSHOT 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.notifications.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | feature.properties 3 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | This feature provides to notify JUnit test results to Eclipse Notification Framework. 10 | 11 | 12 | 13 | Copyright (C) 2003-2011 Masaru Ishii,The Quick JUnit Plugin Project. 14 | All Rights Reserved. 15 | 16 | 17 | 18 | %license 19 | 20 | 21 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | notifications 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.notifications.feature 12 | eclipse-feature 13 | 0.2.0.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.notifications 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Jun 25 20:01:05 JST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Notifications Plugin 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.notifications;singleton:=true 5 | Bundle-Version: 0.2.1.qualifier 6 | Bundle-Activator: junit.extensions.eclipse.quick.notifications.Activator 7 | Bundle-Vendor: Quick JUnit Plugin Project 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime, 10 | org.eclipse.jdt.junit, 11 | org.eclipse.mylyn.commons.ui, 12 | org.eclipse.ui.forms, 13 | org.eclipse.mylyn.commons.notifications.core, 14 | org.eclipse.mylyn.commons.notifications.ui 15 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 16 | Bundle-ActivationPolicy: lazy 17 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | icons/ 7 | additional.bundles = org.eclipse.mylyn.commons.notifications.core,\ 8 | org.eclipse.mylyn.commons.notifications.ui 9 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/icons/quickjunit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/notifications/junit.extensions.eclipse.quick.notifications/icons/quickjunit.png -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuiteerror.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuiteerror.gif -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuitefail.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuitefail.gif -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuiteok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/notifications/junit.extensions.eclipse.quick.notifications/icons/tsuiteok.gif -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 10 | 11 | 16 | 17 | 21 | 22 | 25 | 26 | 27 | 29 | 31 | 32 | 33 | 35 | 37 | 38 | 39 | 41 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | notifications 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.notifications 12 | eclipse-plugin 13 | 0.2.1.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/Activator.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications; 2 | 3 | import org.eclipse.jface.resource.ImageRegistry; 4 | import org.eclipse.jface.resource.JFaceResources; 5 | import org.eclipse.swt.graphics.RGB; 6 | import org.eclipse.ui.plugin.AbstractUIPlugin; 7 | import org.osgi.framework.BundleContext; 8 | 9 | /** 10 | * The activator class controls the plug-in life cycle 11 | */ 12 | public class Activator extends AbstractUIPlugin { 13 | 14 | // The plug-in ID 15 | public static final String PLUGIN_ID = "junit.extensions.eclipse.quick.notifications"; //$NON-NLS-1$ 16 | 17 | // The shared instance 18 | private static Activator plugin; 19 | 20 | /** 21 | * The constructor 22 | */ 23 | public Activator() { 24 | } 25 | 26 | /* 27 | * (non-Javadoc) 28 | * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) 29 | */ 30 | public void start(BundleContext context) throws Exception { 31 | super.start(context); 32 | JFaceResources.getColorRegistry().put("TEST_FAILED", new RGB(255, 0, 0)); 33 | plugin = this; 34 | } 35 | 36 | /* 37 | * (non-Javadoc) 38 | * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) 39 | */ 40 | public void stop(BundleContext context) throws Exception { 41 | plugin = null; 42 | JFaceResources.getColorRegistry().get("TEST_FAILED").dispose(); 43 | super.stop(context); 44 | } 45 | 46 | @Override 47 | protected void initializeImageRegistry(ImageRegistry reg) { 48 | reg.put(ImageDesc.ERROR.name(), ImageDesc.ERROR.getIamgeDescriptor()); 49 | reg.put(ImageDesc.FAILURE.name(), ImageDesc.FAILURE.getIamgeDescriptor()); 50 | reg.put(ImageDesc.OK.name(), ImageDesc.OK.getIamgeDescriptor()); 51 | reg.put(ImageDesc.ICON.name(), ImageDesc.ICON.getIamgeDescriptor()); 52 | } 53 | 54 | 55 | /** 56 | * Returns the shared instance 57 | * 58 | * @return the shared instance 59 | */ 60 | public static Activator getDefault() { 61 | return plugin; 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/ImageDesc.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications; 2 | 3 | import org.eclipse.jface.resource.ImageDescriptor; 4 | import org.eclipse.swt.graphics.Image; 5 | 6 | public enum ImageDesc { 7 | 8 | ERROR("/icons/tsuiteerror.gif"), 9 | FAILURE("/icons/tsuitefail.gif"), 10 | OK("/icons/tsuiteok.gif"), 11 | ICON("/icons/quickjunit.png"); 12 | private String imageFilePath; 13 | ImageDesc(String imageFilePath){ 14 | this.imageFilePath = imageFilePath; 15 | } 16 | public ImageDescriptor getIamgeDescriptor(){ 17 | return Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, imageFilePath); 18 | } 19 | 20 | public Image getImage() { 21 | return Activator.getDefault().getImageRegistry().get(name()); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.notifications.internal.messages"; //$NON-NLS-1$ 7 | public static String JUnitNotificationPopup_title; 8 | public static String TemplateKey_ERROR_COUNT_DESCRIPTION; 9 | public static String TemplateKey_FAILURE_COUNT_DESCRIPTION; 10 | public static String TemplateKey_IGNORE_COUNT_DESCRIPTION; 11 | public static String TemplateKey_NAME_DESCRIPTION; 12 | public static String TemplateKey_OK_COUNT_DESCRIPTION; 13 | public static String TemplateKey_RESULT_DESCRIPTION; 14 | public static String TemplateKey_TOTAL_COUNT_DESCRIPTION; 15 | public static String TestRunListener_ERROR_MESSAGE; 16 | public static String TestRunListener_TWEET_JOB_MESSAGE; 17 | static { 18 | // initialize resource bundle 19 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 20 | } 21 | 22 | private Messages() { 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/Startup.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | import org.eclipse.jdt.junit.JUnitCore; 4 | import org.eclipse.ui.IStartup; 5 | 6 | public class Startup implements IStartup { 7 | 8 | public void earlyStartup() { 9 | JUnitCore.addTestRunListener(new TestNotificationListener()); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/TemplateKey.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | public enum TemplateKey { 4 | RESULT_COUNT("results", Messages.TemplateKey_RESULT_DESCRIPTION), //$NON-NLS-1$ 5 | ERROR_COUNT ("error_counts", Messages.TemplateKey_ERROR_COUNT_DESCRIPTION), //$NON-NLS-1$ 6 | // Result.IGNORED is not available on 3.5 platform 7 | // IGNORE_COUNT("ignore_count",Messages.TemplateKey_IGNORE_COUNT_DESCRIPTION), //$NON-NLS-1$ 8 | FAIL_COUNT ("fail_counts", Messages.TemplateKey_FAILURE_COUNT_DESCRIPTION), //$NON-NLS-1$ 9 | OK_COUNT ("ok_counts", Messages.TemplateKey_OK_COUNT_DESCRIPTION), //$NON-NLS-1$ 10 | TOTAL_COUNT ("total_counts", Messages.TemplateKey_TOTAL_COUNT_DESCRIPTION); //$NON-NLS-1$ 11 | 12 | private String key; 13 | private String description; 14 | 15 | TemplateKey(String key,String description){ 16 | this.key = key; 17 | this.description = description; 18 | } 19 | 20 | public String regexKey(){ 21 | return String.format("\\$\\{%s\\}",key);//$NON-NLS-1$ 22 | } 23 | 24 | public String key(){ 25 | return String.format("${%s}",key);//$NON-NLS-1$ 26 | } 27 | 28 | public String descrpition(){ 29 | return description; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/TemplateParser.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | import org.eclipse.jdt.junit.model.ITestRunSession; 4 | 5 | import static junit.extensions.eclipse.quick.notifications.internal.TemplateKey.*; 6 | 7 | class TemplateParser { 8 | 9 | private String template; 10 | private TestCounter counter = new TestCounter(); 11 | 12 | public TemplateParser() { 13 | } 14 | 15 | public String parseTemplate(ITestRunSession session) { 16 | String result = null; 17 | result = replaceResult(session,template); 18 | result = replaceCount(session,result); 19 | return result; 20 | } 21 | 22 | 23 | private String replaceCount(ITestRunSession session, String result) { 24 | counter.count(session); 25 | result = result.replaceAll(key(TOTAL_COUNT), String.valueOf(counter.getTotalTests())); 26 | result = result.replaceAll(key(OK_COUNT), String.valueOf(counter.getOKTests())); 27 | result = result.replaceAll(key(FAIL_COUNT), String.valueOf(counter.getFailureTests())); 28 | // result = result.replaceAll(key(IGNORE_COUNT), String.valueOf(counter.getIgnoreTests())); 29 | result = result.replaceAll(key(ERROR_COUNT), String.valueOf(counter.getErrorTests())); 30 | return result; 31 | } 32 | 33 | private String replaceResult(ITestRunSession session,String target) { 34 | String result = target.replaceAll(key(RESULT_COUNT), session.getTestResult(true).toString()); 35 | return result; 36 | } 37 | 38 | private String key(TemplateKey key){ 39 | return key.regexKey(); 40 | } 41 | 42 | public void setTemplate(String template) { 43 | this.template = template; 44 | } 45 | 46 | void setCounter(TestCounter counter) { 47 | this.counter = counter; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/TestCounter.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | import org.eclipse.jdt.junit.model.ITestElement; 4 | import org.eclipse.jdt.junit.model.ITestElementContainer; 5 | import org.eclipse.jdt.junit.model.ITestRunSession; 6 | import org.eclipse.jdt.junit.model.ITestElement.Result; 7 | 8 | public class TestCounter { 9 | 10 | private int totalTests; 11 | private int okTests; 12 | private int failureTests; 13 | private int ignoreTests; 14 | private int errorTests; 15 | 16 | public TestCounter() { 17 | } 18 | 19 | public void count(ITestRunSession session){ 20 | reset(); 21 | count((ITestElementContainer)session); 22 | } 23 | 24 | private void reset() { 25 | totalTests = 0; 26 | okTests = 0; 27 | failureTests = 0; 28 | ignoreTests = 0; 29 | errorTests = 0; 30 | } 31 | 32 | private void count(ITestElementContainer container) { 33 | ITestElement[] children = container.getChildren(); 34 | if(children == null) return; 35 | for(ITestElement element : children){ 36 | if (element instanceof ITestElementContainer) { 37 | ITestElementContainer cont = (ITestElementContainer) element; 38 | count(cont); 39 | continue; 40 | } 41 | totalTests++; 42 | Result result = element.getTestResult(false); 43 | if(result == null) continue; 44 | if(result.equals(Result.IGNORED)) ignoreTests++; 45 | if(result.equals(Result.OK)) okTests++; 46 | if(result.equals(Result.FAILURE)) failureTests++; 47 | if(result.equals(Result.ERROR)) errorTests++; 48 | } 49 | } 50 | 51 | public int getTotalTests(){ 52 | return totalTests; 53 | } 54 | 55 | public int getOKTests(){ 56 | return okTests; 57 | } 58 | 59 | public int getFailureTests() { 60 | return failureTests; 61 | } 62 | 63 | public int getIgnoreTests() { 64 | return ignoreTests; 65 | } 66 | 67 | public int getErrorTests() { 68 | return errorTests; 69 | } 70 | 71 | } 72 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/TestNotificationListener.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal; 2 | 3 | 4 | import java.util.Collections; 5 | 6 | import org.eclipse.jdt.junit.JUnitCore; 7 | import org.eclipse.jdt.junit.TestRunListener; 8 | import org.eclipse.jdt.junit.model.ITestElement.Result; 9 | import org.eclipse.jdt.junit.model.ITestRunSession; 10 | import org.eclipse.mylyn.commons.notifications.core.AbstractNotification; 11 | import org.eclipse.mylyn.commons.notifications.ui.NotificationsUi; 12 | 13 | 14 | @SuppressWarnings("restriction") 15 | public class TestNotificationListener extends TestRunListener { 16 | private static final String QUICK_JUNIT_NOTIFICATION_EVENT_ID = "junit.extensions.eclipse.quick.notifications.event"; 17 | 18 | public TestNotificationListener() { 19 | 20 | JUnitCore.addTestRunListener(new org.eclipse.jdt.junit.TestRunListener() { 21 | @Override 22 | public void sessionFinished(ITestRunSession session) { 23 | Result testResult = session.getTestResult(true); 24 | AbstractNotification notification = new JUnitNotification(QUICK_JUNIT_NOTIFICATION_EVENT_ID, testResult, session); 25 | NotificationsUi.getService().notify(Collections.singletonList(notification)); 26 | } 27 | }); 28 | } 29 | 30 | public void testEnded(String testId, String testName) { 31 | } 32 | 33 | public void testFailed(int status, String testId, String testName, 34 | String trace) { 35 | } 36 | 37 | public void testReran(String testId, String testClass, String testName, 38 | int status, String trace) { 39 | } 40 | 41 | public void testRunEnded(long elapsedTime) { 42 | } 43 | 44 | public void testRunStarted(int testCount) { 45 | } 46 | 47 | public void testRunStopped(long elapsedTime) { 48 | } 49 | 50 | public void testRunTerminated() { 51 | } 52 | 53 | public void testStarted(String testId, String testName) { 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/messages.properties: -------------------------------------------------------------------------------- 1 | JUnitNotificationPopup_title=JUnit Results 2 | TemplateKey_ERROR_COUNT_DESCRIPTION=show launched error tests count 3 | TemplateKey_FAILURE_COUNT_DESCRIPTION=show launched failure tests count 4 | TemplateKey_IGNORE_COUNT_DESCRIPTION=show launched ignore tests count 5 | TemplateKey_NAME_DESCRIPTION=show launched test name 6 | TemplateKey_OK_COUNT_DESCRIPTION=show launched ok tests count 7 | TemplateKey_RESULT_DESCRIPTION=show launched All test results 8 | TemplateKey_TOTAL_COUNT_DESCRIPTION=show launched total tests count 9 | TestRunListener_ERROR_MESSAGE=Error has occured. 10 | TestRunListener_TWEET_JOB_MESSAGE=Now tweeting results 11 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/messages_ja.properties: -------------------------------------------------------------------------------- 1 | JUnitNotificationPopup_title=JUnit\u7d50\u679c 2 | TemplateKey_ERROR_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u30a8\u30e9\u30fc(Error)\u6570 3 | TemplateKey_FAILURE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u5931\u6557(Failure)\u6570 4 | TemplateKey_IGNORE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u7121\u52b9(Ignore)\u6570 5 | TemplateKey_NAME_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u540d 6 | TemplateKey_OK_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u6210\u529f(OK)\u6570 7 | TemplateKey_RESULT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c 8 | TemplateKey_TOTAL_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u6570 9 | TestRunListener_ERROR_MESSAGE=\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u307e\u3057\u305f\u3002 10 | TestRunListener_TWEET_JOB_MESSAGE=\u305f\u3060\u3044\u307e\u7d50\u679c\u3092\u3064\u3076\u3084\u3044\u3066\u3044\u307e\u3059\u3002 11 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/preference/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal.preference; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.notifications.internal.preference.messages"; //$NON-NLS-1$ 7 | public static String QuickJUnitNotificationPreferencePage_description; 8 | public static String QuickJUnitNotificationPreferencePage_template_group; 9 | static { 10 | // initialize resource bundle 11 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 12 | } 13 | 14 | private Messages() { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/preference/Preference.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal.preference; 2 | 3 | import junit.extensions.eclipse.quick.notifications.Activator; 4 | 5 | import org.eclipse.jface.preference.IPreferenceStore; 6 | 7 | 8 | /** 9 | * Constants for plug-in preferences 10 | */ 11 | public enum Preference { 12 | 13 | TEMPLATE; 14 | 15 | public String getValue() { 16 | IPreferenceStore store = Activator.getDefault().getPreferenceStore(); 17 | return store.getString(name()); 18 | } 19 | 20 | public void setValue(String value){ 21 | IPreferenceStore store = Activator.getDefault().getPreferenceStore(); 22 | store.setValue(name(), value); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/preference/PreferenceInitializer.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.notifications.internal.preference; 2 | 3 | import static junit.extensions.eclipse.quick.notifications.internal.preference.Preference.TEMPLATE; 4 | import junit.extensions.eclipse.quick.notifications.Activator; 5 | 6 | import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 7 | import org.eclipse.jface.preference.IPreferenceStore; 8 | 9 | /** 10 | * Class used to initialize default preference values. 11 | */ 12 | public class PreferenceInitializer extends AbstractPreferenceInitializer { 13 | 14 | public void initializeDefaultPreferences() { 15 | IPreferenceStore store = Activator.getDefault().getPreferenceStore(); 16 | store.setDefault(TEMPLATE.name(), "passed:${ok_counts} failure:${fail_counts} Total:${total_counts}"); //$NON-NLS-1$ 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/preference/messages.properties: -------------------------------------------------------------------------------- 1 | QuickJUnitNotificationPreferencePage_description=Template customize for notification 2 | QuickJUnitNotificationPreferencePage_template_group=Template 3 | -------------------------------------------------------------------------------- /stable/notifications/junit.extensions.eclipse.quick.notifications/src/junit/extensions/eclipse/quick/notifications/internal/preference/messages_ja.properties: -------------------------------------------------------------------------------- 1 | QuickJUnitNotificationPreferencePage_description=\u901a\u77e5\u3059\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 2 | QuickJUnitNotificationPreferencePage_template_group=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 3 | -------------------------------------------------------------------------------- /stable/notifications/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | notifications 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.notifications 10 | junit.extensions.eclipse.quick.notifications.feature 11 | 12 | 13 | 14 | junit.extensions.eclipse.quick 15 | stable 16 | 0.8.0-SNAPSHOT 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/.cvsignore: -------------------------------------------------------------------------------- 1 | *.jar 2 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/ChangeLog: -------------------------------------------------------------------------------- 1 | 2006-11-07 KAKUTANI Shintaro 2 | 3 | * ChangeLog: create via cvs2cl.pl 4 | 5 | 2006-06-21 12:59 kakutani 6 | 7 | * feature.xml: Increment version number to 0.4.0. 8 | 9 | 2006-04-26 16:54 kakutani 10 | 11 | * build.properties, feature.xml: 0.3.0.1 (cannnot use under J2SDK 12 | 1.4.2). thanks t-wada for reporting. 13 | 14 | 2006-04-25 13:46 kakutani 15 | 16 | * feature.xml: increment version number to 0.3.0. 17 | 18 | 2005-06-02 09:27 kakutani 19 | 20 | * feature.xml: REL-1_1_1_1 21 | 22 | 2005-05-31 20:38 kakutani 23 | 24 | * feature.xml: increment version number to 0.1.1. 25 | 26 | 2005-05-20 13:38 kakutani 27 | 28 | * feature.xml: increment version number to 0.2.0. 29 | 30 | 2005-05-17 22:18 kakutani 31 | 32 | * feature.xml: increment version number to 0.2.0. 33 | 34 | 2005-05-17 22:10 kakutani 35 | 36 | * feature.xml: merge from Root_REL-0_1_x-BRANCH to REL-0_1_0 37 | 38 | 2005-05-17 08:55 kakutani 39 | 40 | * feature.xml: [no log message] 41 | 42 | 2005-05-17 08:24 kakutani 43 | 44 | * feature.xml: [no log message] 45 | 46 | 2005-05-17 08:04 kakutani 47 | 48 | * feature.xml: [no log message] 49 | 50 | 2005-05-02 23:41 kakutani 51 | 52 | * feature.xml: * increment product version number to 0.1.0 * add 53 | plugin description on feature.xml (thanks 54 | nekop!) 55 | 56 | 2005-04-28 02:41 kakutani 57 | 58 | * .project, build.properties, feature.xml: feature project for 59 | 0.1.0.beta 60 | 61 | 2005-04-28 02:40 kakutani 62 | 63 | * cpl-v10.html: CPL1.0 License. 64 | 65 | 2005-04-28 02:39 kakutani 66 | 67 | * .cvsignore: ignore *.jar files. 68 | 69 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | ChangeLog,\ 4 | build.properties,\ 5 | feature.properties 6 | jre.compilation.profile = J2SE-1.4 7 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/category.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit Plugin 2 | providerName=Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | original 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.feature 12 | eclipse-feature 13 | 0.7.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/sourceTemplateFeature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | build.properties,\ 4 | feature.properties 5 | jre.compilation.profile = J2SE-1.4 6 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.feature/sourceTemplateFeature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit Source Plugin 2 | providerName=The Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.pde.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | feature.properties 4 | 5 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit PDE Extension 2 | providerName=Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | original 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.pde.feature 12 | eclipse-feature 13 | 0.6.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/sourceTemplateFeature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | cpl-v10.html,\ 3 | build.properties,\ 4 | feature.properties 5 | jre.compilation.profile = J2SE-1.4 6 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde.feature/sourceTemplateFeature/feature.properties: -------------------------------------------------------------------------------- 1 | featureName=Quick JUnit PDE Source Feature 2 | providerName=The Quick JUnit Plugin Project -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.cvsignore: -------------------------------------------------------------------------------- 1 | bin 2 | temp.folder 3 | *.zip 4 | quick-junit-pde.jar 5 | *.jar 6 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.gitignore: -------------------------------------------------------------------------------- 1 | quick-junit-pde.jar 2 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.pde 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Wed Apr 27 18:54:27 JST 2005 2 | encoding/=Windows-31J 3 | eclipse.preferences.version=1 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.settings/org.eclipse.core.runtime.prefs: -------------------------------------------------------------------------------- 1 | #Wed Jun 21 12:49:25 JST 2006 2 | eclipse.preferences.version=1 3 | line.separator=\n 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Apr 03 04:28:07 JST 2006 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.4 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning 12 | org.eclipse.jdt.core.compiler.source=1.3 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | #Mon Apr 03 04:28:07 JST 2006 2 | eclipse.preferences.version=1 3 | internal.default.compliance=default 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-SymbolicName: junit.extensions.eclipse.quick.pde; singleton:=true 4 | Bundle-Version: 0.5.0.qualifier 5 | Bundle-Name: Quick PDE JUnit 6 | Bundle-Vendor: Masaru Ishii 7 | Bundle-Localization: plugin 8 | Require-Bundle: org.eclipse.core.runtime, 9 | org.eclipse.core.resources, 10 | org.eclipse.ui, 11 | org.eclipse.ui.ide, 12 | org.eclipse.ui.editors, 13 | org.eclipse.ui.views, 14 | org.eclipse.ui.workbench.texteditor, 15 | org.eclipse.jface.text, 16 | org.eclipse.debug.ui, 17 | org.eclipse.jdt, 18 | org.eclipse.jdt.core, 19 | org.eclipse.jdt.ui, 20 | org.eclipse.jdt.junit, 21 | org.eclipse.pde.ui, 22 | junit.extensions.eclipse.quick, 23 | org.eclipse.jdt.junit4.runtime;resolution:=optional 24 | Bundle-ClassPath: quick-junit-pde.jar 25 | Export-Package: junit.extensions.eclipse.quick.pde 26 | Bundle-RequiredExecutionEnvironment: J2SE-1.4 27 | Bundle-ActivationPolicy: lazy 28 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/Makefile: -------------------------------------------------------------------------------- 1 | include eclipse/plugin-build.mk 2 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = plugin.xml,\ 2 | quick-junit-pde.jar,\ 3 | META-INF/,\ 4 | plugin.properties,\ 5 | plugin_ja.properties 6 | source.quick-junit-pde.jar = src/ 7 | src.includes = Makefile,\ 8 | ChangeLog 9 | jre.compilation.profile = J2SE-1.4 10 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/plugin.properties: -------------------------------------------------------------------------------- 1 | Category.name=Quick JUnit 2 | Category.description=Quick JUnit Action 3 | 4 | 5 | plugin.name = Quick JUnit PDE 6 | 7 | PDEJUnitRunAction.label=JUnit Plug-in Test 8 | PDEJUnitRunAction.description=Run as JUnit plug-in test. 9 | 10 | PDEJUnitDebugAction.label=JUnit Plug-in Debug 11 | PDEJUnitDebugAction.description=Debug as JUnit plug-in test. 12 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/plugin_ja.properties: -------------------------------------------------------------------------------- 1 | Category.name=Quick JUnit 2 | Category.description=Quick JUnit\u30a2\u30af\u30b7\u30e7\u30f3 3 | 4 | plugin.name = Quick JUnit PDE 5 | 6 | PDEJUnitRunAction.label=JUnit Plug-in \u30c6\u30b9\u30c8 7 | PDEJUnitRunAction.description=PDE JUnit\u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\uff0e 8 | 9 | PDEJUnitDebugAction.label=JUnit Plug-in \u30c7\u30d0\u30c3\u30b0 10 | PDEJUnitDebugAction.description=PDE JUnit\u3067\u30c6\u30b9\u30c8\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u307e\u3059\uff0e 11 | 12 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | original 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.pde 12 | eclipse-plugin 13 | 0.5.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/src/junit/extensions/eclipse/quick/pde/ExtensionSupport.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.pde; 2 | 3 | import org.eclipse.core.runtime.CoreException; 4 | import org.eclipse.debug.ui.ILaunchShortcut; 5 | 6 | public class ExtensionSupport extends junit.extensions.eclipse.quick.internal.ExtensionSupport { 7 | 8 | public static ILaunchShortcut createJUnitWorkbenchShortcut() throws CoreException { 9 | return createLaunchShortcut("org.eclipse.pde.ui"); //$NON-NLS-1$ 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/src/junit/extensions/eclipse/quick/pde/PDEJUnitDebugAction.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.pde; 2 | 3 | import junit.extensions.eclipse.quick.internal.action.JUnitLaunchAction; 4 | 5 | import org.eclipse.core.runtime.CoreException; 6 | 7 | public class PDEJUnitDebugAction extends JUnitLaunchAction { 8 | 9 | public PDEJUnitDebugAction() throws CoreException { 10 | super(ExtensionSupport.createJUnitWorkbenchShortcut(), "debug"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.pde/src/junit/extensions/eclipse/quick/pde/PDEJUnitRunAction.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.pde; 2 | 3 | import junit.extensions.eclipse.quick.internal.action.JUnitLaunchAction; 4 | 5 | import org.eclipse.core.runtime.CoreException; 6 | 7 | public class PDEJUnitRunAction extends JUnitLaunchAction { 8 | 9 | public PDEJUnitRunAction() throws CoreException { 10 | super(ExtensionSupport.createJUnitWorkbenchShortcut(), "run"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.test 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Mon Nov 01 23:25:36 JST 2010 2 | eclipse.preferences.version=1 3 | encoding//src/org/eclipse/contribution/junit/test/TestProjectTest.java=UTF-8 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Mar 21 15:45:11 GMT+09:00 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Test Plug-in 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.test 5 | Bundle-Version: 1.0.0 6 | Fragment-Host: junit.extensions.eclipse.quick 7 | Require-Bundle: org.eclipse.core.runtime, 8 | org.junit4;bundle-version="4.3.1", 9 | org.eclipse.jdt.core;bundle-version="3.4.0", 10 | org.eclipse.core.resources;bundle-version="3.4.0", 11 | org.eclipse.jdt.launching;bundle-version="3.4.0", 12 | org.eclipse.ui;bundle-version="3.4.0", 13 | org.mockito 14 | Bundle-ActivationPolicy: lazy 15 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 16 | Bundle-Vendor: The Quick JUnit Plugin Project 17 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | javacDefaultEncoding..=utf-8 6 | additional.bundles = org.mockito,\ 7 | org.eclipse.core.runtime,\ 8 | org.junit4,\ 9 | org.eclipse.jdt.core,\ 10 | org.eclipse.core.resources,\ 11 | org.eclipse.jdt.launching,\ 12 | org.eclipse.ui 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | parent 8 | ../../../pom.xml 9 | 0.8.0-SNAPSHOT 10 | 11 | 12 | junit.extensions.eclipse.quick.test 13 | eclipse-test-plugin 14 | 1.0.0 15 | 16 | 17 | src 18 | 19 | 20 | org.eclipse.tycho 21 | tycho-surefire-plugin 22 | ${tycho-version} 23 | 24 | false 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/src/junit/extensions/eclipse/quick/JavaTypesTest.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick; 2 | 3 | import static org.hamcrest.CoreMatchers.is; 4 | import static org.junit.Assert.assertThat; 5 | 6 | import org.eclipse.jdt.core.IMethod; 7 | import org.eclipse.jdt.core.IType; 8 | import org.junit.Test; 9 | 10 | public class JavaTypesTest { 11 | 12 | @Test 13 | public void not_test_class_should_return_false() throws Exception { 14 | 15 | IType result = new ITypeMockBuilder().build(); 16 | assertThat(JavaTypes.isTest(result),is(false)); 17 | 18 | } 19 | 20 | @Test 21 | public void junit3_class_should_return_true() throws Exception { 22 | 23 | IType result = new ITypeMockBuilder().junit3_class().build(); 24 | assertThat(JavaTypes.isTest(result),is(true)); 25 | 26 | } 27 | 28 | @Test 29 | public void junit4_class_should_return_true() throws Exception { 30 | 31 | IMethod method = new IMethodMockBuilder().addTestAnnotation().build(); 32 | IType result = new ITypeMockBuilder().addMethod(method ).build(); 33 | assertThat(JavaTypes.isTest(result),is(true)); 34 | 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick.test/src/junit/extensions/eclipse/quick/test/TestActivator.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.test; 2 | 3 | import org.eclipse.core.runtime.Plugin; 4 | import org.osgi.framework.BundleContext; 5 | 6 | /** 7 | * The activator class controls the plug-in life cycle 8 | */ 9 | public class TestActivator extends Plugin { 10 | 11 | // The plug-in ID 12 | public static final String PLUGIN_ID = "junit.extensions.eclipse.quick.test"; 13 | 14 | // The shared instance 15 | private static TestActivator plugin; 16 | 17 | /** 18 | * The constructor 19 | */ 20 | public TestActivator() { 21 | } 22 | 23 | /* 24 | * (non-Javadoc) 25 | * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) 26 | */ 27 | public void start(BundleContext context) throws Exception { 28 | super.start(context); 29 | plugin = this; 30 | } 31 | 32 | /* 33 | * (non-Javadoc) 34 | * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) 35 | */ 36 | public void stop(BundleContext context) throws Exception { 37 | plugin = null; 38 | super.stop(context); 39 | } 40 | 41 | /** 42 | * Returns the shared instance 43 | * 44 | * @return the shared instance 45 | */ 46 | public static TestActivator getDefault() { 47 | return plugin; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.cvsignore: -------------------------------------------------------------------------------- 1 | bin 2 | temp.folder 3 | *.jar 4 | *.zip 5 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.gitignore: -------------------------------------------------------------------------------- 1 | quick-junit.jar 2 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.settings/org.eclipse.core.runtime.prefs: -------------------------------------------------------------------------------- 1 | #Wed Jun 21 12:48:38 JST 2006 2 | eclipse.preferences.version=1 3 | line.separator=\n 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Mar 18 20:29:05 JST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.4 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.3 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | #Mon Apr 03 04:27:36 JST 2006 2 | eclipse.preferences.version=1 3 | internal.default.compliance=default 4 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-SymbolicName: junit.extensions.eclipse.quick; singleton:=true 4 | Bundle-Version: 0.7.0.qualifier 5 | Bundle-Name: Quick JUnit 6 | Bundle-Vendor: Masaru Ishii and Quick JUnit project 7 | Bundle-Activator: junit.extensions.eclipse.quick.internal.QuickJUnitPlugin 8 | Bundle-Localization: plugin 9 | Require-Bundle: org.eclipse.core.runtime, 10 | org.eclipse.core.resources, 11 | org.eclipse.ui, 12 | org.eclipse.ui.ide, 13 | org.eclipse.ui.editors, 14 | org.eclipse.ui.workbench.texteditor, 15 | org.eclipse.jface.text, 16 | org.eclipse.debug.ui, 17 | org.eclipse.jdt, 18 | org.eclipse.jdt.core, 19 | org.eclipse.jdt.ui, 20 | org.eclipse.jdt.junit, 21 | org.eclipse.jdt.junit4.runtime;resolution:=optional, 22 | org.eclipse.jdt.debug.ui, 23 | org.eclipse.jdt.launching 24 | Bundle-ActivationPolicy: lazy 25 | Export-Package: junit.extensions.eclipse.quick, 26 | junit.extensions.eclipse.quick.internal;x-friends:="junit.extensions.eclipse.quick.pde", 27 | junit.extensions.eclipse.quick.internal.action;x-friends:="junit.extensions.eclipse.quick.pde" 28 | Bundle-ClassPath: quick-junit.jar 29 | Bundle-RequiredExecutionEnvironment: J2SE-1.4 30 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/Makefile: -------------------------------------------------------------------------------- 1 | include eclipse/plugin-build.mk -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/README.textile: -------------------------------------------------------------------------------- 1 | h1. What is junit.extensions.eclipse.quick 2 | 3 | This plug-in provides Quick JUnit's main feature. -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/README_ja.textile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/original/junit.extensions.eclipse.quick/README_ja.textile -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/TODO: -------------------------------------------------------------------------------- 1 | * write unit test codes. 2 | 3 | * support excludes filter on testing pair. 4 | 5 | * support pending test methods. 6 | 7 | * running class-level testing as a cursor in method context.(Alt + Ctrl + 0)?? 8 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/about.ini: -------------------------------------------------------------------------------- 1 | # about.ini 2 | # contains information about a feature 3 | # java.io.Properties file (ISO 8859-1 with "\" escapes) 4 | # "%key" are externalized strings defined in about.properties 5 | # This file does not need to be translated. 6 | 7 | # Property "aboutText" contains blurb for "About" dialog (translated) 8 | aboutText=Quick JUnit Eclipse Plugins - This plugin makes easy to launch JUnit and switch editors between test code and production code.\n\ \n\Copyright (C) 2003-2010 Masaru Ishii,The Quick JUnit Plugin Project.\n\ All Rights Reserved.\n\ Visit http://quick-junit.sourceforge.jp/\n\Project icon is made by @kurikazu. 9 | 10 | # Property "featureImage" contains path to feature image (32x32) 11 | featureImage=icons/quickjunit.png 12 | 13 | # Property "welcomePage" contains path to welcome page (special XML-based format) 14 | # ($nl$/ prefix to permit locale-specific translations of entire file) 15 | #welcomePage=welcome/$nl$.xml 16 | 17 | # Property "welcomePerspective" contains the id of the perspective in which the 18 | # welcome page is to be opened. 19 | # optional 20 | 21 | # Property "tipsAndTricksHref" contains the Help topic href to a tips and tricks page 22 | # optional 23 | #tipsAndTricksHref= -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = plugin.xml,\ 2 | META-INF/,\ 3 | plugin.properties,\ 4 | plugin_ja.properties,\ 5 | about.ini,\ 6 | quick-junit.jar,\ 7 | icons/ 8 | src.includes = TODO,\ 9 | README_ja.textile,\ 10 | README.textile 11 | jre.compilation.profile = J2SE-1.4 12 | source.quick-junit.jar = src/ 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/icons/quickjunit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/original/junit.extensions.eclipse.quick/icons/quickjunit.png -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/launch/Quick JUnit Runtime Environment.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/plugin.properties: -------------------------------------------------------------------------------- 1 | Category.name=Quick JUnit 2 | Category.description=Quick JUnit Action 3 | 4 | Actions.label=Quick JUnit 5 | 6 | OpenTestingPairAction.label=Open Testing Pair 7 | OpenTestingPairAction.description=Open the corresponding implement or test code. 8 | 9 | JUnitRunAction.label=JUnit Test 10 | JUnitRunAction.description=Run as JUnit test. 11 | 12 | JUnitDebugAction.label=JUnit Debug 13 | JUnitDebugAction.description=Debug as JUnit test. 14 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/plugin_ja.properties: -------------------------------------------------------------------------------- 1 | Category.name=Quick JUnit 2 | Category.description=Quick JUnit\u30a2\u30af\u30b7\u30e7\u30f3 3 | 4 | Actions.label=Quick JUnit 5 | 6 | OpenTestingPairAction.label=\u30c6\u30b9\u30c6\u30a3\u30f3\u30b0\u30da\u30a2\u3092\u958b\u304f 7 | OpenTestingPairAction.description=\u5bfe\u5fdc\u3059\u308b\u5b9f\u88c5\u30b3\u30fc\u30c9\u307e\u305f\u306f\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u30a8\u30c7\u30a3\u30bf\u3092\u958b\u304d\u307e\u3059\uff0e 8 | 9 | JUnitRunAction.label=JUnit \u30c6\u30b9\u30c8 10 | JUnitRunAction.description=JUnit\u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\uff0e 11 | 12 | JUnitDebugAction.label=JUnit \u30c7\u30d0\u30c3\u30b0 13 | JUnitDebugAction.description=JUnit\u3067\u30c6\u30b9\u30c8\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u307e\u3059\uff0e 14 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | original 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick 12 | eclipse-plugin 13 | 0.7.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/JavaTypes.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick; 2 | 3 | import org.eclipse.jdt.core.IAnnotation; 4 | import org.eclipse.jdt.core.ICompilationUnit; 5 | import org.eclipse.jdt.core.IImportDeclaration; 6 | import org.eclipse.jdt.core.IMethod; 7 | import org.eclipse.jdt.core.IType; 8 | import org.eclipse.jdt.core.ITypeHierarchy; 9 | import org.eclipse.jdt.core.JavaModelException; 10 | 11 | public class JavaTypes { 12 | private static final char ENCLOSING_TYPE_SEPARATOR = '.'; 13 | public static final String TEST_INTERFACE_NAME= "junit.framework.Test"; //$NON-NLS-1$ 14 | private static final String TEST_ANNOTATION_NAME = "Test"; //$NON-NLS-1$ 15 | static final String TEST_ANNOTATION_FULL_NAME = "org.junit.Test"; //$NON-NLS-1$ 16 | 17 | public static boolean isTest(IType type) throws JavaModelException { 18 | ITypeHierarchy typeHier= type.newSupertypeHierarchy(null); 19 | IType[] superInterfaces= typeHier.getAllInterfaces(); 20 | for (int i= 0; i < superInterfaces.length; i++) { 21 | if (superInterfaces[i].getFullyQualifiedName(ENCLOSING_TYPE_SEPARATOR).equals(TEST_INTERFACE_NAME)) 22 | return true; 23 | } 24 | IMethod[] methods = type.getMethods(); 25 | for (int i = 0; i < methods.length; i++) { 26 | IMethod method = methods[i]; 27 | IAnnotation[] annotations = method.getAnnotations(); 28 | for (int j = 0; j < annotations.length; j++) { 29 | IAnnotation annotation = annotations[j]; 30 | if(annotation.getElementName().equals(TEST_ANNOTATION_NAME) || 31 | annotation.getElementName().equals(TEST_ANNOTATION_FULL_NAME)){ 32 | return true; 33 | } 34 | } 35 | } 36 | ICompilationUnit compilationUnit = type.getCompilationUnit(); 37 | IImportDeclaration importDeclaration = compilationUnit.getImport(TEST_ANNOTATION_FULL_NAME); 38 | return importDeclaration.exists(); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/NamingRule.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick; 2 | 3 | 4 | public class NamingRule { 5 | private String value; 6 | private boolean enabled; 7 | public NamingRule(String value, boolean enabled) { 8 | this.value = value; 9 | this.enabled = enabled; 10 | } 11 | public boolean isEnabled() { 12 | return enabled; 13 | } 14 | public String getValue() { 15 | return value; 16 | } 17 | public void setEnabled(boolean enabled) { 18 | this.enabled = enabled; 19 | } 20 | public void setValue(String value) { 21 | this.value = value; 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/TestingPair.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/TestingPair.java -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/HelpSupport.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.internal; 2 | 3 | import org.eclipse.swt.widgets.Shell; 4 | import org.eclipse.ui.IWorkbench; 5 | import org.eclipse.ui.PlatformUI; 6 | 7 | public class HelpSupport { 8 | 9 | public static void setHelp(final Shell control, final String contextId) { 10 | final IWorkbench workbench = PlatformUI.getWorkbench(); 11 | workbench.getHelpSystem().setHelp(control, contextId); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.internal; 2 | 3 | import java.text.MessageFormat; 4 | import java.util.MissingResourceException; 5 | import java.util.ResourceBundle; 6 | 7 | public class Messages { 8 | 9 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.internal.messages"; //$NON-NLS-1$ 10 | private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); 11 | 12 | public static String getString(String key) { 13 | try { 14 | return RESOURCE_BUNDLE.getString(key); 15 | } catch (MissingResourceException e) { 16 | return '!' + key + '!'; 17 | } 18 | } 19 | public static String getString(String key, Object[] args) { 20 | return MessageFormat.format(RESOURCE_BUNDLE.getString(key), args); 21 | } 22 | public static String getString(String key, Object arg0) { 23 | return MessageFormat.format(RESOURCE_BUNDLE.getString(key), new Object[] {arg0}); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/QuickJUnitException.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.internal; 2 | 3 | 4 | import org.eclipse.core.runtime.CoreException; 5 | import org.eclipse.core.runtime.IStatus; 6 | import org.eclipse.core.runtime.Status; 7 | 8 | public class QuickJUnitException extends CoreException { 9 | private static final long serialVersionUID = 1L; 10 | 11 | public QuickJUnitException(Throwable cause) { 12 | this(cause.getMessage(), cause); 13 | } 14 | public QuickJUnitException(IStatus status) { 15 | super(status); 16 | } 17 | public QuickJUnitException(String message) { 18 | this(new Status(IStatus.ERROR, QuickJUnitPlugin.getDefault().getID(), 0, message, null)); 19 | } 20 | public QuickJUnitException(String message, Throwable cause) { 21 | this(new Status(IStatus.ERROR, QuickJUnitPlugin.getDefault().getID(), 0, message, cause)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/action/JUnitDebugAction.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.internal.action; 2 | 3 | import junit.extensions.eclipse.quick.internal.ExtensionSupport; 4 | 5 | import org.eclipse.core.runtime.CoreException; 6 | 7 | public class JUnitDebugAction extends JUnitLaunchAction { 8 | 9 | public JUnitDebugAction() throws CoreException { 10 | super(ExtensionSupport.createJUnitLaunchShortcut(), "debug"); //$NON-NLS-1$ 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/action/JUnitRunAction.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.internal.action; 2 | 3 | import junit.extensions.eclipse.quick.internal.ExtensionSupport; 4 | 5 | import org.eclipse.core.runtime.CoreException; 6 | 7 | public class JUnitRunAction extends JUnitLaunchAction { 8 | 9 | public JUnitRunAction() throws CoreException { 10 | super(ExtensionSupport.createJUnitLaunchShortcut(), "run"); //$NON-NLS-1$ 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /stable/original/junit.extensions.eclipse.quick/src/junit/extensions/eclipse/quick/internal/messages.properties: -------------------------------------------------------------------------------- 1 | QuickJUnitPlugin.systemError.providerNameLabel=Provider Name:.... 2 | QuickJUnitPlugin.systemError.pluginNameLabel=Plug-in Name:....... 3 | QuickJUnitPlugin.systemError.pluginIdLabel=Plug-in ID:........... 4 | QuickJUnitPlugin.systemError.versionLabel=Version:.............. 5 | QuickJUnitPlugin.systemError.classLabel=The error was detected in Class: 6 | QuickJUnitPlugin.systemError.dialog.title=System Error 7 | QuickJUnitPlugin.systemError.dialog.message=system error occured. 8 | 9 | OpenTestingPairAction.testInterfaceNotFound=JUnit interface: {0} not found. 10 | OpenTestingPairAction.testPairNotFound=The testing pair of {0} not found. 11 | OpenTestingPairAction.testPairNotFoundAndConfirm=testing pair not foud. Create new testing pair? 12 | 13 | NamingRulesPreference.label=Naming rules of test cases\: 14 | NamingRulesPreference.addButton.label=Add(&N)... 15 | NamingRulesPreference.addButton.tooltip=Add a naming rule. 16 | NamingRulesPreference.removeButton.label=Remove(&R) 17 | NamingRulesPreference.removeButton.tooltip=Remove selected naming rules. 18 | NamingRulesPreference.editButton.label=Edit(&E)... 19 | NamingRulesPreference.editButton.tooltip=Edit selected naming rule. 20 | NamingRulesPreference.moveUpButton.label=Up(&P)... 21 | NamingRulesPreference.moveUpButton.tooltip=Move up selected naming rule. 22 | NamingRulesPreference.moveDownButton.label=Down(&W)... 23 | NamingRulesPreference.moveDownButton.tooltip=Move down selected naming rule. 24 | NamingRulesPreference.addNamingRule.dialog.title=Add a naming rule. 25 | NamingRulesPreference.addNamingRule.dialog.message=Please input a naming rule. you can use variables: ${package} and ${type}. 26 | NamingRulesPreference.editNamingRule.dialog.title=Edit the naming rule. 27 | NamingRulesPreference.editNamingRule.dialog.message=Please edit the naming rule. you can use variables: ${package} and ${type}. 28 | NamingRulesPreference.namingRuleValidator.empty=Please input. 29 | NamingRulesPreference.namingRuleValidator.error=This naming rule is invalid. 30 | NamingRulesPreference.namingRuleValidator.tokenError={0} is invalid. 31 | 32 | JUnitLaunchAction.notJUnitElement=Select JUnit test case. 33 | -------------------------------------------------------------------------------- /stable/original/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | original 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick 10 | junit.extensions.eclipse.quick.test 11 | junit.extensions.eclipse.quick.feature 12 | junit.extensions.eclipse.quick.pde 13 | junit.extensions.eclipse.quick.pde.feature 14 | 15 | 16 | 17 | junit.extensions.eclipse.quick 18 | stable 19 | 0.8.0-SNAPSHOT 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /stable/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | stable 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | original 10 | mock 11 | template 12 | notifications 13 | process 14 | 15 | 16 | 17 | junit.extensions.eclipse.quick 18 | parent 19 | 0.8.0-SNAPSHOT 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.process.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | feature.properties 3 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | This feature provides to launch a process that you set at preference page. 11 | 12 | 13 | 14 | Copyright (C) 2003-2010 Masaru Ishii,The Quick JUnit Plugin Project. 15 | All Rights Reserved. 16 | 17 | 18 | 19 | %license 20 | 21 | 22 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | process 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.process.feature 12 | eclipse-feature 13 | 0.1.1.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.process.test 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Nov 01 22:13:03 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Process Test 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.process.test 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 7 | Fragment-Host: junit.extensions.eclipse.quick.process 8 | Require-Bundle: org.junit 9 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | additional.bundles = org.junit,\ 6 | org.hamcrest.core 7 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | process 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.process.test 12 | eclipse-test-plugin 13 | 1.0.0 14 | 15 | 16 | src 17 | 18 | 19 | org.eclipse.tycho 20 | tycho-surefire-plugin 21 | ${tycho-version} 22 | 23 | false 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.process 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.m2e.core.maven2Nature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.jdt.core.javanature 33 | 34 | 35 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Sun Aug 15 21:01:17 JST 2010 2 | eclipse.preferences.version=1 3 | encoding//src/junit/extensions/eclipse/quick/process/internal/preferences/messages.properties=ISO-8859-1 4 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun May 23 22:10:26 JST 2010 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: run process after JUnit plugin 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.process;singleton:=true 5 | Bundle-Version: 0.1.0.qualifier 6 | Bundle-Vendor: Quick JUnit Project 7 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 8 | Bundle-ClassPath: . 9 | Bundle-Activator: junit.extensions.eclipse.quick.process.internal.ProcessActivator 10 | Bundle-ActivationPolicy: lazy 11 | Require-Bundle: org.eclipse.jdt.junit, 12 | org.eclipse.core.runtime, 13 | org.eclipse.ui 14 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | plugin.xml,\ 4 | resource/,\ 5 | src/,\ 6 | . 7 | additional.bundles = org.eclipse.osgi,\ 8 | org.junit4,\ 9 | org.eclipse.jdt.junit,\ 10 | org.eclipse.jface,\ 11 | org.eclipse.core.runtime,\ 12 | org.eclipse.ui 13 | source.. = src/,\ 14 | resource/ 15 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 12 | 17 | 18 | 19 | 21 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | process 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.process 12 | eclipse-plugin 13 | 0.1.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuiteerror.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuiteerror.gif -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuitefail.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuitefail.gif -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuiteok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kompiro/quick-junit/91a830956f68670b02a5394f5c4e5728ae1fffba/stable/process/junit.extensions.eclipse.quick.process/resource/icons/tsuiteok.gif -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.process.internal.messages"; //$NON-NLS-1$ 7 | public static String TemplateKey_ERROR_COUNT_DESCRIPTION; 8 | public static String TemplateKey_FAILURE_COUNT_DESCRIPTION; 9 | public static String TemplateKey_IGNORE_COUNT_DESCRIPTION; 10 | public static String TemplateKey_NAME_DESCRIPTION; 11 | public static String TemplateKey_OK_COUNT_DESCRIPTION; 12 | public static String TemplateKey_RESULT_DESCRIPTION; 13 | public static String TemplateKey_TOTAL_COUNT_DESCRIPTION; 14 | public static String ProcessKey_DETAIL_DESCRIPTION; 15 | public static String ProcessKey_SUMMARY_DESCRIPTION; 16 | public static String TestRunListener_ERROR_MESSAGE; 17 | public static String TestRunListener_TWEET_JOB_MESSAGE; 18 | static { 19 | // initialize resource bundle 20 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 21 | } 22 | 23 | private Messages() { 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/ProcessActivator.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | import org.eclipse.ui.plugin.AbstractUIPlugin; 4 | 5 | public class ProcessActivator extends AbstractUIPlugin { 6 | 7 | private static ProcessActivator plugin; 8 | 9 | public ProcessActivator(){ 10 | ProcessActivator.plugin = this; 11 | } 12 | 13 | public static ProcessActivator getDefault(){ 14 | return ProcessActivator.plugin; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/ProcessKey.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | public enum ProcessKey { 4 | DETAIL("detail", Messages.ProcessKey_DETAIL_DESCRIPTION), //$NON-NLS-1$ 5 | SUMMARY ("summary", Messages.ProcessKey_SUMMARY_DESCRIPTION); //$NON-NLS-1$ 6 | 7 | private String key; 8 | private String description; 9 | 10 | ProcessKey(String key,String description){ 11 | this.key = key; 12 | this.description = description; 13 | } 14 | 15 | public String regexKey(){ 16 | return String.format("\\$\\{%s\\}",key);//$NON-NLS-1$ 17 | } 18 | 19 | public String key(){ 20 | return String.format("${%s}",key);//$NON-NLS-1$ 21 | } 22 | 23 | public String descrpition(){ 24 | return description; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/ProcessParser.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class ProcessParser { 6 | private static final String START_DOUBLE_QUOTE = "\""; 7 | private static final String END_DOUBLE_QUOTE = ".*[^\\\\]\"$"; 8 | private static final String SPACE = " "; 9 | 10 | public String[] parse(String command){ 11 | String[] parse = parse(command,null,null); 12 | return parse; 13 | } 14 | 15 | public String[] parse(String command, String summary, String detail){ 16 | if(command == null) return new String[]{}; 17 | command = replaceResult(command,summary,detail); 18 | String[] splited = command.split(SPACE); 19 | ArrayList results = new ArrayList(); 20 | StringBuilder builder = null; 21 | boolean appendMode = false; 22 | for (String item : splited) { 23 | if(appendMode){ 24 | builder.append(SPACE); 25 | builder.append(item); 26 | if(item.matches(END_DOUBLE_QUOTE)){ 27 | appendMode = false; 28 | String string = builder.toString(); 29 | results.add(string.substring(0, string.length() - 1)); 30 | builder = null; 31 | } 32 | continue; 33 | } 34 | if(item.startsWith(START_DOUBLE_QUOTE)){ 35 | builder = new StringBuilder(); 36 | builder.append(item.substring(1, item.length())); 37 | appendMode = true; 38 | continue; 39 | } 40 | results.add(item); 41 | } 42 | if(appendMode){ 43 | results.add(builder.toString()); 44 | } 45 | return results.toArray(new String[]{}); 46 | } 47 | 48 | private String replaceResult(String command, String summary, String detail) { 49 | command = command.replaceAll(key(ProcessKey.SUMMARY), quoted(summary)); 50 | command = command.replaceAll(key(ProcessKey.DETAIL), quoted(detail)); 51 | return command; 52 | } 53 | 54 | private String quoted(String target) { 55 | return "\""+ target + "\""; 56 | } 57 | 58 | private String key(ProcessKey key){ 59 | return key.regexKey(); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/TemplateKey.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | public enum TemplateKey { 4 | RESULT_COUNT("results", Messages.TemplateKey_RESULT_DESCRIPTION), //$NON-NLS-1$ 5 | NAME_COUNT ("name", Messages.TemplateKey_NAME_DESCRIPTION), //$NON-NLS-1$ 6 | ERROR_COUNT ("error_counts", Messages.TemplateKey_ERROR_COUNT_DESCRIPTION), //$NON-NLS-1$ 7 | // Result.IGNORED is not available on 3.5 platform 8 | // IGNORE_COUNT("ignore_count",Messages.TemplateKey_IGNORE_COUNT_DESCRIPTION), //$NON-NLS-1$ 9 | FAIL_COUNT ("fail_counts", Messages.TemplateKey_FAILURE_COUNT_DESCRIPTION), //$NON-NLS-1$ 10 | OK_COUNT ("ok_counts", Messages.TemplateKey_OK_COUNT_DESCRIPTION), //$NON-NLS-1$ 11 | TOTAL_COUNT ("total_counts", Messages.TemplateKey_TOTAL_COUNT_DESCRIPTION); //$NON-NLS-1$ 12 | 13 | private String key; 14 | private String description; 15 | 16 | TemplateKey(String key,String description){ 17 | this.key = key; 18 | this.description = description; 19 | } 20 | 21 | public String regexKey(){ 22 | return String.format("\\$\\{%s\\}",key);//$NON-NLS-1$ 23 | } 24 | 25 | public String key(){ 26 | return String.format("${%s}",key);//$NON-NLS-1$ 27 | } 28 | 29 | public String descrpition(){ 30 | return description; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/TemplateParser.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | import org.eclipse.jdt.junit.model.ITestRunSession; 4 | 5 | import static junit.extensions.eclipse.quick.process.internal.TemplateKey.*; 6 | 7 | class TemplateParser { 8 | 9 | private String template; 10 | private TestCounter counter = new TestCounter(); 11 | 12 | public TemplateParser() { 13 | } 14 | 15 | String pickupTestClassAndMethod(String testName){ 16 | if(testName == null) return null; 17 | if(testName.indexOf('.') != 0){ 18 | String[] split = testName.split("\\."); //$NON-NLS-1$ 19 | if(split.length > 2){ 20 | return split[split.length - 2] + "." + split[split.length - 1]; //$NON-NLS-1$ 21 | } 22 | } 23 | return testName; 24 | } 25 | 26 | public String parseTemplate(ITestRunSession session) { 27 | String result = null; 28 | result = replaceResult(session,template); 29 | result = replaceCount(session,result); 30 | result = replaceName(session, result); 31 | return result; 32 | } 33 | 34 | 35 | private String replaceCount(ITestRunSession session, String result) { 36 | counter.count(session); 37 | result = result.replaceAll(key(TOTAL_COUNT), String.valueOf(counter.getTotalTests())); 38 | result = result.replaceAll(key(OK_COUNT), String.valueOf(counter.getOKTests())); 39 | result = result.replaceAll(key(FAIL_COUNT), String.valueOf(counter.getFailureTests())); 40 | // result = result.replaceAll(key(IGNORE_COUNT), String.valueOf(counter.getIgnoreTests())); 41 | result = result.replaceAll(key(ERROR_COUNT), String.valueOf(counter.getErrorTests())); 42 | return result; 43 | } 44 | 45 | private String replaceResult(ITestRunSession session,String target) { 46 | String result = target.replaceAll(key(RESULT_COUNT), session.getTestResult(true).toString()); 47 | return result; 48 | } 49 | 50 | 51 | private String replaceName(ITestRunSession session, String target) { 52 | String testName = session.getTestRunName(); 53 | target = target.replaceAll(key(NAME_COUNT), pickupTestClassAndMethod(testName)); 54 | return target; 55 | } 56 | 57 | private String key(TemplateKey key){ 58 | return key.regexKey(); 59 | } 60 | 61 | public void setTemplate(String template) { 62 | this.template = template; 63 | } 64 | 65 | void setCounter(TestCounter counter) { 66 | this.counter = counter; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/TestCounter.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal; 2 | 3 | import org.eclipse.jdt.junit.model.ITestElement; 4 | import org.eclipse.jdt.junit.model.ITestElementContainer; 5 | import org.eclipse.jdt.junit.model.ITestRunSession; 6 | import org.eclipse.jdt.junit.model.ITestElement.Result; 7 | 8 | public class TestCounter { 9 | 10 | private int totalTests; 11 | private int okTests; 12 | private int failureTests; 13 | private int ignoreTests; 14 | private int errorTests; 15 | 16 | public TestCounter() { 17 | } 18 | 19 | public void count(ITestRunSession session){ 20 | reset(); 21 | count((ITestElementContainer)session); 22 | } 23 | 24 | private void reset() { 25 | totalTests = 0; 26 | okTests = 0; 27 | failureTests = 0; 28 | ignoreTests = 0; 29 | errorTests = 0; 30 | } 31 | 32 | private void count(ITestElementContainer container) { 33 | ITestElement[] children = container.getChildren(); 34 | if(children == null) return; 35 | for(ITestElement element : children){ 36 | if (element instanceof ITestElementContainer) { 37 | ITestElementContainer cont = (ITestElementContainer) element; 38 | count(cont); 39 | continue; 40 | } 41 | totalTests++; 42 | Result result = element.getTestResult(false); 43 | if(result == null) continue; 44 | if(result.equals(Result.IGNORED)) ignoreTests++; 45 | if(result.equals(Result.OK)) okTests++; 46 | if(result.equals(Result.FAILURE)) failureTests++; 47 | if(result.equals(Result.ERROR)) errorTests++; 48 | } 49 | } 50 | 51 | public int getTotalTests(){ 52 | return totalTests; 53 | } 54 | 55 | public int getOKTests(){ 56 | return okTests; 57 | } 58 | 59 | public int getFailureTests() { 60 | return failureTests; 61 | } 62 | 63 | public int getIgnoreTests() { 64 | return ignoreTests; 65 | } 66 | 67 | public int getErrorTests() { 68 | return errorTests; 69 | } 70 | 71 | } 72 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/messages.properties: -------------------------------------------------------------------------------- 1 | TemplateKey_ERROR_COUNT_DESCRIPTION=show launched error tests count 2 | TemplateKey_FAILURE_COUNT_DESCRIPTION=show launched failure tests count 3 | TemplateKey_IGNORE_COUNT_DESCRIPTION=show launched ignore tests count 4 | TemplateKey_NAME_DESCRIPTION=show launched test name 5 | TemplateKey_OK_COUNT_DESCRIPTION=show launched ok tests count 6 | TemplateKey_RESULT_DESCRIPTION=show launched All test results 7 | TemplateKey_TOTAL_COUNT_DESCRIPTION=show launched total tests count 8 | ProcessKey_DETAIL_DESCRIPTION=show test results detail 9 | ProcessKey_SUMMARY_DESCRIPTION=show test results summary 10 | TestRunListener_ERROR_MESSAGE=Error has occured. 11 | TestRunListener_TWEET_JOB_MESSAGE=Now tweeting results 12 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/messages_ja.properties: -------------------------------------------------------------------------------- 1 | TemplateKey_ERROR_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u30a8\u30e9\u30fc(Error)\u6570 2 | TemplateKey_FAILURE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u5931\u6557(Failure)\u6570 3 | TemplateKey_IGNORE_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u7121\u52b9(Ignore)\u6570 4 | TemplateKey_NAME_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u540d 5 | TemplateKey_OK_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u306e\u6210\u529f(OK)\u6570 6 | TemplateKey_RESULT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c 7 | TemplateKey_TOTAL_COUNT_DESCRIPTION=\u5b9f\u884c\u3057\u305f\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u6570 8 | ProcessKey_DETAIL_DESCRIPTION=\u30d7\u30ed\u30bb\u30b9\u306b\u6e21\u3059\u30c6\u30b9\u30c8\u7d50\u679c\u8a73\u7d30 9 | ProcessKey_SUMMARY_DESCRIPTION=\u30d7\u30ed\u30bb\u30b9\u306b\u6e21\u3059\u30c6\u30b9\u30c8\u7d50\u679c 10 | TestRunListener_ERROR_MESSAGE=\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u307e\u3057\u305f\u3002 11 | TestRunListener_TWEET_JOB_MESSAGE=\u305f\u3060\u3044\u307e\u7d50\u679c\u3092\u3064\u3076\u3084\u3044\u3066\u3044\u307e\u3059\u3002 12 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/preferences/Messages.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal.preferences; 2 | 3 | import org.eclipse.osgi.util.NLS; 4 | 5 | public class Messages extends NLS { 6 | private static final String BUNDLE_NAME = "junit.extensions.eclipse.quick.process.internal.preferences.messages"; //$NON-NLS-1$ 7 | public static String ProcessPreferencePage_description; 8 | public static String ProcessPreferencePage_template_group; 9 | public static String ProcessPreferencePage_process_group; 10 | static { 11 | // initialize resource bundle 12 | NLS.initializeMessages(BUNDLE_NAME, Messages.class); 13 | } 14 | 15 | private Messages() { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/preferences/Preference.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal.preferences; 2 | 3 | import junit.extensions.eclipse.quick.process.internal.ProcessActivator; 4 | 5 | import org.eclipse.jface.preference.IPreferenceStore; 6 | 7 | 8 | /** 9 | * Constants for plug-in preferences 10 | */ 11 | public enum Preference { 12 | 13 | TEMPLATE, PROCESS; 14 | 15 | public String getValue() { 16 | IPreferenceStore store = ProcessActivator.getDefault().getPreferenceStore(); 17 | return store.getString(name()); 18 | } 19 | 20 | public void setValue(String value){ 21 | IPreferenceStore store = ProcessActivator.getDefault().getPreferenceStore(); 22 | store.setValue(name(), value); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/preferences/PreferenceInitializer.java: -------------------------------------------------------------------------------- 1 | package junit.extensions.eclipse.quick.process.internal.preferences; 2 | 3 | import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 4 | 5 | import org.eclipse.jface.preference.IPreferenceStore; 6 | 7 | import junit.extensions.eclipse.quick.process.internal.ProcessActivator; 8 | 9 | import static junit.extensions.eclipse.quick.process.internal.preferences.Preference.*; 10 | 11 | /** 12 | * Class used to initialize default preference values. 13 | */ 14 | public class PreferenceInitializer extends AbstractPreferenceInitializer { 15 | 16 | public void initializeDefaultPreferences() { 17 | IPreferenceStore store = ProcessActivator.getDefault().getPreferenceStore(); 18 | store.setDefault(PROCESS.name(), "/usr/local/bin/growlnotify -n \"Quick JUnit\" -m ${detail} ${summary}"); //$NON-NLS-1$ 19 | store.setDefault(TEMPLATE.name(), "${name} passed:${ok_counts} failure:${fail_counts} Total:${total_counts}"); //$NON-NLS-1$ 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/preferences/messages.properties: -------------------------------------------------------------------------------- 1 | ProcessPreferencePage_description=Template customize to notify to run process 2 | ProcessPreferencePage_template_group=Template 3 | ProcessPreferencePage_process_group=Process 4 | -------------------------------------------------------------------------------- /stable/process/junit.extensions.eclipse.quick.process/src/junit/extensions/eclipse/quick/process/internal/preferences/messages_ja.properties: -------------------------------------------------------------------------------- 1 | ProcessPreferencePage_description=\u30d7\u30ed\u30bb\u30b9\u306b\u6e21\u3059\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 2 | ProcessPreferencePage_template_group=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 3 | ProcessPreferencePage_process_group=\u30d7\u30ed\u30bb\u30b9 4 | -------------------------------------------------------------------------------- /stable/process/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | process 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.process 10 | junit.extensions.eclipse.quick.process.test 11 | junit.extensions.eclipse.quick.process.feature 12 | 13 | 14 | 15 | junit.extensions.eclipse.quick 16 | stable 17 | 0.8.0-SNAPSHOT 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.template.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | feature.properties 3 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | This feature provides some template for contents assist.The templates are below. 11 | A : insert @After method 12 | B : insert @Before mehtod 13 | AC : insert @AfterClass method 14 | BC : insert @BeforeClass method 15 | 16 | 17 | 18 | Copyright (C) 2003-2010 Masaru Ishii,The Quick JUnit Plugin Project. 19 | All Rights Reserved. 20 | 21 | 22 | 23 | %license 24 | 25 | 26 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | template 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.template.feature 12 | eclipse-feature 13 | 0.1.0.qualifier 14 | 15 | 16 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | junit.extensions.eclipse.quick.template 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.ManifestBuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.SchemaBuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.pde.PluginNature 21 | 22 | 23 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Quick JUnit Contents Assist Template 4 | Bundle-SymbolicName: junit.extensions.eclipse.quick.template;singleton:=true 5 | Bundle-Version: 0.2.0.qualifier 6 | Bundle-Vendor: Quick JUnit Plugin Project 7 | Require-Bundle: org.eclipse.ui.editors 8 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | plugin.xml 3 | -------------------------------------------------------------------------------- /stable/template/junit.extensions.eclipse.quick.template/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | junit.extensions.eclipse.quick 7 | template 8 | 0.8.0-SNAPSHOT 9 | 10 | 11 | junit.extensions.eclipse.quick.template 12 | eclipse-plugin 13 | 0.2.0.qualifier 14 | 15 | 16 | 17 | 18 | org.eclipse.tycho 19 | tycho-maven-plugin 20 | ${tycho-version} 21 | true 22 | 23 | 24 | org.eclipse.tycho 25 | target-platform-configuration 26 | ${tycho-version} 27 | 28 | 29 | 30 | macosx 31 | cocoa 32 | x86 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /stable/template/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | junit.extensions.eclipse.quick 5 | template 6 | 0.8.0-SNAPSHOT 7 | pom 8 | 9 | junit.extensions.eclipse.quick.template 10 | junit.extensions.eclipse.quick.template.feature 11 | 12 | 13 | 14 | junit.extensions.eclipse.quick 15 | stable 16 | 0.8.0-SNAPSHOT 17 | 18 | 19 | 20 | --------------------------------------------------------------------------------