THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- fix the build!
- add test/gen-html for ThriftTest.thrift
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333628 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/Makefile.am b/test/Makefile.am
old mode 100644
new mode 100755
index 2b3b8a9..1ad9063
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -44,6 +44,12 @@
SUBDIRS += hs
endif
+#
+# generate html for ThriftTest.thrift
+#
+check-local:
+ $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
+
EXTRA_DIST = \
cpp \
csharp \
diff --git a/test/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp
index f461a87..a1af77e 100755
--- a/test/cpp/src/TestClient.cpp
+++ b/test/cpp/src/TestClient.cpp
@@ -530,8 +530,8 @@
}
try {
- printf("testClient.testException(\"Xception\") =>");
- testClient.testException("Xception");
+ printf("testClient.testException(\"TException\") =>");
+ testClient.testException("TException");
printf(" void\nFAILURE\n");
} catch(TException& e) {