-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51d1ccb
commit 619d30b
Showing
2 changed files
with
39 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project> | ||
<meta title="MoonshineTestEditorCoreTests" package="net.prominic.moonshine.texteditor.tests" /> | ||
<app main="TestMain" /> | ||
<meta title="MoonshineTestEditorCoreTests" package="net.prominic.moonshine.texteditor.tests"/> | ||
<app main="TestMain"/> | ||
|
||
<source path="src" /> | ||
<source path="../src" /> | ||
<!-- no need to display anything for automated tests --> | ||
<window hidden="true"/> | ||
|
||
<source path="src"/> | ||
<source path="../src"/> | ||
|
||
<haxelib name="utest" /> | ||
<haxelib name="openfl" /> | ||
<haxelib name="actuate" /> | ||
<haxelib name="feathersui" /> | ||
<haxelib name="markdown-openfl-textfield" /> | ||
<haxelib name="moonshine-openfl-language-client" /> | ||
<haxelib name="utest"/> | ||
<haxelib name="openfl"/> | ||
<haxelib name="actuate"/> | ||
<haxelib name="feathersui"/> | ||
<haxelib name="markdown-openfl-textfield"/> | ||
<haxelib name="moonshine-openfl-language-client"/> | ||
|
||
<!-- | ||
a custom HTML template is required when using utest with OpenFL | ||
--> | ||
<!-- a custom HTML template is recommended for utest --> | ||
<!-- it is strictly required for OpenFL 9.3 and older --> | ||
<template path="templates" if="html5"/> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>::APP_TITLE::</title> | ||
<script type="text/javascript" src="./::APP_FILE::.js"></script> | ||
</head> | ||
<body> | ||
<noscript>Please enable JavaScript in your web browser to run tests.</noscript> | ||
<script type="text/javascript"> | ||
lime.$scripts["::APP_FILE::"](); | ||
</script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>::APP_TITLE::</title> | ||
<script type="text/javascript" src="./::APP_FILE::.js"></script> | ||
<style> | ||
html,body{margin:0;padding:0;height:100%;} | ||
::if (SET_OPENFL >= "9.4.0"):: | ||
#openfl-content{position:absolute;top:-100%;::if (WIN_BACKGROUND)::background:#000000;::end::width:::if (WIN_RESIZABLE)::100%::elseif (WIN_WIDTH > 0)::::WIN_WIDTH::px::else::100%::end::;height:::if (WIN_RESIZABLE)::100%::elseif (WIN_WIDTH > 0)::::WIN_HEIGHT::px::else::100%::end::;} | ||
::end:: | ||
</style> | ||
</head> | ||
<body> | ||
<noscript>Please enable JavaScript in your web browser to run tests.</noscript> | ||
::if (SET_OPENFL >= "9.4.0"):: | ||
<div id="openfl-content"></div> | ||
<script type="text/javascript"> | ||
lime.embed ("::APP_FILE::", "openfl-content", ::WIN_WIDTH::, ::WIN_HEIGHT::, { parameters: {} }); | ||
</script> | ||
::else:: | ||
<script type="text/javascript"> | ||
lime.$scripts["::APP_FILE::"](); | ||
</script> | ||
::end:: | ||
</body> | ||
</html> |