This file contains hidden or 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
ObjectB objectB = new ObjectB("Fake propB"); | |
ObjectA objectA = new ObjectA("Fake propA", objectB); | |
System.out.println(Objects.toString(objectA)); |
This file contains hidden or 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
@Test | |
public void safeToStringTest() { | |
ObjectB objectB = new ObjectB("Fake propB"); | |
ObjectA objectA = new ObjectA("Fake propA", objectB); | |
String stringObjectA = Objects.toString(objectA); | |
System.out.println(stringObjectA); | |
assertNull(objectA.getObjectB2()); | |
assertTrue(stringObjectA.contains("objectB2=null")); |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>tracking.js - first tracking</title> | |
<script src="tracking-min.js"></script> | |
<script | |
src="https://code.jquery.com/jquery-3.3.1.min.js" | |
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | |
crossorigin="anonymous"></script> |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>tracking.js - first tracking</title> | |
<script src="tracking-min.js"></script> | |
<script | |
src="https://code.jquery.com/jquery-3.3.1.min.js" | |
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | |
crossorigin="anonymous"></script> |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>tracking.js - first tracking</title> | |
<script src="tracking-min.js"></script> | |
<!-- include dataset for each objet type --> | |
<script src="data/face.js"></script> | |
<script src="data/eye.js"></script> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Importing Web Component's Polyfill --> | |
<script src="bower/platform/platform.js"></script> | |
<!-- Importing Custom Elements --> | |
<link rel="import" href="../src/image-object-tracking.html"> | |
</head> | |
<body> | |
<!-- Using Custom Elements --> |
OlderNewer