@Test(expected = BadProcedureException.class) public void testNoDefaultConstructorValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedureNoDefaultConstructor(1)); }
@Test public void testValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedure(10)); }
throws IOException { Preconditions.checkArgument(proc != null); validateClass(proc);
@Test public void testValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedure(10)); }
@Test(expected = BadProcedureException.class) public void testNoDefaultConstructorValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedureNoDefaultConstructor(1)); }
@Test public void testValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedure(10)); }
@Test(expected = BadProcedureException.class) public void testNoDefaultConstructorValidation() throws Exception { ProcedureUtil.validateClass(new TestProcedureNoDefaultConstructor(1)); }
throws IOException { Preconditions.checkArgument(proc != null); validateClass(proc);
throws IOException { Preconditions.checkArgument(proc != null); validateClass(proc);