Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Quick fix stopped working when assert() is in the file

If you bring up the included java file in your java editor (running
2.1.1 build 200306271545) and uncomment the assert line, this quick fix
for the non-existent member function stops working.

Any ideas? My first question here, if this is the wrong place/procedure
let me know. I'm an eclipse user, not dev'r

Thanks

/*
 * Created on Aug 1, 2003
 * 
 * By Bill Ataras (bill at ataras dot com)
 * 
 */
package com.aow.cache;

import junit.framework.TestCase;

/**
 * @author Dad
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class CacheTest extends TestCase {
	Object obj;
	/**
	 * Constructor for CacheTest.
	 * @param arg0
	 */
	public CacheTest(String arg0) {
		super(arg0);
	}
	
	public void testStart(){
//		assert(obj==null);
	}
	
	public void testGetuser(){
		bug();
	}

	/*
	 * @see TestCase#setUp()
	 */
	protected void setUp() throws Exception {
	}
}




Back to the top