123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702 |
- <html>
- <head>
- <style>
- body { font-family:Arial; margin:20px; font-size:10pt}
- div.assembly>div.title { font-size:20pt; margin-bottom:20px; border-bottom:1px solid silver; padding-bottom:20px; }
- div.testfixture>div.title { font-size:16pt; }
- div.testfixture { margin-bottom:20px; }
- div.test { margin-left:20px; }
- div.test div.title { font-size:12pt; }
- div.errormessage { color:Red; padding-top:10px; }
- div.pass>div.title { color:#808080; }
- span.highlighted { color:Red; }
- pre.code { background-color:#f0f0f0; }
- div.summary { border:1px solid silver; padding:10px; margin-bottom:20px; text-align:center; }
- div.fail div.summary { background-color:Red; color:White; }
- div.pass div.summary { background-color:Lime; }
- div.collapsed div.content { display:none; }
- div.test div.content { border-left:2px solid #d0d0d0; padding-left:10px; margin-left:10px; }
- a { text-decoration:none; color:#606060; }
- a:hover { color:orange; }
- div>div.title>span.indicator { display:inline-block; width:10px; height:10px; background-color:lime; border-radius:7px}
- div.fail>div.title>span.indicator { display:inline-block; width:10px; height:10px; background-color:red; }
- div.assembly>div.title>span.indicator { display:none; }
- div.misc_info { color:#808080; }
- </style>
- <script>
- window.addEventListener("load", setup, false);
- function setup() {
- var divs = document.getElementsByClassName("toggle");
- for (var i = 0; i < divs.length; i++) {
- divs[i].onclick = function () {
- var top = this.parentNode.parentNode;
- if (top.className.indexOf(" collapsed") < 0)
- top.className += " collapsed";
- else
- top.className = top.className.replace(" collapsed", "");
- return false;
- }
- }
- }
- </script>
- </head>
- <body>
- <div class="assembly fail">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Test Results for PetaTest.exe
- </a>
- </div>
- <div class="summary">
- Passed: 34 Failed: 1 Warnings: 0 Time in Test Cases: 72ms
- </div>
- <div class="content">
- <div class="testfixture fail">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Test Fixture PetaTest.AssertionTests()
- </a>
- </div>
- <div class="content">
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_sbyte()
- </a>
- <small>4ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test fail">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_byte()
- </a>
- </div>
- <div class="content">
- <div class="exception">
- <div class="errormessage">
- Assertion failed - Strings are not equal at offset 6
- </div>
- <p>
- Detail
- </p>
- <pre> lhs: "Hello World"
- rhs: "Hello There"
- ^</pre>
- <p>
- Stack Trace
- </p>
- <pre class="stacktrace">AreEqual_byte - c:\b\dev\source\PetaTest\PetaTest\TestsAssertions.cs(23)
- </pre>
- <p>
- Location
- </p>
- <pre class="code"> 00021: public void AreEqual_byte()
- 00022: {
- <span class="highlighted"> 00023:-> Assert.AreEqual("Hello World", "Hello There");
- </span> 00024: Assert.AreEqual<byte>(10, 10);
- 00025: Assert.AreNotEqual<byte>(10, 11);
- </pre>
- </div>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_short()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_ushort()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_int()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_uint()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_long()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_ulong()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_float()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_double()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_double_within()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_decimal()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_string()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEqual_dates()
- </a>
- <small>16ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsTrue()
- </a>
- <small>0ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsNull()
- </a>
- <small>0ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreSame()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsEmpty_String()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsNullOrEmpty_String()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsEmpty_Collection()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Contains_Collection()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Contains_String()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Greater()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- GreaterOrEqual()
- </a>
- <small>0ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- Less()
- </a>
- <small>0ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- LessOrEqual()
- </a>
- <small>0ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsInstanceOf()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsAssignableFrom()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsAssignableTo()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AllItemsAreUnique()
- </a>
- <small>4ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AllItemsAreNotNull()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AllItemsAreEqual()
- </a>
- <small>2ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AllItemsAreInstancesOf()
- </a>
- <small>1ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- IsSubsetOf()
- </a>
- <small>7ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- <div class="test pass collapsed">
- <div class="title">
- <span class="indicator">
- </span>
- <a class="toggle" href="#">
- AreEquivalent()
- </a>
- <small>4ms</small>
- </div>
- <div class="content">
- <pre>Test passed!
- </pre>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="misc_info">
- Time in test cases 72ms, setup/teardown 0ms, test framework 102ms<br/>Tests run at 31-Jul-11 10:09:13 PM by bradr on MACBOOK under Microsoft Windows NT 6.1.7600.0<br/>Command line: c:\b\dev\source\PetaTest\PetaTest\bin\Release\PetaTest.exe /out:..\..\unittest.html
- </div>
- </body>
- </html>
|