/hg/rhino-tests: Added new test testToString into AbstractScript...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Thu Jan 2 03:02:05 PST 2014
changeset 1cf2215e04c1 in /hg/rhino-tests
details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=1cf2215e04c1
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Thu Jan 02 12:06:14 2014 +0100
Added new test testToString into AbstractScriptEngineClassTest.
diffstat:
ChangeLog | 5 +++++
src/org/RhinoTests/AbstractScriptEngineClassTest.java | 9 +++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diffs (31 lines):
diff -r 19f1168ca1c0 -r 1cf2215e04c1 ChangeLog
--- a/ChangeLog Fri Dec 20 11:03:41 2013 +0100
+++ b/ChangeLog Thu Jan 02 12:06:14 2014 +0100
@@ -1,3 +1,8 @@
+2014-01-02 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/RhinoTests/AbstractScriptEngineClassTest.java:
+ Added new test testToString into AbstractScriptEngineClassTest.
+
2013-12-20 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/RhinoTests/JavaScriptsTest.java:
diff -r 19f1168ca1c0 -r 1cf2215e04c1 src/org/RhinoTests/AbstractScriptEngineClassTest.java
--- a/src/org/RhinoTests/AbstractScriptEngineClassTest.java Fri Dec 20 11:03:41 2013 +0100
+++ b/src/org/RhinoTests/AbstractScriptEngineClassTest.java Thu Jan 02 12:06:14 2014 +0100
@@ -1859,6 +1859,15 @@
}
/**
+ * Test for method javax.script.AbstractScriptEngine.getClass().toString()
+ */
+ protected void testToString() {
+ String asString;
+ asString = this.abstractScriptEngineClass.toString();
+ assertEquals("class javax.script.AbstractScriptEngine", asString, "wrong toString() return value");
+ }
+
+ /**
* Test for instanceof operator applied to a class javax.script.AbstractScriptEngine
*/
@SuppressWarnings("cast")
More information about the distro-pkg-dev
mailing list