blob: 524d60380cc8bdcb3ac62c75200715a0f7ee4baa [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Name=Java Testrunner
NAME_JUnitMethodProvider=junit
NAME_TestNGMethodProvider=testng
# Create Tests dialog
LBL_ClassToTest=&Class to Test:
LBL_PackageToTest=Package:
LBL_MultipleClassesSelected=More than one class is selected...
LBL_ClassName=Class &Name:
LBL_Location=&Location:
LBL_Framework=&Framework:
DefaultPackageName=<default package>
MSG_ClassnameMustNotBeEmpty=Class name must be specified.
MSG_InvalidClassName=Invalid class name
MSG_ClassNameNotDefault=Warning: You will not be able to navigate between the test class and the tested class if a non-default name is used.
MSG_ClassNameEndNotTest=Warning: The project's infrastructure may not be able to initiate execution of the test class if its name does not end with \"Test\".
MSG_NoTestTarget_Fo=Unable to locate test package folders for folder "{0}". The project must contain a test package folder to create tests. You can designate test package folders for your project in the Sources pane of the project Properties dialog.
MSG_NoTestTarget_Fi=Unable to locate test package folder for file "{0}". The project must contain a test package folder to create tests. You can designate test package folders for your project in the Sources pane of the project Properties dialog.
MSG_NoTestFolderFoundInProject=Unable to locate test package folders in project "{0}". The project must contain a test package folder to create tests. You can designate test package folders for your project in the Sources pane of the project Properties dialog.
MSG_MODIFIED_FILES=Warning: All modified files will be saved.
LBL_OK=OK
AN_OK=Confirm options
AD_OK=Confirm options
MSG_StatusBar_CreateTest_Begin=Creating tests ...
MSG_StatusBar_CreateTests_Finished=Tests created.
MSG_StatusBar_CreateTests_Cancelled=Tests generation cancelled.
#fanis#LBL_Action_Tests=JUnit Tests
#fanis#LBL_junit_settings=JUnit Module Settings
FMT_generator_status_ignoring=Ignoring: {0} ...
LBL_Action_OpenTest=JUnit Test
LBL_Action_GoToTest=Go to Test
LBL_Action_GoToTest_trimmed=Test
LBL_Action_GoToSource=Go to Tested Class
LBL_Action_GoToOpposite_Keystroke=ctrl alt k
HINT_Action_OpenTest=Open test class
HINT_Action_GoToTest=Jumps to the corresponding test class or source class
HINT_Action_CreateTest=Create test skeleton
#used in JUnitSettingsBeanInfo
LBL_value_not_found=(value not found)
HINT_internex=<description of first property>
FMT_generator_status_creating=Creating: {0} ...
FMT_generator_status_scanning=Scanning: {0} ...
LBL_generator_progress_title=Generating JUnit tests
MSG_file_from_node_failed=File cannot be found for selected node.
MSG_test_class_not_found=Test class for class "{0}" was not found.
MSG_testsuite_class_not_found_def_pkg=Test class for the default package was not found.
MSG_testsuite_class_not_found=Test class for package "{0}" was not found.
MSG_testsuite_class_for_root_package_not_found=Suite class "{0}" for root package was not found.
MSG_no_project=Source file {0} does not belong to any project.
MSG_no_tests_in_project=JUnit testing is not set up for source file {0}. \
Usually this means that you must first activate JUnit testing in the project \
that this source file belongs to.
MSG_testdir_not_found=The directory {0} for tests was not found.
MSG_multiproject_selection=The selection cannot span multiple projects.
MSG_invalid_packages=Some package or class names are invalid. Cannot proceed.
MSG_cannot_set_junit_ver=Cannot update set of project's libraries
# TestCreator
TestCreator.suiteMethod.JavaDoc.comment=suite method automatically generated by JUnit module
#PARTI18N the localized message needs to be put after the '//' characters
TestCreator.suiteMethod.suiteBlock.comment=// if "JUNIT" tags are present, the body will be regenerated each time a suite class is created
TestCreator.variantMethods.JavaDoc.comment=Test of {0} method, of class {1}.
#PARTI18N - the localized message needs to be put after the 'TODO' characters
TestCreator.variantMethods.defaultComment=TODO review the generated test code and remove the default call to fail.
TestCreator.variantMethods.onlyComment=TODO add your test code.
TestCreator.variantMethods.defaultFailMsg=The test case is a prototype.
TestCreator.abstracImpl.JavaDoc.comment=Generated implementation of abstract class {0}. Please modify the sample bodies of generated methods.
#PARTI18N - the localized message needs to be put after the '// TODO' characters
TestCreator.methodImpl.bodyComment=// TODO fill the body in order to provide useful implementation
TestCreator.javaClass.addTestsHereComment.l1=// TODO add test methods here. The name must begin with 'test'. For example:
TestCreator.javaClass.addTestsHereComment.l2=// public void testHello() {}
# Create tests window
CommonTestsCfgOfCreate.Title=Create Tests
CommonTestsCfgOfCreate.AD=Create Tests
# Class name
CommonTestsCfgOfCreate.clsName.toolTip=Name of the test class
CommonTestsCfgOfCreate.clsName.AN=Test Class Name
CommonTestsCfgOfCreate.clsName.AD=Name of the test class to be created
# Location
CommonTestsCfgOfCreate.location.toolTip=Target source root for the test class
CommonTestsCfgOfCreate.location.AN=Test Class Location
CommonTestsCfgOfCreate.location.AD=Target source root for the test class
# Testing Framework
CommonTestsCfgOfCreate.framework.toolTip=Testing framework for the test class
CommonTestsCfgOfCreate.framework.AN=Test Class Testing framework
CommonTestsCfgOfCreate.framework.AD=Testing framework for the test class
# Generate Integration Tests
CommonTestsCfgOfCreate.chkIntegrationTests.text=\ &Integration Tests
CommonTestsCfgOfCreate.chkIntegrationTests.toolTip=Generate Integration Tests.
CommonTestsCfgOfCreate.chkIntegrationTests.AN=Integration Tests
CommonTestsCfgOfCreate.chkIntegrationTests.AD=Generate Integration Tests.
# Generate options
CommonTestsCfgOfCreate.jpCodeGen.title=\ Code Generation\
# Generate tests for public methods
CommonTestsCfgOfCreate.chkPublic.text=\ &Public
CommonTestsCfgOfCreate.chkPublic.toolTip=Generate tests for public member methods.
CommonTestsCfgOfCreate.chkPublic.AN=Public Methods
CommonTestsCfgOfCreate.chkPublic.AD=Generate tests for public member methods.
PROP_members_public=Generate Tests for Public Member Methods
HINT_members_public=Generate Tests for Public Member Methods
# Generate tests for protected methods
CommonTestsCfgOfCreate.chkProtected.text=\ Pr&otected
CommonTestsCfgOfCreate.chkProtected.toolTip=Generate tests for protected member methods.
CommonTestsCfgOfCreate.chkProtected.AN=Protected Methods
CommonTestsCfgOfCreate.chkProtected.AD=Generate tests for protected member methods.
PROP_members_protected=Generate Tests for Protected Member Methods
HINT_members_protected=Generate Tests for Protected Member Methods
# Generate tests for package private methods
CommonTestsCfgOfCreate.chkPackage.text=\ Pac&kage Private
CommonTestsCfgOfCreate.chkPackage.toolTip=Generate tests for default member methods.
CommonTestsCfgOfCreate.chkPackage.AN=Package Private Methods
CommonTestsCfgOfCreate.chkPackage.AD=Generate tests for default member methods.
PROP_members_package=Generate Tests for Default Member Methods
HINT_members_package=Generate Tests for Default Member Methods
# Generate Comments
CommonTestsCfgOfCreate.chkComments.text=\ Source Code H&ints
CommonTestsCfgOfCreate.chkComments.toolTip=Generate comments in test method bodies.
CommonTestsCfgOfCreate.chkComments.AN=Generate Source Code Hints
CommonTestsCfgOfCreate.chkComments.AD=Generate comments in test method bodies.
PROP_body_comments=Generate Comments in Test Method Bodies
HINT_body_comments=Generate Comments
# Generate default bodies
CommonTestsCfgOfCreate.chkContent.text=\ Default &Method Bodies
CommonTestsCfgOfCreate.chkContent.toolTip=Generate default bodies of test methods.
CommonTestsCfgOfCreate.chkContent.AN=Generate Default Method Bodies
CommonTestsCfgOfCreate.chkContent.AD=Generate default bodies of test methods.
PROP_body_content=Generate Default Bodies of Test Methods
HINT_body_content=Generate Default Bodies of Test Methods
# Generate Javadoc
CommonTestsCfgOfCreate.chkJavaDoc.text=\ &Javadoc Comments
CommonTestsCfgOfCreate.chkJavaDoc.toolTip=Generate Javadoc comments.
CommonTestsCfgOfCreate.chkJavaDoc.AN=Generate Javadoc Comments
CommonTestsCfgOfCreate.chkJavaDoc.AD=Generate Javadoc comments.
PROP_javadoc=Generate Javadoc Comments
HINT_javadoc=Generate Javadoc Comments
# Include abstract classes
CommonTestsCfgOfCreate.chkAbstractImpl.text=\ &Abstract Classes
CommonTestsCfgOfCreate.chkAbstractImpl.toolTip=Generate tests for abstract classes.
CommonTestsCfgOfCreate.chkAbstractImpl.AN=Include Abstract Classes
CommonTestsCfgOfCreate.chkAbstractImpl.AD=Include abstract classes.
PROP_generate_abstract_impl=Include Abstract Classes
HINT_generate_abstract_impl=Generate Tests for Abstract Classes
# Include exceptions
CommonTestsCfgOfCreate.chkExceptions.text=\ &Exception Classes
CommonTestsCfgOfCreate.chkExceptions.toolTip=Generate tests for exception classes.
CommonTestsCfgOfCreate.chkExceptions.AN=Include Exception Classes
CommonTestsCfgOfCreate.chkExceptions.AD=Include exception classes.
HINT_generate_exception_classes=Generate Tests for Exception Classes
PROP_generate_exception_classes=Include Exception Classes
# Include Package Private Classes
CommonTestsCfgOfCreate.chkPackagePrivateClasses.text=\ Packa&ge Private Classes
CommonTestsCfgOfCreate.chkPackagePrivateClasses.toolTip=Generate tests for package private classes.
CommonTestsCfgOfCreate.chkPackagePrivateClasses.AN=Include Package Private Classes
CommonTestsCfgOfCreate.chkPackagePrivateClasses.AD=Include package private classes.
PROP_include_package_private_classes=Include Package Private Classes
HINT_include_package_private_classes=Generate Tests for Package Private Classes
# Generate suites
CommonTestsCfgOfCreate.chkGenerateSuites.text=\ Gene&rate Test Suites
CommonTestsCfgOfCreate.chkGenerateSuites.toolTip=Generate suite classes.
CommonTestsCfgOfCreate.chkGenerateSuites.AN=Generate Suite Classes
CommonTestsCfgOfCreate.chkGenerateSuites.AD=Generate suite classes.
PROP_generate_suite_classes=Generate Suite Classes
HINT_generate_suite_classes=Generate Suite Classes
# Generate setUp() or @Before method
CommonTestsCfgOfCreate.chkSetUp.text=\ Te&st Initializer
CommonTestsCfgOfCreate.chkSetUp.toolTip=setUp() / @Before
CommonTestsCfgOfCreate.chkSetUp.AN=Generate Test Initializer Method
CommonTestsCfgOfCreate.chkSetUp.AD=Generate test initializer method. The method will be either the setUp method or a method with annotation "Before"
# Generate tearDown() or @After method
CommonTestsCfgOfCreate.chkTearDown.text=\ Test Finali&zer
CommonTestsCfgOfCreate.chkTearDown.toolTip=tearDown() / @After
CommonTestsCfgOfCreate.chkTearDown.AN=Generate Test Finalizer Method
CommonTestsCfgOfCreate.chkTearDown.AD=Generate test finalizer method. The method will be either the tearDown method or a method with annotation "After"
# Generate @BeforeClass method
CommonTestsCfgOfCreate.chkBeforeClass.text=\ Test Class Initializer
CommonTestsCfgOfCreate.chkBeforeClass.toolTip=setUpClass() / @BeforeClass
CommonTestsCfgOfCreate.chkBeforeClass.AN=Generate Test Class Initializer Method
CommonTestsCfgOfCreate.chkBeforeClass.AD=Generate initialization method annotated with the BeforeClass annotation
# Generate @AfterClass method
CommonTestsCfgOfCreate.chkAfterClass.text=\ Test Class Finalizer
CommonTestsCfgOfCreate.chkAfterClass.toolTip=tearDownClass() / @AfterClass
CommonTestsCfgOfCreate.chkAfterClass.AN=Generate Test Class Finalizer Method
CommonTestsCfgOfCreate.chkAfterClass.AD=Generate finalizer method annotated with the AfterClass annotation
# CheckBox group titles
CommonTestsCfgOfCreate.groupAccessLevels=Method Access Levels
CommonTestsCfgOfCreate.groupClassTypes=Class Types
CommonTestsCfgOfCreate.groupOptClasses=Optional Classes
CommonTestsCfgOfCreate.groupOptCode=Generated Code
CommonTestsCfgOfCreate.groupOptComments=Generated Comments
# Generate main method
PROP_generate_main_method=Generate main Method
HINT_generate_main_method=Generate main Method
PROP_generate_main_method_body=Body of the main Method
HINT_generate_main_method_body=Body of the main Method
# Generate test initializers and finalizers
PROP_generate_setUp=Generate Test Initializer
HINT_generate_setUp=setUp() or @Before
PROP_generate_tearDown=Generate Test Finalizer
HINT_generate_tearDown=tearDown() or @After
PROP_generate_class_setUp=Generate Test Class Initializer
HINT_generate_class_setUp=@BeforeClass
PROP_generate_class_tearDown=Generate Test Class Finalizer
HINT_generate_class_tearDown=@AfterClass
#NOI18N - this value is in .properties just to allow branding
PROP_generate_setUp_default=true
#NOI18N - this value is in .properties just to allow branding
PROP_generate_tearDown_default=true
#NOI18N - this value is in .properties just to allow branding
PROP_generate_class_setUp_default=true
#NOI18N - this value is in .properties just to allow branding
PROP_generate_class_tearDown_default=true
# test skeleton generator (JUnit 3 / JUnit 4 / ...)
PROP_generator=Test Skeleton Generator
HINT_generator=Test Skeleton Generator
LBL_JUnit3_generator=JUnit &3.x
AD_JUnit3_generator=Create tests based on JUnit 3.x
LBL_JUnit4_generator=JUnit &4.x
AD_JUnit4_generator=Create tests based on JUnit 4.x
LBL_JUnit4_generator_reqs=JUnit &4.x (requires source level 1.5+)
AD_JUnit4_generator_reqs=JUnit 4.x (requires source level 1.5+)
LBL_JUnit_generator_ask_user=ask
LBL_title_select_generator=Select JUnit Version
AD_title_select_generator=Select JUnit Version
MSG_select_junit_version_srclvl_unknown=Unable to detect source level of the project. \
Select JUnit version for which the created test \
skeletons should be created:
MSG_select_junit_version=Select JUnit version for which the created test \
skeletons should be created:
LBL_Select=&Select
AD_Select = Select Junit test version
AN_Select = Select Junit test version
LBL_title_cannot_use_junit4=Cannot Create JUnit 4.x Tests
LBL_create_junit3_tests=Create JUnit 3.x tests
AD_create_junit3_tests=Create JUnit 3.x tests
AN_create_junit3_tests=Create JUnit 3.x tests
MSG_last_was_junit4_what_now=Previous JUnit tests created for this project \
were JUnit 4.x tests. \
The project''s source level is currently set to {0}. \
This source level does not support JUnit 4.x tests. \
Do you want to create JUnit 3.x tests instead?
MSG_cannot_use_default_junit4=The JUnit module is set to create JUnit 4.x tests \
by default. The project in which you want to \
create tests has source level set to {0}. \
This source level does not support creating JUnit 4.x tests. \
Do you want to create JUnit 3.x tests instead?
#NOI18N - this property should not be localized - it is Java code
PROP_generate_main_method_body_default_value=junit.textui.TestRunner.run(suite());
# Test class & test suite templates for JUnit 3.x tests
#NOI18N - this value is in .properties just to allow branding
PROP_junit3_testClassTemplate=Templates/JUnit/JUnit3TestClass.java
#NOI18N - this value is in .properties just to allow branding
PROP_junit3_testSuiteTemplate=Templates/JUnit/JUnit3Suite.java
# Test class & test suite templates for JUnit 4.x tests
#NOI18N - this value is in .properties just to allow branding
PROP_junit4_testClassTemplate=Templates/JUnit/JUnit4TestClass.java
#NOI18N - this value is in .properties just to allow branding
PROP_junit4_testSuiteTemplate=Templates/JUnit/JUnit4Suite.java
# Test case classname prefix/suffix
#NOI18N - this value is in .properties just to allow branding
PROP_test_classname_prefix=
#NOI18N - this value is in .properties just to allow branding
PROP_test_classname_suffix=Test
#NOI18N - this value is in .properties just to allow branding
PROP_integration_test_classname_suffix=IT
# Test suite classname prefix/suffix
#NOI18N - this value is in .properties just to allow branding
PROP_suite_classname_prefix=
#NOI18N - this value is in .properties just to allow branding
PROP_suite_classname_suffix=Suite
PROP_root_suite_classname=Root Suite Class Name
HINT_root_suite_classname=Root Suite Class Name
#NOI18N - this value is in .properties just to allow branding
PROP_root_suite_classname_default_value=RootSuite
#NOI18N - this value is in .properties just to allow branding
PROP_generate_tests_from_test_classes=false
#
# Layer stuff
#
# Help stuff
Menu/Help/HelpShortcuts/org-netbeans-modules-junit-mainpage.xml=JUnit Module Help
Actions/Help/org-netbeans-modules-junit-mainpage.xml=JUnit Module Help
# Options stuff
Actions/JUnitTests=JUnit Tests
# Templates stuff
Templates/JUnit=JUnit
Templates/JUnit/SimpleJUnitTest.java=Test for Existing Class
Templates/JUnit/EmptyJUnitTest.java=JUnit Test
Templates/JUnit/TestSuite.java=Test Suite
Templates/JUnit/JUnit3TestClass.java=Test Class - JUnit 3.x
Templates/JUnit/JUnit3Suite.java=Test Suite - JUnit 3.x
Templates/JUnit/JUnit4TestClass.java=Test Class - JUnit 4.x
Templates/JUnit/JUnit4Suite.java=Test Suite - JUnit 4.x
Templates/JUnit/junit-custom.xml=Custom junit execution script