summaryrefslogtreecommitdiff
path: root/test/api_test.rb
AgeCommit message (Collapse)Author
2024-02-19resolves #4550 turn off system-dependent newline conversion when writing ↵Dan Allen
files (PR #4551)
2023-10-12resolves #3526 return nil if name passed to ↵Dan Allen
Asciidoctor::SafeMode.value_for_name is not recognized (PR #4496)
2023-04-30resolves #3929 treat uri:classloader: as absolute path prefix when running ↵Dan Allen
on JRuby (PR #4444)
2023-04-29add API test to verify that copycss value can be a string or Pathname objectDan Allen
2022-01-16resolves #3313 set linenums option on source block when line numbering is ↵Dan Allen
enabled (PR #3314)
2022-01-12resolves #3220 alias Inline#content to Inline#text so Inline node quacks ↵Dan Allen
like other nodes (PR #3247)
2021-10-18rename default branchDan Allen
2021-08-30change AbstractBlock#sections? to return false when called on block that ↵Guillaume Grossetie
isn't a Section or Document (PR #3591)
2021-08-28store reproducible flag in local variable in HTML converterDan Allen
2021-08-28resolves #4143 omit generator meta tag in HTML output if reproducible ↵Ryan A. Pavlik
document attribute is set (PR #4144)
2021-07-31omit_parentheses where possible in test codeDan Allen
2021-07-31resolves #2557 enable RuboCop to enforce a consistent code style and perform ↵Dan Allen
static analysis
2021-06-18rename Hashish to Hashlike in test suite [skip ci]Dan Allen
2021-06-09remove irrelevant unassertions from test suiteDan Allen
- a test already fails if an exception is thrown
2021-06-05consistently use %w to create string arraysDan Allen
2021-06-05consistently use ::Set.[] or ::Set.new to create sets instead of Array#to_setDan Allen
2021-06-04use case instead of if/elseif where possibleDan Allen
2021-06-03use single level of indentation for method calls that wrap [skip ci]Dan Allen
2021-06-02don't use brackets around argument list of method definition [skip ci]Dan Allen
2021-05-31use assert_path_exists where possible in test suiteDan Allen
2021-05-28use sprintf instead of % operator in test suiteDan Allen
2021-05-27remove or mark unused block arguments in test suite; fix missing logger ↵Dan Allen
assertions
2021-05-27fix spaces and indentation in test suiteDan Allen
2021-05-27use unless instead of negated if in test suite [skip ci]Dan Allen
2021-05-25use key? instead of has_key? in tests [skip ci]Dan Allen
2021-05-25remove trailing spaces in test suite [skip ci]Dan Allen
2021-05-13resolves #4055 fix crash if :to_file option is passed to load or load_file ↵Dan Allen
and value is not a string (PR #4058)
2021-04-30leave empty line after magic comment [skip ci]Dan Allen
2021-04-15resolves #3550 run tests on JRuby for Windows in CI (PR #3841)Dan Allen
* run tests on JRuby 9.1 and 9.2 for Windows in CI * don't run Pygments tests on JRuby 9.1 for Windows * exclude tests that use run_command on JRuby 9.1 for Windows * ensure mtime of input file honors TZ environment variable on JRuby for Windows
2021-04-09add tests for sourcemap use case reported in #3966Dan Allen
2020-10-31resolves #3592 fix crash if value passed by API for copycss attribute is not ↵Dan Allen
a string (PR #3809)
2020-10-31resolves #3808 fix crash if value of stylesheets attribute contains a folder ↵Dan Allen
and the destination directory for the stylesheet does not exist (PR #3810)
2020-10-31enable additional test scenario for linkcssDan Allen
2020-10-30resolves #3799 set source_location on preamble block when sourcemap option ↵Dan Allen
is enabled (PR #3800)
2020-10-25remove default argument to Cell initializer in API testDan Allen
2020-10-23resolves #3765 download and embed custom remote stylesheet if allow-uri-read ↵Dan Allen
is set (PR #3766)
2020-10-16resolves #3778 fix resolved value of :to_dir when both :to_file and :to_dir ↵Dan Allen
options are set to absolute paths (PR #3781)
2020-02-25add test to verify find_by can be used to extract a single list itemDan Allen
2019-05-29resolves #3316 fix Asciidoctor.convert_file to honor header_footer: false ↵Dan Allen
option when writing to file (PR #3317)
2019-04-30resolves #3281 fix lineno of source location on blocks that follow a ↵Dan Allen
detached list continuation (PR #3287)
2019-04-29resolves #3282 rename AbstractNode#options to AbstractNode#enabled_options ↵Dan Allen
(PR #3285)
2019-04-17fix warning in test suiteDan Allen
2019-04-17add tests to assert load_file and convert_file accept a Pathname inputDan Allen
2019-03-29use file read mode in test suiteDan Allen
2019-03-26resolves #3207 implement #lines and #source methods on Table::Cell (PR #3209)Dan Allen
2019-03-22define assert and refute include method in test suiteDan Allen
- define assert_include to accept a single expectation; reverse order from assert_includes - define refute_include to accept a single un-expectation; reverse order from refute_includes
2019-03-22use symbol blocks where appropriate in test suiteDan Allen
2019-03-20stop find_by iteration if filter block returns :stop directive (PR #3162)Dan Allen
2019-03-20find_by should reject node when :reject directive is used with ID selectorDan Allen
- reject node if ID selector matches, but filter returns :reject directive - simplify find_by implementation
2019-03-15resolves #3133 next_adjacent_block should not fail when used on dlist item ↵Dan Allen
(PR #3149)