Included vendor/ to the project

This commit is contained in:
2017-09-13 09:35:32 +07:00
parent e72205ff09
commit 17f1643875
2483 changed files with 179073 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
table1_id,column1,column2,column3,column4
1,tgfahgasdf,200,34.64,"yghkf;a hahfg8ja h;"
2,hk;afg,654,46.54,24rwehhads
3,ha;gyt,462,1654.4,asfgklg
1 table1_id column1 column2 column3 column4
2 1 tgfahgasdf 200 34.64 yghkf;a hahfg8ja h;
3 2 hk;afg 654 46.54 24rwehhads
4 3 ha;gyt 462 1654.4 asfgklg

View File

@@ -0,0 +1,5 @@
table2_id,column5,column6,column7,column8
1,fhah,456,46.5,"fsdb, ghfdas"
2,asdhfoih,654,blah,"43asd ""fhgj"" sfadh"
3,ajsdlkfguitah,654,blah,"thesethasdl
asdflkjsadf asdfsadfhl ""adsf, halsdf"" sadfhlasdf"
1 table2_id column5 column6 column7 column8
2 1 fhah 456 46.5 fsdb, ghfdas
3 2 asdhfoih 654 blah 43asd "fhgj" sfadh
4 3 ajsdlkfguitah 654 blah thesethasdl asdflkjsadf asdfsadfhl "adsf, halsdf" sadfhlasdf

View File

@@ -0,0 +1,131 @@
<?php
/*
* This file is part of DbUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class DBUnitTestUtility
{
protected static $connection;
protected static $mySQLConnection;
public static function getSQLiteMemoryDB()
{
if (self::$connection === null) {
self::$connection = new PDO('sqlite::memory:');
self::setUpDatabase(self::$connection);
}
return self::$connection;
}
/**
* Creates connection to test MySQL database
*
* MySQL server must be installed locally, with root access
* and empty password and listening on unix socket
*
* @return PDO
*
* @see DBUnitTestUtility::setUpMySqlDatabase()
*/
public static function getMySQLDB()
{
if (self::$mySQLConnection === null) {
self::$mySQLConnection = new PDO(PHPUNIT_TESTSUITE_EXTENSION_DATABASE_MYSQL_DSN, PHPUNIT_TESTSUITE_EXTENSION_DATABASE_MYSQL_USERNAME, PHPUNIT_TESTSUITE_EXTENSION_DATABASE_MYSQL_PASSWORD);
self::setUpMySQLDatabase(self::$mySQLConnection);
}
return self::$mySQLConnection;
}
protected static function setUpDatabase(PDO $connection)
{
$connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$connection->exec(
'CREATE TABLE IF NOT EXISTS table1 (
table1_id INTEGER PRIMARY KEY AUTOINCREMENT,
column1 VARCHAR(20),
column2 INT(10),
column3 DECIMAL(6,2),
column4 TEXT
)'
);
$connection->exec(
'CREATE TABLE IF NOT EXISTS table2 (
table2_id INTEGER PRIMARY KEY AUTOINCREMENT,
column5 VARCHAR(20),
column6 INT(10),
column7 DECIMAL(6,2),
column8 TEXT
)'
);
$connection->exec(
'CREATE TABLE IF NOT EXISTS table3 (
table3_id INTEGER PRIMARY KEY AUTOINCREMENT,
column9 VARCHAR(20),
column10 INT(10),
column11 DECIMAL(6,2),
column12 TEXT
)'
);
}
/**
* Creates default testing schema for MySQL database
*
* Tables must containt foreign keys and use InnoDb storage engine
* for constraint tests to be executed properly
*
* @param PDO $connection PDO instance representing connection to MySQL database
*
* @see DBUnitTestUtility::getMySQLDB()
*/
protected static function setUpMySqlDatabase(PDO $connection)
{
$connection->exec(
'CREATE TABLE IF NOT EXISTS table1 (
table1_id INTEGER AUTO_INCREMENT,
column1 VARCHAR(20),
column2 INT(10),
column3 DECIMAL(6,2),
column4 TEXT,
PRIMARY KEY (table1_id)
) ENGINE=INNODB;
');
$connection->exec(
'CREATE TABLE IF NOT EXISTS table2 (
table2_id INTEGER AUTO_INCREMENT,
table1_id INTEGER,
column5 VARCHAR(20),
column6 INT(10),
column7 DECIMAL(6,2),
column8 TEXT,
PRIMARY KEY (table2_id),
FOREIGN KEY (table1_id) REFERENCES table1(table1_id)
) ENGINE=INNODB;
');
$connection->exec(
'CREATE TABLE IF NOT EXISTS table3 (
table3_id INTEGER AUTO_INCREMENT,
table2_id INTEGER,
column9 VARCHAR(20),
column10 INT(10),
column11 DECIMAL(6,2),
column12 TEXT,
PRIMARY KEY (table3_id),
FOREIGN KEY (table2_id) REFERENCES table2(table2_id)
) ENGINE=INNODB;
');
}
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1/>
</dataset>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" />
<table2 table2_id="1" />
<table3 table3_id="1" />
</dataset>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="2" />
<table3 table3_id="2" />
</dataset>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table2 table2_id="2" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
<table3 table3_id="4" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
</dataset>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1/>
<table2 table2_id="2" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="4" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
</dataset>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table3 column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="tgfahgasdf" column2="200" column3="34.64" column4="yghkf;a hahfg8ja h;" />
<table1 table1_id="2" column1="hk;afg" column2="654" column3="46.54" column4="24rwehhads" />
<table1 table1_id="3" column1="ha;gyt" column2="462" column3="1654.4" column4="asfgklg" />
<table2 table2_id="1" column5="fhah" column6="456" column7="46.5" column8="fsdbghfdas" />
<table2 table2_id="2" column5="asdhfoih" column6="654" column8="43asdfhgj" />
<table2 table2_id="3" column5="ajsdlkfguitah" column6="654" />
</dataset>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1
col1="val1"
col2="val2"
col3="val3"
/>
<table1
col1="val4"
col2="val5"
col3="val6"
/>
<table1
col1="val7"
col2="val8"
col3="val9"
/>
<emptytable />
<table2
col1="val10"
col2="val11"
col3="val12"
/>
<table2
col1="val13"
col3="val14"
/>
<table2
col1="val15"
col2="val16"
/>
</dataset>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
<table1
col1="1"
col2="&lt;?xml version=&quot;1.0&quot;?&gt;&lt;myxml&gt;test&lt;/myxml&gt;"
/>
</dataset>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table1 table1_id="3" column1="ggfdsa" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table2 table2_id="2" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
<table3 table3_id="4" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
</dataset>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="3" column1="ggfdsa" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table2 table2_id="2" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="4" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
</dataset>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<database name="database_name">
<table_data name="table1">
<row>
<field name="table1_id">1</field>
<field name="column1">tgfahgasdf</field>
<field name="column2">200</field>
<field name="column3">34.64</field>
<field name="column4">yghkf;a hahfg8ja h;</field>
</row>
<row>
<field name="table1_id">2</field>
<field name="column1">hk;afg</field>
<field name="column2">654</field>
<field name="column3">46.54</field>
<field name="column4">24rwehhads</field>
</row>
<row>
<field name="table1_id">3</field>
<field name="column1">ha;gyt</field>
<field name="column2">462</field>
<field name="column3">1654.4</field>
<field name="column4">asfgklg</field>
</row>
</table_data>
<table_data name="table2">
<row>
<field name="table2_id">1</field>
<field name="column5">fhah</field>
<field name="column6">456</field>
<field name="column7">46.5</field>
<field name="column8">fsdbghfdas</field>
</row>
<row>
<field name="table2_id">2</field>
<field name="column5">asdhfoih</field>
<field name="column6">654</field>
<field name="column7" xsi:nil="true" />
<field name="column8">43asdfhgj</field>
</row>
<row>
<field name="table2_id">3</field>
<field name="column5">ajsdlkfguitah</field>
<field name="column6">654</field>
<field name="column7" xsi:nil="true" />
<field name="column8" xsi:nil="true" />
</row>
</table_data>
</database>
</mysqldump>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" table1_id="2" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table3 table3_id="1" table2_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" table2_id="1" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" table2_id="1" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="asdfgh" column10="76" column11="9413.521" column12="ghgkj;guagfghjhfd" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1
table1_id="1"
column1="test"
column2="10"
column3="20.5"
column4="query test"
/>
<table1
table1_id="2"
column1="foo"
column2="20"
column3="30.6"
column4="query test 2"
/>
<table1
table1_id="3"
column1="bar"
column2="30"
column3="40.7"
column4="query test 3"
/>
<table2
table2_id="3"
column5="blah"
column6="40"
column7="50.8"
column8="query test 4"
/>
</dataset>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="jgfdasg" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table1 table1_id="3" column1="ggfdsa" column2="45" column3="1.4" column4="asfhajj" />
<table2 table2_id="1" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table2 table2_id="2" column5="gasupj" column6="9165" column7="456.65" column8="asfdh sdghkj" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
<table3 table3_id="4" column9="asdfgaf" column10="152" column11="465.4" column12="dsafhl;a sji[uh ;" />
</dataset>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="2" column1="jgfdasg" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table1 table1_id="3" column1="ggfdsa" column2="45" column3="1.4" column4="asfhajj" />
<table2 table2_id="1" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table2 table2_id="2" column5="gasupj" column6="9165" column7="456.65" column8="asfdh sdghkj" />
<table3 table3_id="2" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
<table3 table3_id="4" column9="asdfgaf" column10="152" column11="465.4" column12="dsafhl;a sji[uh ;" />
</dataset>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="qwerty" column2="23" column3="2.3" column4="dvorak" />
<table2 table2_id="1" column5="fdyhkn" column6="64" column7="4568.64" column8="hkladfg" />
</dataset>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<dataset>
<table name="table1">
<column>table1_id</column>
<column>column1</column>
<column>column2</column>
<column>column3</column>
<column>column4</column>
<row>
<value>1</value>
<null />
<null />
<null />
<null />
</row>
</table>
<table name="table2">
<column>table2_id</column>
<column>table1_id</column>
<column>column5</column>
<column>column6</column>
<column>column7</column>
<column>column8</column>
<row>
<value>1</value>
<value>1</value>
<null />
<null />
<null />
<null />
</row>
</table>
<table name="table3">
<column>table3_id</column>
<column>table2_id</column>
<column>column9</column>
<column>column10</column>
<column>column11</column>
<column>column12</column>
<row>
<value>1</value>
<value>1</value>
<null />
<null />
<null />
<null />
</row>
</table>
</dataset>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="1" column1="foo" column2="42" column3="4.2" column4="bar" />
<table1 table1_id="2" column1="ggfdsa" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table2 table2_id="1" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="1" column9="hgdshhh" column10="94" column11="8745.94" column12="ghsf;ugjhgdsfyhjhkdfa" />
<table3 table3_id="2" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
<table3 table3_id="3" column9="itgewqe" column10="16" column11="1562.65" column12="jkkjhgjhgcfddfg" />
</dataset>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table1 table1_id="2" column1="ggfdsa" column2="4654" column3="45.65" column4="41gkjfdhyglj54dsfaf" />
<table2 table2_id="1" column5="gfdsagfpwah" column6="464" column7="462.45" column8="hsafd;jhsadfyh;wafsfg gfv s,da b" />
<table3 table3_id="2" column9="hoafsd" column10="54563" column11="14.54" column12="hsda8oh hklsdgsd hiisvinv mdsav;;" />
</dataset>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table name="table1">
<column>table1_id</column>
<column>column1</column>
<column>column2</column>
<column>column3</column>
<column>column4</column>
<row>
<value>1</value>
<value>tgfahgasdf</value>
<value>200</value>
<value>34.64</value>
<value>yghkf;a hahfg8ja h;</value>
</row>
<row>
<value>2</value>
<value>hk;afg</value>
<value>654</value>
<value>46.54</value>
<value>24rwehhads</value>
</row>
<row>
<value>3</value>
<value>ha;gyt</value>
<value>462</value>
<value>1654.4</value>
<value>asfgklg</value>
</row>
</table>
<table name="table2">
<column>table2_id</column>
<column>column5</column>
<column>column6</column>
<column>column7</column>
<column>column8</column>
<row>
<value>1</value>
<value>fhah</value>
<value>456</value>
<value>46.5</value>
<value>fsdbghfdas</value>
</row>
<row>
<value>2</value>
<value>asdhfoih</value>
<value>654</value>
<null />
<value>43asdfhgj</value>
</row>
<row>
<value>3</value>
<value>ajsdlkfguitah</value>
<value>654</value>
<null />
<null />
</row>
</table>
<table1 table1_id="1" column1="tgfahgasdf" column2="200" column3="34.64" column4="yghkf;a hahfg8ja h;" />
<table1 table1_id="2" column1="hk;afg" column2="654" column3="46.54" column4="24rwehhads" />
<table1 table1_id="3" column1="ha;gyt" column2="462" column3="1654.4" column4="asfgklg" />
<table2 table2_id="1" column5="fhah" column6="456" column7="46.5" column8="fsdbghfdas" />
<table2 table2_id="2" column5="asdhfoih" column6="654" column8="43asdfhgj" />
<table2 table2_id="3" column5="ajsdlkfguitah" column6="654" />
</dataset>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<table name="table1">
<column>col1</column>
<column>col2</column>
<column>col3</column>
<row>
<value>val1</value>
<value>val2</value>
<value>val3</value>
</row>
<row>
<value></value>
<null />
<value>val4</value>
</row>
<row>
<value>val5</value>
<value>val6</value>
<value>val7</value>
</row>
</table>
<table name="table2">
<column>col1</column>
<column>col2</column>
<column>col3</column>
</table>
</dataset>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
<table name="table1">
<column>col1</column>
<column>col2</column>
<row>
<value>1</value>
<value>&lt;?xml version=&quot;1.0&quot;?&gt;&lt;myxml&gt;test&lt;/myxml&gt;</value>
</row>
</table>
</dataset>

View File

@@ -0,0 +1,44 @@
table1:
-
table1_id: 1
column1: "tgfahgasdf"
column2: 200
column3: 34.64
column4: "yghkf;a hahfg8ja h;"
-
table1_id: 2
column1: "hk;afg"
column2: 654
column3: 46.54
column4: 24rwehhads
extraColumn: 'causes no worries'
-
table1_id: 3
column1: ha;gyt
column2: 462
column3: 1654.4
column4: asfgklg
table2:
-
table2_id: 1
column5: fhah
column6: 456
column7: 46.5
column8: "fsdb, ghfdas"
-
table2_id: 2
column5: asdhfoih
column6: 654
column7: blah
column8: "43asd \"fhgj\" sfadh"
-
table2_id: 3
column5: ajsdlkfguitah
column6: 654
column7: blah
column8: |-
thesethasdl
asdflkjsadf asdfsadfhl "adsf, halsdf" sadfhlasdf
emptyTable: