688 lines
51 KiB
HTML
688 lines
51 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns:str="http://exslt.org/strings" xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title>Test Results — MainActivityTest</title>
|
||
|
<style type="text/css">
|
||
|
html {
|
||
|
height: 100%
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
text-align: left;
|
||
|
height: 100%;
|
||
|
font-family: myriad, arial, tahoma, verdana, sans-serif;
|
||
|
color: #151515;
|
||
|
font-size: 90%;
|
||
|
line-height: 1.3em;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0
|
||
|
}
|
||
|
|
||
|
.clr {
|
||
|
clear: both;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
border: none
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #0046b0;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
a:focus, a:active {
|
||
|
outline: none
|
||
|
}
|
||
|
|
||
|
.noborder {
|
||
|
border: none
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
color: #151515;
|
||
|
font-size: 180%;
|
||
|
line-height: 1.1em;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
color: #393D42;
|
||
|
font-size: 160%;
|
||
|
font-weight: normal
|
||
|
}
|
||
|
|
||
|
h3 {
|
||
|
font-size: 120%;
|
||
|
font-weight: bold;
|
||
|
margin-bottom: .5em
|
||
|
}
|
||
|
|
||
|
h4 {
|
||
|
font-size: 110%;
|
||
|
}
|
||
|
|
||
|
h5 {
|
||
|
font-size: 110%;
|
||
|
}
|
||
|
|
||
|
span.failed {
|
||
|
color: #ff0000
|
||
|
}
|
||
|
|
||
|
span.error {
|
||
|
color: #ff0000
|
||
|
}
|
||
|
|
||
|
span.passed {
|
||
|
color: #1d9d01
|
||
|
}
|
||
|
|
||
|
span.ignored {
|
||
|
color: #fff600
|
||
|
}
|
||
|
|
||
|
span.skipped {
|
||
|
color: #fff600
|
||
|
}
|
||
|
|
||
|
hr {
|
||
|
background-color: blue
|
||
|
}
|
||
|
|
||
|
#container {
|
||
|
min-width: 30em;
|
||
|
}
|
||
|
|
||
|
#header {
|
||
|
padding: 0;
|
||
|
position: fixed;
|
||
|
width: 100%;
|
||
|
z-index: 10;
|
||
|
background-color: #c7ceda;
|
||
|
}
|
||
|
|
||
|
#header h1 {
|
||
|
margin: 1em 3em 1em 1.7em;
|
||
|
}
|
||
|
|
||
|
#header h1 strong {
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
#header .time {
|
||
|
margin-top: 2.2em;
|
||
|
margin-right: 3.4em;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
#treecontrol {
|
||
|
margin: 0;
|
||
|
padding: .5em 3em .5em 0;
|
||
|
text-align: right;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
#treecontrol ul li {
|
||
|
display: inline;
|
||
|
list-style: none;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
#content {
|
||
|
padding: 0 2.5em 2em 1.7em;
|
||
|
}
|
||
|
|
||
|
#content ul {
|
||
|
margin: .4em 0 .1em 2em;
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
#content ul li.level {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
#content ul li.level span {
|
||
|
display: block;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.top {
|
||
|
margin-bottom: .3em;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.top > span {
|
||
|
padding: .5em 0 .5em 1em;
|
||
|
font-size: 120%;
|
||
|
color: #151515;
|
||
|
background-color: #f2f2f2;
|
||
|
border-left: solid 10px #93e078;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.top.failed > span {
|
||
|
border-left: solid 10px #f02525;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.top.ignored > span {
|
||
|
border-left: solid 10px #f8d216;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.suite > span {
|
||
|
margin-bottom: .8em;
|
||
|
padding: 0 0 0 .8em;
|
||
|
display: block;
|
||
|
font-size: 110%;
|
||
|
line-height: 1em;
|
||
|
color: #151515;
|
||
|
border-left: solid 15px #93e078;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.suite.failed > span {
|
||
|
border-left: solid 15px #f02525;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.suite.ignored > span {
|
||
|
border-left: solid 15px #f8d216;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.suite > ul {
|
||
|
margin-bottom: 1.5em;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.test > span {
|
||
|
padding: .3em 0 .3em 1em;
|
||
|
color: #0046b0;
|
||
|
font-size: 100%;
|
||
|
border-left: solid 6px #93e078;
|
||
|
border-bottom: solid 1px #dbdbdb;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.test.failed > span {
|
||
|
border-left: solid 6px #f02525;
|
||
|
}
|
||
|
|
||
|
#content ul li.level.test.ignored > span {
|
||
|
border-left: solid 6px #f8d216;
|
||
|
}
|
||
|
|
||
|
#content ul li.text p, #content ul li.text span {
|
||
|
margin-bottom: 1.5em;
|
||
|
color: #151515 !important;
|
||
|
font-size: 90% !important;
|
||
|
font-weight: normal !important;
|
||
|
overflow-x: auto;
|
||
|
cursor: auto !important;
|
||
|
background: none !important;
|
||
|
border: none !important;
|
||
|
}
|
||
|
|
||
|
#content ul li.text span {
|
||
|
margin-bottom: 0;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
#content ul li.text span.stderr {
|
||
|
color: #8b0000 !important;
|
||
|
}
|
||
|
|
||
|
#content ul li .time {
|
||
|
margin-right: .5em;
|
||
|
width: 5em;
|
||
|
text-align: right;
|
||
|
font-size: 13px;
|
||
|
color: #151515;
|
||
|
font-style: normal;
|
||
|
font-weight: normal;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
#content ul li span .status {
|
||
|
width: 6em;
|
||
|
font-size: 90%;
|
||
|
color: #1d9d01;
|
||
|
font-style: normal;
|
||
|
font-weight: normal;
|
||
|
float: right;
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
#content ul li.failed > span .status {
|
||
|
color: #ff0000;
|
||
|
}
|
||
|
|
||
|
#content ul li.ignored > span .status {
|
||
|
color: #d6b000;
|
||
|
}
|
||
|
|
||
|
#footer {
|
||
|
height: 2em;
|
||
|
background-color: #c7ceda;
|
||
|
}
|
||
|
#footer p {
|
||
|
padding: .4em 0 0 3.6em;
|
||
|
font-size: 80%;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(G(){9(1n E!="11")H w=E;H E=17.16=G(a,c){9(17==6||!6.4K)I 1q E(a,c);I 6.4K(a,c)};9(1n $!="11")H D=$;17.$=E;H u=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/;E.1b=E.3x={4K:G(a,c){a=a||U;9(1n a=="1M"){H m=u.2L(a);9(m&&(m[1]||!c)){9(m[1])a=E.4I([m[1]],c);J{H b=U.42(m[3]);9(b)9(b.1T!=m[3])I E().1X(a);J{6[0]=b;6.L=1;I 6}J a=[]}}J I 1q E(c).1X(a)}J 9(E.1p(a))I 1q E(U)[E.1b.2d?"2d":"37"](a);I 6.6u(a.1d==1C&&a||(a.4d||a.L&&a!=17&&!a.1z&&a[0]!=11&&a[0].1z)&&E.2h(a)||[a])},4d:"1.2",82:G(){I 6.L},L:0,28:G(a){I a==11?E.2h(6):6[a]},2v:G(a){H b=E(a);b.4Y=6;I b},6u:G(a){6.L=0;1C.3x.1a.15(6,a);I 6},O:G(a,b){I E.O(6,a,b)},4J:G(a){H b=-1;6.O(G(i){9(6==a)b=i});I b},1y:G(f,d,e){H c=f;9(f.1d==3T)9(d==11)I 6.L&&E[e||"1y"](6[0],f)||11;J{c={};c[f]=d}I 6.O(G(a){M(H b 1j c)E.1y(e?6.R:6,b,E.1c(6,c[b],e,a,b))})},18:G(b,a){I 6.1y(b,a,"3O")},2t:G(e){9(1n e!="5w"&&e!=S)I 6.4o().3e(U.6F(e));H t="";E.O(e||6,G(){E.O(6.2X,G(){9(6.1z!=8)t+=6.1z!=1?6.6x:E.1b.2t([6])})});I t},5l:G(b){9(6[0])E(b,6[0].3N).6t().38(6[0]).1W(G(){H a=6;1Y(a.1t)a=a.1t;I a}).3e(6);I 6},8p:G(a){I 6.O(G(){E(6).6p().5l(a)})},8h:G(a){I 6.O(G(){E(6).5l(a)})},3e:G(){I 6.3s(1k,Q,1,G(a){6.57(a)})},6k:G(){I 6.3s(1k,Q,-1,G(a){6.38(a,6.1t)})},6g:G(){I 6.3s(1k,P,1,G(a){6.14.38(a,6)})},53:G(){I 6.3s(1k,P,-1,G(a){6.14.38(a,6.2i)})},1B:G(){I 6.4Y||E([])},1X:G(t){H b=E.1W(6,G(a){I E.1X(t,a)});I 6.2v(/[^+>] [^+>]/.12(t)||t.1e("..")>-1?E.4V(b):b)},6t:G(e){H f=6.1W(G(){I 6.66?E(6.66)[0]:6.4S(Q)});9(e===Q){H d=f.1X("*").4Q();6.1X("*").4Q().O(G(i){H c=E.K(6,"2A");M(H a 1j c)M(H b 1j c[a])E.1h.1f(d[i],a,c[a][b],c[a][b].K)})}I f},1A:G(t){I 6.2v(E.1p(t)&&E.2T(6,G(b,a){I t.15(b,[a])})||E.3G(t,6))},5T:G(t){I 6.2v(t.1d==3T&&E.3G(t,6,Q)||E.2T(6,G(a){I(t.1d==1C||t.4d)?E.2S(a,t)<0:a!=t}))},1f:G(t){I 6.2v(E.1S(6.28(),t.1d==3T?E(t).28():t.L!=11&&(!t.Y||t.Y=="7t")?t:[t]))},3j:G(a){I a?E.3G(a,6).L>0:P},7g:G(a){I 6.3j("."+a)},2V:G(b){9(b==11){9(6.L){H c=6[0];9(E.Y(c,"24")){H e=c.4z,a=[],W=c.W,2P=c.N=="24-2P";9(e<0)I S;M(H i=2P?e:0,2Y=2P?e+1:W.L;i<2Y;i++){H d=W[i];9(d.29){H b=E.V.1g&&!d.70["1N"].9U?d.2t:d.1N;9(2P)I b;a.1a(b)}}I a}J I 6[0].1N.1o(/\\r/g,"")}}J I 6.O(G(){9(b.1d==1C&&/4s|5u/.12(6.N))6.2K=(E.2S(6.1N,b)>=0||E.2S(6.2J,b)>=0);J 9(E.Y(6,"24")){H a=b.1d==1C?b:[b];E("9m",6).O(G(){6.29=(E.2S(6.1N,a)>=0||E.2S(6.2t,a)>=0)});9(!a.L)6.4z=-1}J 6.1N=b})},4n:G(a){I a==11?(6.L?6[0].3D:S):6.4o().3e(a)},6H:G(a){I 6.53(a).2e()},2s:G(){I 6.2v(1C.3x.2s.15(6,1k))},1W:G(b){I 6.2v(E.1W(6,G(a,i){I b.3c(a,i,a)}))},4Q:G(){I 6.1f(6.4Y)},3s:G(f,d,g,e){H c=6.L>1,a;I 6.O(G(){9(!a){a=E.4I(f,6.3N);9(g<0)a.91()}H b=6;9(d&&E.Y(6,"1F")&&E.Y(a[0],"4k"))b=6.4q("1J")[0]||6.57(U.5r("1J"));E.O(a,G(){9(E.Y(6,"1P")){9(6.3g)E.3w({1u:6.3g,3h:P,1Z:"1P"});J E.5h(6.2t||6.6s||6.3D||"")}J e.15(b,[c?6.4S(Q):6])})})}};E.1i=E.1b.1i=G(){H c=1k[0]||{},a=1,2g=1k.L,5e=P;9(c.1d==8v){5e=c;c=1k[1]||{}}9(2g==1){c=6;a=0}H b;M(;a<2g;a++)9((b=1k[a])!=S)M(H i 1j b){9(c==b[i])6r;9(5e&&1n b[i]==\'5w\'&&c[i])E.1i(c[i],b[i]);J 9(b[i]!=11)c[i]=b[i]}I c};H F="16"+(1q 3v()).3u(),6q=0,5d={};E.1i({8k:G(a){17.$=D;9(a)17.16=w;I E},1p:G(a){I!!a&&1n a!="1M"&&!a.Y&&a.1d!=1C&&/G/i.12(a+"")},4a:G(a){I a.35&&!a.1K||a.34&&a.3N&&!a.3N.1K},5h:G(a){a=E.33(a);9(a){9(17.6o)17.6o(a);J 9(E.V.1H)17.58(a,0);J 3p.3c(17,a)}},Y:G(b,a){I b.Y&&b.Y.26()==a.26()},1I:{},K:G(c,d,b){c=c==17?5d:c;H a=c[F];9(!a)a=c[F]=++6q;9(d&&!E.1I[a])E.1I[a]={};9(b!=11)E.1I[a][d]=b;I d?E.1I[a][d]:a},30:G(c,b){c=c==17?5d:c;H a=c[F];9(b){9(E.1I[a]){2G E.1I[a][b];b="";M(b 1j E.1I[a])22;9(!b)E.30(c)}}J{2c{2G c[F]}27(e){9(c.54)c.54(F)}2G E.1I[a]}},O:G(a,b,c){9(c){9(a.L==11)M(H i 1j a)b.15(a[i],c);J M(H i=0,45=a.L;i<45;i++)9(b.15(a[i],c)===P)22}J{9(a.L==11)M(H i 1j a)b.3c(a[i],i,a[i]);J M(H i=0,45=a.L,2V=a[0];i<45&&b.3c(2V,i,2V)!==P;2V=a[++i]){}}I a},1c:G(c,b,d,e,a){9(E.1p(b))b=b.3c(c,[e]);H f=/z-?4J|7T-?7S|1v|69|7
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
jQuery.cookie = function(name, value, options) {
|
||
|
if (typeof value != 'undefined') { // name and value given, set cookie
|
||
|
options = options || {};
|
||
|
if (value === null) {
|
||
|
value = '';
|
||
|
options.expires = -1;
|
||
|
}
|
||
|
var expires = '';
|
||
|
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
||
|
var date;
|
||
|
if (typeof options.expires == 'number') {
|
||
|
date = new Date();
|
||
|
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
|
||
|
} else {
|
||
|
date = options.expires;
|
||
|
}
|
||
|
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
|
||
|
}
|
||
|
var path = options.path ? '; path=' + options.path : '';
|
||
|
var domain = options.domain ? '; domain=' + options.domain : '';
|
||
|
var secure = options.secure ? '; secure' : '';
|
||
|
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
|
||
|
} else { // only name given, get cookie
|
||
|
var cookieValue = null;
|
||
|
if (document.cookie && document.cookie != '') {
|
||
|
var cookies = document.cookie.split(';');
|
||
|
for (var i = 0; i < cookies.length; i++) {
|
||
|
var cookie = jQuery.trim(cookies[i]);
|
||
|
// Does this cookie string begin with the name we want?
|
||
|
if (cookie.substring(0, name.length + 1) == (name + '=')) {
|
||
|
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return cookieValue;
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
(function($) {
|
||
|
|
||
|
$.extend($.fn, {
|
||
|
swapClass: function(c1, c2) {
|
||
|
var c1Elements = this.filter('.' + c1);
|
||
|
this.filter('.' + c2).removeClass(c2).addClass(c1);
|
||
|
c1Elements.removeClass(c1).addClass(c2);
|
||
|
return this;
|
||
|
},
|
||
|
replaceClass: function(c1, c2) {
|
||
|
return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
|
||
|
},
|
||
|
hoverClass: function(className) {
|
||
|
className = className || "hover";
|
||
|
return this.hover(function() {
|
||
|
$(this).addClass(className);
|
||
|
}, function() {
|
||
|
$(this).removeClass(className);
|
||
|
});
|
||
|
},
|
||
|
heightToggle: function(animated, callback) {
|
||
|
animated ?
|
||
|
this.animate({ height: "toggle" }, animated, callback) :
|
||
|
this.each(function(){
|
||
|
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
|
||
|
if(callback)
|
||
|
callback.apply(this, arguments);
|
||
|
});
|
||
|
},
|
||
|
heightHide: function(animated, callback) {
|
||
|
if (animated) {
|
||
|
this.animate({ height: "hide" }, animated, callback);
|
||
|
} else {
|
||
|
this.hide();
|
||
|
if (callback)
|
||
|
this.each(callback);
|
||
|
}
|
||
|
},
|
||
|
prepareBranches: function(settings) {
|
||
|
if (!settings.prerendered) {
|
||
|
// mark last tree items
|
||
|
this.filter(":last-child:not(ul)").addClass(CLASSES.last);
|
||
|
// collapse whole tree, or only those marked as closed, anyway except those marked as open
|
||
|
this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
|
||
|
}
|
||
|
// return all items with sublists
|
||
|
return this.filter(":has(>ul)");
|
||
|
},
|
||
|
applyClasses: function(settings, toggler) {
|
||
|
this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event) {
|
||
|
toggler.apply($(this).next());
|
||
|
}).add( $("a", this) ).hoverClass();
|
||
|
|
||
|
if (!settings.prerendered) {
|
||
|
// handle closed ones first
|
||
|
this.filter(":has(>ul:hidden)")
|
||
|
.addClass(CLASSES.expandable)
|
||
|
.replaceClass(CLASSES.last, CLASSES.lastExpandable);
|
||
|
|
||
|
// handle open ones
|
||
|
this.not(":has(>ul:hidden)")
|
||
|
.addClass(CLASSES.collapsable)
|
||
|
.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
|
||
|
|
||
|
// create hitarea
|
||
|
this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea).each(function() {
|
||
|
var classes = "";
|
||
|
$.each($(this).parent().attr("class").split(" "), function() {
|
||
|
classes += this + "-hitarea ";
|
||
|
});
|
||
|
$(this).addClass( classes );
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// apply event to hitarea
|
||
|
this.find("div." + CLASSES.hitarea).click( toggler );
|
||
|
},
|
||
|
treeview: function(settings) {
|
||
|
|
||
|
settings = $.extend({
|
||
|
cookieId: "treeview"
|
||
|
}, settings);
|
||
|
|
||
|
if (settings.add) {
|
||
|
return this.trigger("add", [settings.add]);
|
||
|
}
|
||
|
|
||
|
if ( settings.toggle ) {
|
||
|
var callback = settings.toggle;
|
||
|
settings.toggle = function() {
|
||
|
return callback.apply($(this).parent()[0], arguments);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
// factory for treecontroller
|
||
|
function treeController(tree, control) {
|
||
|
// factory for click handlers
|
||
|
function handler(filter) {
|
||
|
return function() {
|
||
|
// reuse toggle event handler, applying the elements to toggle
|
||
|
// start searching for all hitareas
|
||
|
toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
|
||
|
// for plain toggle, no filter is provided, otherwise we need to check the parent element
|
||
|
return filter ? $(this).parent("." + filter).length : true;
|
||
|
}) );
|
||
|
return false;
|
||
|
};
|
||
|
}
|
||
|
// click on first element to collapse tree
|
||
|
$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
|
||
|
// click on second to expand tree
|
||
|
$("a:eq(1)", control).click( handler(CLASSES.expandable) );
|
||
|
// click on third to toggle tree
|
||
|
$("a:eq(2)", control).click( handler() );
|
||
|
}
|
||
|
|
||
|
// handle toggle event
|
||
|
function toggler() {
|
||
|
$(this)
|
||
|
.parent()
|
||
|
// swap classes for hitarea
|
||
|
.find(">.hitarea")
|
||
|
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
|
||
|
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
|
||
|
.end()
|
||
|
// swap classes for parent li
|
||
|
.swapClass( CLASSES.collapsable, CLASSES.expandable )
|
||
|
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
|
||
|
// find child lists
|
||
|
.find( ">ul" )
|
||
|
// toggle them
|
||
|
.heightToggle( settings.animated, settings.toggle );
|
||
|
if ( settings.unique ) {
|
||
|
$(this).parent()
|
||
|
.siblings()
|
||
|
// swap classes for hitarea
|
||
|
.find(">.hitarea")
|
||
|
.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
|
||
|
.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
|
||
|
.end()
|
||
|
.replaceClass( CLASSES.collapsable, CLASSES.expandable )
|
||
|
.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
|
||
|
.find( ">ul" )
|
||
|
.heightHide( settings.animated, settings.toggle );
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function serialize() {
|
||
|
function binary(arg) {
|
||
|
return arg ? 1 : 0;
|
||
|
}
|
||
|
var data = [];
|
||
|
branches.each(function(i, e) {
|
||
|
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
|
||
|
});
|
||
|
$.cookie(settings.cookieId, data.join("") );
|
||
|
}
|
||
|
|
||
|
function deserialize() {
|
||
|
var stored = $.cookie(settings.cookieId);
|
||
|
if ( stored ) {
|
||
|
var data = stored.split("");
|
||
|
branches.each(function(i, e) {
|
||
|
$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// add treeview class to activate styles
|
||
|
this.addClass("treeview");
|
||
|
|
||
|
// prepare branches and find all tree items with child lists
|
||
|
var branches = this.find("li").prepareBranches(settings);
|
||
|
|
||
|
switch(settings.persist) {
|
||
|
case "cookie":
|
||
|
var toggleCallback = settings.toggle;
|
||
|
settings.toggle = function() {
|
||
|
serialize();
|
||
|
if (toggleCallback) {
|
||
|
toggleCallback.apply(this, arguments);
|
||
|
}
|
||
|
};
|
||
|
deserialize();
|
||
|
break;
|
||
|
case "location":
|
||
|
var current = this.find("a").filter(function() { return this.href.toLowerCase() == location.href.toLowerCase(); });
|
||
|
if ( current.length ) {
|
||
|
current.addClass("selected").parents("ul, li").add( current.next() ).show();
|
||
|
}
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
branches.applyClasses(settings, toggler);
|
||
|
|
||
|
// if control option is set, create the treecontroller and show it
|
||
|
if ( settings.control ) {
|
||
|
treeController(this, settings.control);
|
||
|
$(settings.control).show();
|
||
|
}
|
||
|
|
||
|
return this.bind("add", function(event, branches) {
|
||
|
$(branches).prev()
|
||
|
.removeClass(CLASSES.last)
|
||
|
.removeClass(CLASSES.lastCollapsable)
|
||
|
.removeClass(CLASSES.lastExpandable)
|
||
|
.find(">.hitarea")
|
||
|
.removeClass(CLASSES.lastCollapsableHitarea)
|
||
|
.removeClass(CLASSES.lastExpandableHitarea);
|
||
|
$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings, toggler);
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
var CLASSES = $.fn.treeview.classes = {
|
||
|
open: "open",
|
||
|
closed: "closed",
|
||
|
expandable: "expandable",
|
||
|
expandableHitarea: "expandable-hitarea",
|
||
|
lastExpandableHitarea: "lastExpandable-hitarea",
|
||
|
collapsable: "collapsable",
|
||
|
collapsableHitarea: "collapsable-hitarea",
|
||
|
lastCollapsableHitarea: "lastCollapsable-hitarea",
|
||
|
lastCollapsable: "lastCollapsable",
|
||
|
lastExpandable: "lastExpandable",
|
||
|
last: "last",
|
||
|
hitarea: "hitarea"
|
||
|
};
|
||
|
|
||
|
$.fn.Treeview = $.fn.treeview;
|
||
|
|
||
|
})(jQuery);
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){
|
||
|
$("#tree").treeview({
|
||
|
control: "#treecontrol",
|
||
|
animated: "fast",
|
||
|
collapsed: true,
|
||
|
toggle: function() {
|
||
|
window.console && console.log("%o was toggled", this);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
$("#content").css("padding-top", $("#header").height());
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="container">
|
||
|
<div id="header">
|
||
|
<div class="time" xmlns="">1.58 s</div>
|
||
|
<h1>MainActivityTest: <strong><span class="total" xmlns="http://www.w3.org/1999/xhtml">2 total, </span><span class="passed">2 passed</span></strong>
|
||
|
</h1>
|
||
|
<div id="treecontrol">
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a title="Collapse the entire tree below" href="#">Collapse</a>
|
||
|
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a title="Expand the entire tree below" href="#">Expand</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="content">
|
||
|
<ul id="tree">
|
||
|
<li xmlns="" class="level top open">
|
||
|
<span><em class="time">
|
||
|
<div class="time">1.58 s</div>
|
||
|
</em>pl.edu.amu.wmi.socialaggregator.MainActivityTest</span>
|
||
|
<ul>
|
||
|
<li class="level test">
|
||
|
<span><em class="time">
|
||
|
<div class="time">829 ms</div>
|
||
|
</em><em class="status">passed</em>clickAddNewSocial_shouldOpenAddNewSocialActivity</span>
|
||
|
</li>
|
||
|
<li class="level test">
|
||
|
<span><em class="time">
|
||
|
<div class="time">754 ms</div>
|
||
|
</em><em class="status">passed</em>clickAddNewSocial_shouldOpenAddNewNewPostActivity</span>
|
||
|
<ul>
|
||
|
<li class="text">
|
||
|
<span class="stdout">Connected to process 13465 on device 'Nexus_5X_API_29_x86 [emulator-5554]'.<br/>Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/>I/chatty: uid=10133(pl.edu.amu.wmi.socialaggregator) identical 3 lines<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">W/ocialaggregato: Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/>I/ViewInteraction: Checking 'androidx.test.espresso.intent.Intents$2@2be333a' assertion on view is a root view.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">W/ocialaggregato: Accessing hidden field Landroid/app/Activity;->mResultCode:I (greylist, reflection, allowed)<br/> Accessing hidden field Landroid/app/Activity;->mResultData:Landroid/content/Intent; (greylist, reflection, allowed)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/TestRunner: finished: clickAddNewSocial_shouldOpenAddNewSocialActivity(pl.edu.amu.wmi.socialaggregator.MainActivityTest)<br/>I/MonitoringInstr: Activities that are still in CREATED to STOPPED: 2<br/> Finishing activity: pl.edu.amu.wmi.socialaggregator.activity.AddSocialActivity@ba61ee9<br/>I/MonitoringInstr: Unstopped activity count: 2<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.AddSocialActivity@ba61ee9 in: PAUSED<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/MonitoringInstr: Unstopped activity count: 2<br/>I/MonitoringInstr: Unstopped activity count: 2<br/>I/MonitoringInstr: Unstopped activity count: 2<br/>I/chatty: uid=10133(pl.edu.amu.wmi.socialaggregator) roidJUnitRunner identical 6 lines<br/>I/MonitoringInstr: Unstopped activity count: 2<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.AddSocialActivity@ba61ee9 in: STOPPED<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.AddSocialActivity@ba61ee9 in: DESTROYED<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@51fb022 in: STOPPED<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@51fb022 in: DESTROYED<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/TestRunner: started: clickAddNewSocial_shouldOpenAddNewNewPostActivity(pl.edu.amu.wmi.socialaggregator.MainActivityTest)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">W/ActivityTestRule: getActivityIntent() returned null using default: Intent(Intent.ACTION_MAIN)<br/>W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@eb54878<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@10084b7 in: PRE_ON_CREATE<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@10084b7 in: CREATED<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@10084b7 in: STARTED<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@10084b7 in: RESUMED<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/> All idling resources are idle.<br/>I/ViewInteraction: Performing 'single click' action on view with id: pl.edu.amu.wmi.socialaggregator:id/createPostButton<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/> All idling resources are idle.<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/>I/chatty: uid=10133(pl.edu.amu.wmi.socialaggregator) identical 2 lines<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.MainActivity@10084b7 in: PAUSED<br/> running callback: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/> callback completes: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@c458c91<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.NewPostActivity@bf6dd82 in: PRE_ON_CREATE<br/> running callback: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/> callback completes: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.NewPostActivity@bf6dd82 in: CREATED<br/> running callback: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/> callback completes: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.NewPostActivity@bf6dd82 in: STARTED<br/> running callback: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/> callback completes: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/>D/LifecycleMonitor: Lifecycle status change: pl.edu.amu.wmi.socialaggregator.activity.NewPostActivity@bf6dd82 in: RESUMED<br/> running callback: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/> callback completes: androidx.test.rule.ActivityTestRule$LifecycleCallback@eba36b8<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/>D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/chatty: uid=10133(pl.edu.amu.wmi.socialaggregator) RenderThread identical 1 line<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/> All idling resources are idle.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">D/EGL_emulation: eglMakeCurrent: 0xdf31a1e0: ver 2 0 (tinfo 0xdf30f7c0)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/>I/chatty: uid=10133(pl.edu.amu.wmi.socialaggregator) identical 2 lines<br/>I/IdlingResourceRegistry: All idling resources are idle.<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">W/ocialaggregato: Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)<br/></span>
|
||
|
</li>
|
||
|
<li class="text">
|
||
|
<span class="stdout">I/IdlingResourceRegistry: All idling resources are idle.<br/> All idling resources are idle.<br/>I/ViewInteraction: Checking 'androidx.test.espresso.intent.Intents$2@f11aef9' assertion on view is a root view.<br/>I/TestRunner: finished: clickAddNewSocial_shouldOpenAddNewNewPostActivity(pl.edu.amu.wmi.socialaggregator.MainActivityTest)<br/>I/MonitoringInstr: Activities that are still in CREATED to STOPPED: 2<br/>I/MonitoringInstr: Finishing activity: pl.edu.amu.wmi.socialaggregator.activity.NewPostActivity@bf6dd82<br/>I/MonitoringInstr: Unstopped activity count: 2<br/></span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="footer">
|
||
|
<p>Generated by Android Studio on 12/12/19 7:10 PM</p>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|