Skip to content

Commit

Permalink
ci: ensure all tests are running setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 5, 2021
1 parent 007662f commit b682ac5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/namespaces/test_namespaces_preservation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module XML
class TestNamespacePreservation < Nokogiri::TestCase

def setup
super
@xml = Nokogiri.XML <<-eoxml
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element xmlns:quer="http://api.geotrust.com/webtrust/query"/>
Expand Down
1 change: 1 addition & 0 deletions test/test_xslt_transforms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class TestXsltTransforms < Nokogiri::TestCase
def setup
super
@doc = Nokogiri::XML(File.open(XML_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/sax/test_parser_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module XML
module SAX
class TestParserContext < Nokogiri::SAX::TestCase
def setup
super
@xml = '<hello>
world
Expand Down
1 change: 1 addition & 0 deletions test/xml/test_relax_ng.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Nokogiri
module XML
class TestRelaxNG < Nokogiri::TestCase
def setup
super
assert @schema = Nokogiri::XML::RelaxNG(File.read(ADDRESS_SCHEMA_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/test_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Nokogiri
module XML
class TestSchema < Nokogiri::TestCase
def setup
super
assert @xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/test_unparented_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module Nokogiri
module XML
class TestUnparentedNode < Nokogiri::TestCase
def setup
super
begin
xml = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
@node = xml.at('staff')
Expand Down

0 comments on commit b682ac5

Please sign in to comment.