You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.1 KiB
113 lines
2.1 KiB
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<title>Papa Parse Tests</title> |
|
<meta charset="utf-8"> |
|
<link rel="stylesheet" href="tests.css"> |
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> |
|
<script src="../papaparse.js"></script> |
|
<script src="test-cases.js"></script> |
|
<script src="test-runner.js"></script> |
|
</head> |
|
<body> |
|
<h1>Papa Parse Tests</h1> |
|
|
|
<div id="status"></div> |
|
|
|
|
|
<div class="test-group" id="tests-for-core-parser"> |
|
<h2>Core Parser Tests</h2> |
|
|
|
<a href="javascript:" class="expand-all">Expand all</a> |
|
· |
|
<a href="javascript:" class="collapse-all">Collapse all</a> |
|
<br> |
|
|
|
<table class="results"> |
|
<tr> |
|
<th colspan="2">Test Case</th> |
|
<th>Data</th> |
|
<th>Errors</th> |
|
<th>Config</th> |
|
<th>Input</th> |
|
<th>Expected</th> |
|
<th>Actual</th> |
|
</tr> |
|
</table> |
|
</div> |
|
|
|
|
|
|
|
<div class="test-group" id="tests-for-parse"> |
|
<h2>Papa.parse() Wrapper Tests</h2> |
|
|
|
<a href="javascript:" class="expand-all">Expand all</a> |
|
· |
|
<a href="javascript:" class="collapse-all">Collapse all</a> |
|
<br> |
|
|
|
<table class="results"> |
|
<tr> |
|
<th colspan="2">Test Case</th> |
|
<th>Data</th> |
|
<th>Errors</th> |
|
<th>Config</th> |
|
<th>Input</th> |
|
<th>Expected</th> |
|
<th>Actual</th> |
|
</tr> |
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="test-group" id="tests-for-unparse"> |
|
<h2>Papa.unparse() Tests</h2> |
|
|
|
<a href="javascript:" class="expand-all">Expand all</a> |
|
· |
|
<a href="javascript:" class="collapse-all">Collapse all</a> |
|
<br> |
|
|
|
<table class="results"> |
|
<tr> |
|
<th colspan="2">Test Case</th> |
|
<th>Data</th> |
|
<th>Config</th> |
|
<th>Input</th> |
|
<th>Expected</th> |
|
<th>Actual</th> |
|
</tr> |
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="test-group" id="custom-tests"> |
|
<h2>Miscellaneous Tests</h2> |
|
|
|
<a href="javascript:" class="expand-all">Expand all</a> |
|
· |
|
<a href="javascript:" class="collapse-all">Collapse all</a> |
|
<br> |
|
|
|
<table class="results"> |
|
<tr> |
|
<th colspan="2">Test Case</th> |
|
<th>Data</th> |
|
<th>Expected</th> |
|
<th>Actual</th> |
|
</tr> |
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
</body> |
|
</html>
|
|
|