Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public AssertionResult getResult(SampleResult response) {
} catch (CompletionException|SaxonApiException e) { // NOSONAR We handle exception within result failure message
result.setError(true);
// CompletionException happens if caching fails
result.setFailureMessage("Exception occured computing assertion with XPath:" + getXPathString() + ", error:" + e.getMessage());
result.setFailureMessage("Exception occurred computing assertion with XPath:" + getXPathString() + ", error:" + e.getMessage());
return result;
}
return result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void setNegated(boolean negated) {
}

/**
* Negated chechbox
* Negated checkbox
*
* @return JCheckBox
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void setNegated(boolean negated) {
}

/**
* Negated chechbox
* Negated checkbox
*
* @return JCheckBox
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class TestAction extends AbstractSampler implements Interruptible {
*/
public static final int RESTART_NEXT_LOOP = 3;
/**
* Start next iteration of Current Looop
* Start next iteration of Current Loop
*/
public static final int START_NEXT_ITERATION_CURRENT_LOOP = 4;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void resetTextToFind() {
}

private Pattern createPattern(String textToFind) {
// desactivate or not specials regexp char
// deactivate or not specials regexp char
String textToFindQ = regexpChkBox.isSelected() ? textToFind : Pattern.quote(textToFind);
return caseChkBox.isSelected() ? Pattern.compile(textToFindQ) :
Pattern.compile(textToFindQ, Pattern.CASE_INSENSITIVE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class BackendListenerGui extends AbstractListenerGui implements ActionLis
/** A panel allowing the user to set arguments for this test. */
private ArgumentsPanel argsPanel;

/** The current className of the Backend listenenr **/
/** The current className of the Backend listener **/
private String className;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static final String tagToStringValue(String s) {

/**
* For field always use a backslash character
* \ to escape " caractere
* \ to escape " character
*/
static final String fieldToStringValue(String s) {
return s.trim().replaceAll("\"", "\\\\\"");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void testBadXpathFormat() throws FactoryConfigurationError {
response.setResponseData(xmlDoc, "UTF-8");
AssertionResult res = assertion.getResult(response);
assertTrue("When format of xpath is wrong, the test should failed",res.isError());
assertTrue(res.getFailureMessage().contains("Exception occured computing assertion with XPath"));
assertTrue(res.getFailureMessage().contains("Exception occurred computing assertion with XPath"));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public void testWithoutSuitableNamespaces() {
AssertionResult res = assertion.getResult(jmctx.getPreviousResult());
log.debug(" res {}", res.isError());
log.debug(" failure {}", res.getFailureMessage());
assertTrue("When the user give namspaces, un transformerException should be throw",
assertTrue("When the user give namespaces, un transformerException should be throw",
res.getFailureMessage().contains("TransformerException"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class TransactionController extends GenericController implements SampleLi
private transient int noFailingSamples;

/**
* Cumulated pause time to excluse timer and post/pre processor times
* Cumulated pause time to exclude timer and post/pre processor times
* Only used in NON parent Mode
*/
private transient long pauseTime;
Expand Down Expand Up @@ -263,7 +263,7 @@ public void triggerEndOfLoop() {
// See Bug 56811
// triggerEndOfLoop is called when error occurs to end Main Loop
// in this case normal workflow doesn't happen, so we need
// to notify the childs of TransactionController and
// to notify the child of TransactionController and
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably meant children here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, you're right :)

// update them with SubSamplerResult
if(subSampler instanceof TransactionSampler) {
TransactionSampler tc = (TransactionSampler) subSampler;
Expand Down Expand Up @@ -292,7 +292,7 @@ protected void notifyListeners() {
} else {
SampleEvent event = new SampleEvent(res, threadContext.getThreadGroup().getName(),threadVars, true);
// We must set res to null now, before sending the event for the transaction,
// so that we can ignore that event in our sampleOccured method
// so that we can ignore that event in our sampleOccurred method
res = null;
lnf.notifyListeners(event, pack.getSampleListeners());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class SearchTreeCommand extends AbstractAction {
* This method tries to find a JFrame ancestor from the specified source in
* order to be the parent of the search dialog.<br>
* With no parent set the search dialog might be hidden by the main JFrame when
* focus is transfered to that JFrame.
* focus is transferred to that JFrame.
* </p>
* <p>
* If no parent if found, then we give up and build a search dialog with no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private static class TristateCheckBoxIcon implements Icon, UIResource, Serializa
private final int iconWidth;

public TristateCheckBoxIcon() {
// Assume that the UI has not changed since the checkbos was created
// Assume that the UI has not changed since the checkbox was created
UIDefaults defaults = UIManager.getLookAndFeelDefaults();
final Icon icon = (Icon) defaults.get("CheckBox.icon");
iconHeight = icon.getIconHeight();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public int getColumnCount() {
* based)
* @return The column name of the ith column
* @throws IndexOutOfBoundsException
* If the requested columln does not exist (&lt; 0 or &gt;
* If the requested column does not exist (&lt; 0 or &gt;
* <code>getColumnCount()</code>)
*/
public String getColumnName(int i) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public interface SampleConsumer extends SampleProcessor {
* channel.
*
* @param sampleMetadata
* The sample metadata that are beeing consumed for the
* The sample metadata that are being consumed for the
* associated channel
* @param channel
* The channel whose sample metadata are beeing defined
* The channel whose sample metadata are being defined
*/
void setConsumedMetadata(SampleMetadata sampleMetadata, int channel);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.jmeter.samplers.SampleResult;

/**
* Base class allowing to select wether we ignore or not TC Sample Results
* Base class allowing to select whether we ignore or not TC Sample Results
*/
abstract class AbstractGraphValueSelector implements GraphValueSelector {
private boolean ignoreTransactionController;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class Summariser extends AbstractTestElement

/*
* N.B. NoThreadClone is used to ensure that the testStarted() methods will share the same
* instance as the sampleOccured() methods, so the testStarted() method can fetch the
* instance as the sampleOccurred() methods, so the testStarted() method can fetch the
* Totals accumulator object for the samples to be stored in.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public class SampleSaveConfiguration implements Cloneable, Serializable {
IS_XML = true;
} else {
if (!CSV.equals(howToSave)) {
log.warn("{} has unexepected value: '{}' - assuming 'csv' format", OUTPUT_FORMAT_PROP, howToSave);
log.warn("{} has unexpected value: '{}' - assuming 'csv' format", OUTPUT_FORMAT_PROP, howToSave);
}
IS_XML = false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public boolean stopThread(String threadName, boolean now) {
}

/**
* Hard Stop JMeterThread thrd and interrupt JVM Thread if interrupt is true
* Hard Stop JMeterThread third and interrupt JVM Thread if interrupt is true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably thread and not third. We could probably get rid of thr*d here at all.

* @param jmeterThread {@link JMeterThread}
* @param jvmThread {@link Thread}
* @param interrupt Interrupt thread or not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* <li>append (true/false)(optional)</li>
* <li>file encoding (optional)</li>
* </ul>
* Returns: true if ok , false if an error occured
* Returns: true if ok , false if an error occurred
*
* @since 5.2
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class TimeFunction extends AbstractFunction {
JMeterUtils.getPropDefault("time.USER2","")); //$NON-NLS-1$
}

// Ensure that these are set, even if no paramters are provided
// Ensure that these are set, even if no parameters are provided
private String format = ""; //$NON-NLS-1$
private String variable = ""; //$NON-NLS-1$

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class TimeShift extends AbstractFunction {
JMeterUtils.getResString("date_to_shift"), JMeterUtils.getResString("value_to_shift"), JMeterUtils.getResString("locale_format"),
JMeterUtils.getResString("function_name_paropt"));

// Ensure that these are set, even if no paramters are provided
// Ensure that these are set, even if no parameters are provided
private String format = ""; //$NON-NLS-1$
private CompoundVariable dateToShiftCompound; // $NON-NLS-1$
private CompoundVariable amountToShiftCompound; // $NON-NLS-1$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public VerticalLayout() {
* to the top with the specified vgap.
*
* @param vgap
* an int value indicating the vertical seperation of the
* an int value indicating the vertical separation of the
* components
*/
public VerticalLayout(int vgap) {
Expand All @@ -110,7 +110,7 @@ public VerticalLayout(int vgap) {
* specified vgap and horizontal alignment.
*
* @param vgap
* an int value indicating the vertical seperation of the
* an int value indicating the vertical separation of the
* components
* @param alignment
* an int value which is one of <code>RIGHT, LEFT,
Expand All @@ -126,7 +126,7 @@ public VerticalLayout(int vgap, int alignment) {
* alignment and anchoring
*
* @param vgap
* an int value indicating the vertical seperation of the
* an int value indicating the vertical separation of the
* components
* @param alignment
* an int value which is one of <code>RIGHT, LEFT, CENTER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public void addFile(String authFile) throws IOException {
String pass = tokens[2];
String domain;
String realm;
if (tokens.length > 3){ // Allow for old format file without the extra columnns
if (tokens.length > 3){ // Allow for old format file without the extra columns
domain = tokens[3];
realm = tokens[4];
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public int getLimitRate() {
}

/**
* Tranform the bandwidth to cps value (byte/s), cps =
* Transform the bandwidth to cps value (byte/s), cps =
* bandwidth*1024/8, the unit of bandwidth in JMeter is measured in kbit/s. And
* the speed in Curl is measured in bytes/second, so the conversion formula is
* cps=limitRate*1024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class TimeoutEnabledQueueRequestor {
* <code>DUPS_OK_ACKNOWLEDGE</code>.
*
* @param session the <code>QueueSession</code> the queue belongs to, session will not be closed by {@link TimeoutEnabledQueueRequestor}
* @param queue the queue to performthe request/reply call on
* @param queue the queue to perform the request/reply call on
*
* @exception JMSException
* if the JMS provider fails to create the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class SmtpPanel extends JPanel {
private SecuritySettingsPanel securitySettingsPanel;

/**
* Creates new form SmtpPanel, standard constructer. Calls
* Creates new form SmtpPanel, standard constructor. Calls
* initComponents();.
*/
public SmtpPanel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SmtpSamplerGui extends AbstractSamplerGui {
private SmtpPanel smtpPanel;

/**
* Creates new SmtpSamplerGui, standard constructer. Calls init();
* Creates new SmtpSamplerGui, standard constructor. Calls init();
*/
public SmtpSamplerGui() {
init();
Expand Down