mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-03 23:12:42 +00:00
26 lines
731 B
HTML
26 lines
731 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>QUnit Javascript Binding API Object Name</title>
|
|
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.10.0.css">
|
|
<script>
|
|
if (!window.bindingApiObject)
|
|
{
|
|
window.bindingApiObject = window.cefSharp;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="https://code.jquery.com/qunit/qunit-2.10.0.js"></script>
|
|
<script>
|
|
QUnit.test("Test if can execute a method on our object", function (assert)
|
|
{
|
|
assert.notOk(bindingApiObject.isObjectCached("fakeExample"), "We expect false");
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|