1 19 20 package org.openide.loaders; 21 22 import org.netbeans.junit.NbTestCase; 23 24 29 public class InstanceDataObjecIssue71433Test extends NbTestCase { 30 31 public InstanceDataObjecIssue71433Test(String name) { 32 super (name); 33 } 34 35 39 public void testEscapeAndCut () throws Exception { 40 String testName = "com.pantometrics.editor.form.display.PantoEditTopComponent"; 43 String resultName1 = InstanceDataObject.escapeAndCut(testName); 44 String resultName2 = InstanceDataObject.unescape(resultName1); 45 resultName2 = InstanceDataObject.escapeAndCut(resultName2); 46 47 assertEquals ("Must be the same", resultName1, resultName2); 48 } 49 50 } 51 | Popular Tags |