aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini
Commit message (Collapse)AuthorAgeFilesLines
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-1/+1
| | | | Follow up of #31432.
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-117-0/+7
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-097-0/+7
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-027-7/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-017-0/+7
|
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Fixes Hash.from_xml with frozen strings for all backendsJosh Nussbaum2017-04-201-0/+5
|
* ✂️ needless lines beneath private.Kasper Timm Hansen2016-11-206-6/+0
|
* Move tests to a module, include in subclasses, style lintingJon Moss2016-11-201-188/+195
| | | | | | | | This fixes an error where the test runner would try and run XMLMiniEngineTest like a normal test class, except it's abstract. Now, to circumvent this, we don't include any of the actual tests in XMLMiniEngineTest; they are wrapped in a module that is included in subclass when they inherit from XMLMiniEngineTest. Pretty neat, huh?
* Create XMLMiniEngineTest; base class for all testsJon Moss2016-11-207-63/+33
|
* Code styling cleanupJon Moss2016-11-207-152/+162
|
* Create `CommonXMLMiniAdapterTest`; common tests moduleJon Moss2016-11-207-916/+279
| | | | | | Created a new module (a la Action Cable subscription adapter's test suite) to be included in all sub class test to ensure compatability and reduce duplicated code.
* Do not include `ActiveSupport` into test classesJon Moss2016-11-193-33/+27
| | | | | | | | | | | Will help get rid of errors like the following: ``` 1) Error: JDOMEngineTest#test_order=: ArgumentError: wrong number of arguments (0 for 1) /Users/jon/code/rails/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb:106:in `test_order=' ```
* Remove blank else branchRyuta Kamizono2016-09-031-3/+0
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-072-3/+0
|
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-066-367/+367
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-066-70/+70
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* systematic revision of =~ usage in ASXavier Noria2016-07-221-1/+1
| | | | | Where appropriate prefer the more concise Regexp#match?, String#include?, String#start_with?, and String#end_with?
* Fix Hash#from_xml with frozen strings (#24718)Marek Kirejczyk2016-05-211-8/+18
| | | | | | | | | * Hash#from_xml works with frozen strings Fixes #24647 * Fix rexml engine test [Marek Kirejczyk + Rafael Mendonça França]
* Do not include Active Support on testsRafael Mendonça França2015-01-043-30/+24
| | | | It was not done to be included
* Rewind StringIO instances before be parsed againPaco Guzman2013-06-165-0/+5
|
* Use xml instead already parsed xmlPaco Guzman2013-06-161-1/+1
|
* Compare with the parsed result from REXML backendPaco Guzman2013-05-226-6/+6
|
* use nokogirisax as a backendAnton Kalyaev2013-05-051-3/+3
| | | | | Most likely someone just forgot to change it during copying and pasting test cases from nokigiri engine test.
* Added missing assertAnupam Choudhury2013-04-026-25/+37
|
* Fix warning: mismatched indentatmmismatched indentations at 'end' with 'def'kennyj2013-03-191-1/+1
|
* JDOM XXE Protection [CVE-2013-1856]Ben Murphy2013-03-151-2/+36
|
* Only call MiniTest.autorun if the dependecy is presentRafael Mendonça França2012-12-314-16/+12
|
* use AS::TestCase as the base classAaron Patterson2012-01-056-6/+6
|
* Adding tests for file_from_xml for XmlMini_JDOM #jrubyArun Agrawal2011-05-271-14/+14
|
* Not loading file if PLATFORM not available. Arun Agrawal2011-05-241-83/+82
|
* test fix jdom_engine_test Vishnu Atrai2011-05-221-0/+1
|
* Fixed some bugs and fixed some tests in new SAX-based XmlMini backends.Willem van Bergen2010-01-012-6/+7
| | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added SAX-based parser for XmlMini, using LibXMLWillem van Bergen2010-01-011-0/+194
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added SAX-based parser for XmlMini, using Nokogiri.Willem van Bergen2010-01-011-0/+216
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML ↵Willem van Bergen2010-01-012-2/+47
| | | | | | | | XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added CDATA support to the XmlMini LibXML engine, adjusted whitespace ↵Jacob Lauemoeller2009-10-151-0/+194
| | | | | | handling to closer match that of the REXML engine, and added a LibXML engine test Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Allow Nokogiri XmlMini backend to process cdata elementsDeveloper2009-09-171-0/+11
| | | | | | [#3219 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move AS vendor support into bundler.Joshua Peek2009-09-131-4/+2
| | | Run `rake bundle` before running tests.
* Add support for parsing XML and JSON from an IO as well as a string [#2659 ↵Brian Lopez2009-05-172-0/+27
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* add JRuby-JDOM backend for XmlMiniStephen Bannasch2009-04-261-0/+153
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+1
|
* adding more nokogiri tests and making the main rails tests passAaron Patterson2009-03-101-0/+47
| | | | | | [#2190 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for ↵Jeremy Kemper2009-03-101-9/+7
| | | | XmlMini backend tests.
* Nokogiri backend for XmlMiniAaron Patterson2009-03-102-0/+127
[#2190 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>