aboutsummaryrefslogtreecommitdiffstats
path: root/test/.jshintrc
Commit message (Expand)AuthorAgeFilesLines
* Build: Switch from jscs+jshint to eslintOleg Gaidarenko2016-06-111-56/+0
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-13/+0
* Build: Acknowledge Android 2.3 is not ES5-compatibleMichał Gołębiowski2015-07-201-0/+3
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-131-0/+1
* Build: Update grunt-contrib-jshintMichał Gołębiowski2015-06-131-0/+1
* Build: remove deprecated JSHint optionsStephen Edgar2015-03-081-3/+0
* Build: Upgrade QUnit to 1.14.0Michał Gołębiowski2014-02-051-1/+1
* Effects: Integrate sinon fake timers into tests. Close gh-1377.John Paul2013-11-241-0/+1
* No ticket: Fix subproject iframe testsRichard Gibson2013-10-111-0/+1
* Convert testrunner to an AMD module and ensure jQuery is on the page when exe...Timmy Willison2013-09-061-0/+1
* No ticket: Hide the testing-support jQuery from testsRichard Gibson2013-09-031-0/+2
* Pass all tests (and load Sizzle fixture correctly) when loading with AMDTimmy Willison2013-08-291-0/+1
* Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Cl...Michał Gołębiowski2013-07-111-23/+24
* Update jshintrc to conform to new style guide. Conform to onevar and unused i...Timmy Willison2013-04-091-3/+8
* Changed .jshintrc predef lists to globals objects.Steven Benner2013-03-251-37/+37
* Make compatible with jshint, lint test/data. Close gh-1043.Timo Tijhof2012-12-061-59/+53
* Revert "Organizes the php scripts used for testing better, so that the whole ...jaubourg2012-12-051-5/+1
* Revert "Fixes spacing"jaubourg2012-12-051-4/+4
* Fixes spacingjaubourg2012-12-041-4/+4
* Organizes the php scripts used for testing better, so that the whole logic of...jaubourg2012-12-041-1/+5
* No ticket: improve global variable/ajax request trackingRichard Gibson2012-12-021-1/+0
* Total revamping of the ajax unit testsjaubourg2012-11-261-0/+2
* Remove trailing comma to fix test lint.Dave Methvin2012-11-011-1/+1
* No ticket: remove test suite external dependenciesRichard Gibson2012-11-011-1/+2
* Fix #12048. Set attributes for XML fragments. Close gh-965.Sai Wong2012-10-201-0/+1
* Clean up jshintrc configs. Close gh-983.Mike Sherov2012-10-161-8/+8
* enforce double quotes via JSHint. Closes gh-975Mike Sherov2012-10-161-1/+2
* Make unit tests friendly to Closure Compiler. Closes gh-845.Chad Killingsworth2012-07-051-1/+2
* Adds .jshintrc files for: grunt (default set), src, tests; Adapts jQuery-UI l...Rick Waldron2012-06-251-0/+56
font-weight: bold } /* Literal.Number.Integer.Long */
// with the exception handler, the advice isn't actually throwing the
// exception for the method - therefore, expect warnings when the methods
// don't throw the exception themselves.
public aspect ExceptionHandler {

	pointcut p() : handler(*);
	
	before() throws MyException : p() {
		throw new MyException();
	}
	
	
}

class C {
	
	public void method1() {
		try {
			new C().throwingMethod();
			new C().throwingMethod2();
		} catch (MyException e) {
			e.printStackTrace();
		}
	}
	
	// dont want 'declared exception not actually thrown'
	// warning for this method because it's throwing it
	public void throwingMethod() throws MyException {
		throw new MyException();
	}
	
	// do want 'declared exception not actually thrown'
	// warning because it doesn't throw it
	public void throwingMethod2() throws MyException {
	}
}

class MyException extends Exception {
}