@Test public void testReturnsCompileError() throws ApiException { ExecuteAnonResult result = conn.executeAnonymous("System.Debug("); assertFalse(result.isSuccess()); assertFalse(result.isCompiled()); assertEquals("expecting a right parentheses, found '<EOF>'", result.getCompileProblem()); assertEquals("", result.getDebugLog()); }
@Override public synchronized ExecuteAnonResult executeAnonymous(String code) throws ApiException { return new ExecuteAnonymousOp().execute(code); }
ApexConnectionImpl extends AbstractSalesforceConnection implements ApexConnection { @Override public synchronized ExecuteAnonResult executeAnonymous(String code) throws ApiException { return new ExecuteAnonymousOp().execute(code); } }
ApexConnectionImpl extends AbstractSalesforceConnection implements ApexConnection { @Override public synchronized ExecuteAnonResult executeAnonymous(String code) throws ApiException { return new ExecuteAnonymousOp().execute(code); } ApexConnectionImpl(@Nonnull CallSemaphore semaphore, @Nonnull ConnectionBundleImpl bundle,
            MetricRegistry metricRegistry); }
ApexConnectionImpl extends AbstractSalesforceConnection implements ApexConnection { @Override public synchronized ExecuteAnonResult executeAnonymous(String code) throws ApiException { return new ExecuteAnonymousOp().execute(code); } ApexConnectionImpl(@Nonnull CallSemaphore semaphore, @Nonnull ConnectionBundleImpl bundle,
            MetricRegistry metricRegistry); @Override synchronized ExecuteAnonResult executeAnonymous(String code); }
ApexConnectionImpl extends AbstractSalesforceConnection implements ApexConnection { @Override public synchronized ExecuteAnonResult executeAnonymous(String code) throws ApiException { return new ExecuteAnonymousOp().execute(code); } ApexConnectionImpl(@Nonnull CallSemaphore semaphore, @Nonnull ConnectionBundleImpl bundle,
            MetricRegistry metricRegistry); @Override synchronized ExecuteAnonResult executeAnonymous(String code);  }