Skip to content
Open
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
3 changes: 3 additions & 0 deletions tests/corpus/compat_ampersands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
&notanentity &copy &amp &lt &unknown;
================================================================================
&notanentity &copy &amp &lt &unknown;
9 changes: 9 additions & 0 deletions tests/corpus/compat_cpp_references.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AddRequirements({&subsystem1, &subsystem2})
zhash_put(zh, &key, &val, &old_key, &old_value)
\copydetails DenseBase::operator=(const EigenBase<OtherDerived> &other)
DerivedT &operator=(const DerivedT &R);
================================================================================
AddRequirements({&subsystem1, &subsystem2})
zhash_put(zh, &key, &val, &old_key, &old_value)
\copydetails DenseBase::operator=(const EigenBase<OtherDerived> &other)
DerivedT &operator=(const DerivedT &R);
3 changes: 3 additions & 0 deletions tests/corpus/compat_cpp_templates.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
std::vector<code> is valid.
================================================================================
std::vector<code> is valid.
3 changes: 3 additions & 0 deletions tests/corpus/compat_incomplete_template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
std::vector<T
================================================================================
std::vector<T
27 changes: 27 additions & 0 deletions tests/corpus/compat_inline_literals.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Use {@code <code>value</code>} here.
Use {@code <a href="x">text</a>} here.
Use {@code <table><tr><td>value</td></tr></table>} here.
Use {@code std::vector<T} here.
Use {@code a &copy; b &other} here.
Use {@code <!-- text -->} here.

Use ``<code>value</code>`` here.
Use ``<a href="x">text</a>`` here.
Use ``<table><tr><td>value</td></tr></table>`` here.
Use ``std::vector<T`` here.
Use ``a &copy; b &other`` here.
Use ``<!-- text -->`` here.
================================================================================
Use ``<code>value</code>`` here.
Use ``<a href="x">text</a>`` here.
Use ``<table><tr><td>value</td></tr></table>`` here.
Use ``std::vector<T`` here.
Use ``a &copy; b &other`` here.
Use ``<!-- text -->`` here.

Use ``<code>value</code>`` here.
Use ``<a href="x">text</a>`` here.
Use ``<table><tr><td>value</td></tr></table>`` here.
Use ``std::vector<T`` here.
Use ``a &copy; b &other`` here.
Use ``<!-- text -->`` here.
3 changes: 3 additions & 0 deletions tests/corpus/compat_irregular_table.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<table><tr><td colspan="2">&other <!-- keep --> <T</td></tr></table>
================================================================================
<table><tr><td colspan="2">&other <!-- keep --> <T</td></tr></table>
7 changes: 7 additions & 0 deletions tests/corpus/compat_unknown_markup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Text <Unknown>stuff</Unknown>.
Writes XML comment as "<!-- text -->"
Writes XML comment as "<!-- text -- >"
================================================================================
Text <Unknown>stuff</Unknown>.
Writes XML comment as "<!-- text -->"
Writes XML comment as "<!-- text -- >"
3 changes: 3 additions & 0 deletions tests/corpus/enum_inline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/**< input to user code from the simulator */
================================================================================
input to user code from the simulator
15 changes: 15 additions & 0 deletions tests/corpus/html_whitespace.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Get the raw output ratio of the duty cycle signal.
*
* <p> 0 means always low, an output equal to
* GetOutputScaleFactor() means always high.
*
* @return output ratio in raw units
*/
================================================================================
Get the raw output ratio of the duty cycle signal.

0 means always low, an output equal to
GetOutputScaleFactor() means always high.

:returns: output ratio in raw units
11 changes: 11 additions & 0 deletions tests/corpus/link_class_javadoc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Use this method to define your button->command mappings. Buttons can be created by
* instantiating a {@link GenericHID} or one of its subclasses ({@link
* edu.wpi.first.wpilibj.Joystick} or {@link XboxController}), and then calling passing it to a
* {@link edu.wpi.first.wpilibj2.command.button.JoystickButton}.
*/
================================================================================
Use this method to define your button->command mappings. Buttons can be created by
instantiating a :class:`.GenericHID` or one of its subclasses ({@link
edu.wpi.first.wpilibj.Joystick} or :class:`.XboxController`), and then calling passing it to a
:class:`.JoystickButton`.
5 changes: 5 additions & 0 deletions tests/corpus/multiple_single_line.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// Some text goes here.
/// More text.
================================================================================
Some text goes here.
More text.
15 changes: 15 additions & 0 deletions tests/corpus/note_multiline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* This is a paragraph.
*
* @note This is the start of a note that goes over multiple lines.
* This should still be part of the note.
*
* @return entry
*/
================================================================================
This is a paragraph.

.. note:: This is the start of a note that goes over multiple lines.
This should still be part of the note.

:returns: entry
9 changes: 9 additions & 0 deletions tests/corpus/note_one_line.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* NetworkTables struct-encoded value entry.
*
* @note Unlike NetworkTableEntry, the entry goes away when this is destroyed.
*/
================================================================================
NetworkTables struct-encoded value entry.

.. note:: Unlike NetworkTableEntry, the entry goes away when this is destroyed.
23 changes: 23 additions & 0 deletions tests/corpus/param_no_indent.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*
* Sends an error to the driver station.
*
* @param isError true for error, false for warning
* @param errorCode the error code
* @param isLVCode true for a LV error code, false for a standard error code
* @param details the details of the error
* @param location the file location of the errror
* @param callstack the callstack of the error
* @param printMsg true to print the error message to stdout as well as to the
* DS
*/
================================================================================
Sends an error to the driver station.

:param isError: true for error, false for warning
:param errorCode: the error code
:param isLVCode: true for a LV error code, false for a standard error code
:param details: the details of the error
:param location: the file location of the errror
:param callstack: the callstack of the error
:param printMsg: true to print the error message to stdout as well as to the
DS
9 changes: 9 additions & 0 deletions tests/corpus/simple_maths.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This is known to be broken. Output should include an escaped space before the role.

x<sub>1</sub>
x<sup>2</sup>
================================================================================
This is known to be broken. Output should include an escaped space before the role.

x:sub:`1`
x:sup:`2`
3 changes: 3 additions & 0 deletions tests/corpus/snake_case_words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
scale_value(joystick.getThrottle(), 1, -1, 0, 1)
================================================================================
scale_value(joystick.getThrottle(), 1, -1, 0, 1)
23 changes: 23 additions & 0 deletions tests/corpus/tag_soup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
be <b>bold</b>
be <strong>strong</strong>
<i>italics</i>
<em>emphasis</em>
<sub>subscript</sub>
<sup>superscript</sup>

<strong>multiline
strong</strong>
<i>multiline
italics</i>
================================================================================
be **bold**
be **strong**
*italics*
*emphasis*
:sub:`subscript`
:sup:`superscript`

:strong:`multiline
strong`
:emphasis:`multiline
italics`
3 changes: 3 additions & 0 deletions tests/corpus/trailing_underscores.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
...target storage, FRC_ log files are deleted...
================================================================================
...target storage, FRC\_ log files are deleted...
3 changes: 3 additions & 0 deletions tests/corpus/underscore_word.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a sentence where _ is a word
================================================================================
a sentence where _ is a word
1 change: 0 additions & 1 deletion tests/expected/compat_ampersands.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/expected/compat_cpp_references.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/compat_cpp_templates.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/compat_incomplete_template.txt

This file was deleted.

13 changes: 0 additions & 13 deletions tests/expected/compat_inline_literals.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/compat_irregular_table.txt

This file was deleted.

3 changes: 0 additions & 3 deletions tests/expected/compat_unknown_markup.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/enum_inline.txt

This file was deleted.

6 changes: 0 additions & 6 deletions tests/expected/html_whitespace.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/expected/link_class_javadoc.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/expected/multiple_single_line.txt

This file was deleted.

6 changes: 0 additions & 6 deletions tests/expected/note_multiline.txt

This file was deleted.

3 changes: 0 additions & 3 deletions tests/expected/note_one_line.txt

This file was deleted.

10 changes: 0 additions & 10 deletions tests/expected/param_no_indent.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/expected/simple_maths.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/snake_case_words.txt

This file was deleted.

11 changes: 0 additions & 11 deletions tests/expected/tag_soup.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/trailing_underscores.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/expected/underscore_word.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/compat_ampersands.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/input/compat_cpp_references.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/compat_cpp_templates.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/compat_incomplete_template.txt

This file was deleted.

13 changes: 0 additions & 13 deletions tests/input/compat_inline_literals.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/compat_irregular_table.txt

This file was deleted.

3 changes: 0 additions & 3 deletions tests/input/compat_unknown_markup.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/enum_inline.txt

This file was deleted.

8 changes: 0 additions & 8 deletions tests/input/html_whitespace.txt

This file was deleted.

6 changes: 0 additions & 6 deletions tests/input/link_class_javadoc.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/input/multiple_single_line.txt

This file was deleted.

8 changes: 0 additions & 8 deletions tests/input/note_multiline.txt

This file was deleted.

5 changes: 0 additions & 5 deletions tests/input/note_one_line.txt

This file was deleted.

12 changes: 0 additions & 12 deletions tests/input/param_no_indent.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/input/simple_maths.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/snake_case_words.txt

This file was deleted.

11 changes: 0 additions & 11 deletions tests/input/tag_soup.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/trailing_underscores.txt

This file was deleted.

1 change: 0 additions & 1 deletion tests/input/underscore_word.txt

This file was deleted.

Loading
Loading