Syncs the Velocity Template and JUnit gen with goog.module() changes.
Also fixed the misleading clazzUnderTest name.
This .vm file is to be implemented.
*###
#set ($moduleName = $compilationUnit.Name)
+#set ($rootTypeName = $compilationUnit.Name)
#set ($filePath = $compilationUnit.FilePath)
#set ($packageName = $compilationUnit.PackageName)
-/**
- * Transpiled from $filePath
- */
-goog.module('${packageName}.${moduleName}');
+goog.module('gen.${packageName}.${moduleName}Module');
-class $moduleName {
+/**
+ * Transpiled from $filePath.
+ */
+class $rootTypeName {
testHelloWorld() {}
};
-exports = $moduleName;
+
+/**
+ * Exported class.
+ */
+exports.$rootTypeName = $rootTypeName;
