Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-09-02 14:24:38 -0400
committerEugene Tarassov2014-09-02 14:24:38 -0400
commite7cfd38e72d16936ae9b2c00083131fb34f857f0 (patch)
treef1cfed03fc5a7a738fcacb1fce4bd35255a77487
parent70c167de4b33e4dd9cbf437669699e425e3029cf (diff)
downloadorg.eclipse.tcf-e7cfd38e72d16936ae9b2c00083131fb34f857f0.tar.gz
org.eclipse.tcf-e7cfd38e72d16936ae9b2c00083131fb34f857f0.tar.xz
org.eclipse.tcf-e7cfd38e72d16936ae9b2c00083131fb34f857f0.zip
TCF Tests: more tests for DPrintf service
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index 9610b1993..b03f2cbd1 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
@@ -92,6 +92,7 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
"tcf_test_char",
"tcf_test_short",
"tcf_test_long",
+ "tcf_test_str",
"tcf_cpp_test_bool",
"tcf_cpp_test_int_ref",
"tcf_cpp_test_class_extension_var",
@@ -189,6 +190,8 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
"$printf(\"%g\",func2_local3.f_double)", "2.71",
"0 && $printf(\"fail\")", "",
"1 && $printf(\"OK\")", "OK",
+ "$printf(\"aa%%dd %s\",tcf_test_str)", "aa%dd abc",
+ "$printf(\"%s %s\",tcf_test_str,func2_local_str)", "abc bcd",
};
@SuppressWarnings("unused")

Back to the top