mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-25 09:47:10 +01:00
Show unit test section if we have this available
Contains link to start unit test and DIV to contain result stats as they run
This commit is contained in:
@@ -98,6 +98,14 @@ $activeLineBG = array_search($ICEcoder["theme"],array("eclipse","elegant","neat"
|
||||
}
|
||||
},1000);
|
||||
</script>
|
||||
<?php if(is_dir('test')) {?>
|
||||
<div style="clear: both">
|
||||
<br><br>
|
||||
<h2 style="color: rgba(0,198,255,0.7)">test suite</h2>
|
||||
<span style="color:#888">Run unit tests:</span><br>
|
||||
<a href="javascript:top.ICEcoder.filesFrame.contentWindow.frames['testControl'].location.href = 'test'" style="color: #fff">Run unit tests</a><div id="unitTestResults"></div>
|
||||
</div>
|
||||
<?php ;};?>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user