This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by <a href="http://scalaxb.org/">scalaxb</a>. | |
package com.drdnc.service.salesforce.generated | |
case class SObject(typeValue: String, | |
fieldsToNull: Seq[Option[String]] = Nil, | |
Id: Option[String] = None, | |
any: Seq[scalaxb.DataRecord[Any]] = Nil) | |
case class QueryResult(done: Boolean, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Generates Scala bindings for XSD/WSDL schemas --> | |
<plugin> | |
<groupId>org.scalaxb</groupId> | |
<artifactId>scalaxb-maven-plugin</artifactId> | |
<version>0.6.6</version> | |
<configuration> | |
<packageNames> | |
<packageName> | |
<uri>https://telemarketing.donotcall.gov/DownloadSvc/</uri> | |
<package>com.drdnc.service.donotcall.generated</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Compiling 102 source files to C:\projects\drdnc\target\classes at 1323542479036 | |
[ERROR] C:\projects\drdnc\target\generated-sources\scalaxb\generated\xmlprotocol.scala:481: error: type SoapClients is not a member of package scalaxb | |
[INFO] trait DownloadSvcSoap12Bindings { this: scalaxb.SoapClients => | |
[INFO] ^ | |
[ERROR] C:\projects\drdnc\target\generated-sources\scalaxb\generated\xmlprotocol.scala:488: error: not found: value soapClient | |
[INFO] soapClient.requestResponse(scalaxb.toXML(Login(strCoID, strCoPwd, userType, enumCertify), Some("https://telemarketing.donotcall.gov/DownloadSvc/" | |
), "Login", defaultScope), | |
[INFO] ^ | |
[ERROR] C:\projects\drdnc\target\generated-sources\scalaxb\generated\xmlprotocol.scala:490: error: type mismatch; | |
[INFO] found : Any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mvn clean test | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Dr. Dnc 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ drdnc --- | |
[INFO] Deleting C:\projects\drdnc\target | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Dr. Dnc 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ drdnc --- | |
[INFO] Deleting C:\projects\drdnc\target | |
[INFO] | |
[INFO] --- scalaxb-maven-plugin:0.6.6:generate (scalaxb) @ drdnc --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.googlecode.concurrentlinkedhashmap.benchmark; | |
import com.google.caliper.Runner; | |
import com.google.caliper.SimpleBenchmark; | |
import org.testng.annotations.Parameters; | |
import org.testng.annotations.Test; | |
import java.util.Queue; | |
import java.util.concurrent.ConcurrentLinkedQueue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'eu.appsatori:gradle-fatjar-plugin:0.2-rc1' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply from: "${rootDir}/coverage.gradle" | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.ajoberstar:gradle-jacoco:0.1.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply from: "${rootDir}/gradle/java.gradle" | |
dependencies { | |
compile libraries.guava | |
compile libraries.guice | |
compile libraries.jooq | |
} | |
buildscript { | |
repositories { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A test for the connection life-cycle management within jOOQ managed operations. | |
* | |
* @author Ben Manes ([email protected]) | |
*/ | |
@Guice(modules = {JooqTestModule.class, TestModule.class}) | |
public class ConnectionLifecycleTest { | |
final AtomicInteger counter = new AtomicInteger(); | |
@Inject CountingExecuteListener countingExecuteListener; |
OlderNewer