diff -r e214f04abb98 -r 03e4aaa4ef3d htmlpage/src/test/java/org/apidesign/bck2brwsr/htmlpage/ProcessPageTest.java
--- a/htmlpage/src/test/java/org/apidesign/bck2brwsr/htmlpage/ProcessPageTest.java Mon Sep 24 12:39:21 2012 +0200
+++ b/htmlpage/src/test/java/org/apidesign/bck2brwsr/htmlpage/ProcessPageTest.java Mon Sep 24 15:06:43 2012 +0200
@@ -1,3 +1,20 @@
+/**
+ * Java 4 Browser Bytecode Translator
+ * Copyright (C) 2012-2012 Jaroslav Tulach
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. Look for COPYING file in the top folder.
+ * If not, see http://opensource.org/licenses/GPL-2.0.
+ */
package org.apidesign.bck2brwsr.htmlpage;
import java.io.IOException;
@@ -6,6 +23,8 @@
import org.testng.annotations.Test;
import static org.testng.Assert.*;
+import org.apidesign.bck2brwsr.htmlpage.api.*;
+
public class ProcessPageTest {
@@ -20,4 +39,8 @@
assertEquals(res.tagNameForId("pg.button"), "button");
assertEquals(res.tagNameForId("pg.text"), "input");
}
+
+ void testWhetherWeCanCallTheGeneratedIdFields() {
+ Title t = TestPage.PG_TITLE;
+ }
}